{
  "schema": "masidyn-primus-plugin/v1",
  "name": "masidyn-primus",
  "displayName": "Primus",
  "formalName": "MasiDyn.AI/Primus",
  "version": "1.2.0",
  "description": "Primus provides local execution and file tools for your connected workspace.",
  "homepage": "https://masidyn.ai/Primus",
  "icons": [
    {
      "src": "https://masidyn.dev/primus-icon.png",
      "mimeType": "image/png",
      "sizes": ["1376x768"]
    }
  ],
  "documentation": "https://masidyn.dev/primus-plugin/README.md",
  "mcpServers": {
    "primus": {
      "transport": "streamable-http",
      "url": "https://masidyn.dev/mcp/primus",
      "edgeUrl": "https://masidyn.ai/Primus/mcp",
      "configFile": ".mcp.json",
      "oauth2": {
        "protocol": "OAuth 2.1",
        "pkceMethod": "S256",
        "protectedResourceMetadata": "https://masidyn.dev/.well-known/oauth-protected-resource/mcp/primus",
        "authorizationServerMetadata": "https://account.masidyn.dev/.well-known/oauth-authorization-server",
        "dynamicClientRegistration": true,
        "resourceIndicators": "RFC 8707",
        "refreshTokenRotation": "RFC 9700",
        "tokenRevocation": "RFC 7009"
      }
    },
    "netwurkus": {
      "transport": "streamable-http",
      "url": "https://masidyn.dev/mcp/netwurkus",
      "edgeUrl": "https://masidyn.ai/Netwurkus/mcp",
      "oauth2": {
        "protocol": "OAuth 2.1",
        "pkceMethod": "S256",
        "protectedResourceMetadata": "https://masidyn.dev/.well-known/oauth-protected-resource/mcp/netwurkus",
        "authorizationServerMetadata": "https://account.masidyn.dev/.well-known/oauth-authorization-server",
        "dynamicClientRegistration": true,
        "resourceIndicators": "RFC 8707",
        "refreshTokenRotation": "RFC 9700",
        "tokenRevocation": "RFC 7009"
      }
    },
    "assemblus": {
      "transport": "streamable-http",
      "url": "https://masidyn.dev/mcp/assemblus",
      "edgeUrl": "https://masidyn.ai/assemblus/mcp",
      "oauth2": {
        "protocol": "OAuth 2.1",
        "pkceMethod": "S256",
        "protectedResourceMetadata": "https://masidyn.dev/.well-known/oauth-protected-resource/mcp/assemblus",
        "authorizationServerMetadata": "https://account.masidyn.dev/.well-known/oauth-authorization-server",
        "dynamicClientRegistration": true,
        "resourceIndicators": "RFC 8707",
        "refreshTokenRotation": "RFC 9700",
        "tokenRevocation": "RFC 7009"
      }
    }
  },
  "protocols": {
    "assemblus": {
      "owner": "assemblus",
      "protocolBusOwner": "netwurkus",
      "edgeHome": "https://masidyn.ai/assemblus",
      "mcp": "https://masidyn.dev/mcp/assemblus",
      "acp": "https://masidyn.dev/acp/assemblus",
      "lsp": "https://masidyn.dev/lsp/assemblus",
      "a2a": "https://masidyn.dev/a2a/assemblus",
      "edgeMcp": "https://masidyn.ai/assemblus/mcp",
      "edgeAcp": "https://masidyn.ai/assemblus/acp",
      "edgeLsp": "https://masidyn.ai/assemblus/lsp",
      "edgeA2a": "https://masidyn.ai/assemblus/a2a"
    },
    "netwurkus": {
      "owner": "netwurkus",
      "mcp": "https://masidyn.dev/mcp/netwurkus",
      "acp": "https://masidyn.dev/acp/netwurkus",
      "lsp": "https://masidyn.dev/lsp/netwurkus",
      "a2a": "https://masidyn.dev/a2a/netwurkus",
      "cloudMcp": "https://api.masidyn.dev/mcp"
    },
    "portal": {
      "mcp": "https://masidyn.dev/mcp/primus",
      "acp": "https://masidyn.dev/acp/primus",
      "lsp": "https://masidyn.dev/lsp/primus",
      "a2a": "https://masidyn.dev/a2a/primus",
      "agentCard": "https://masidyn.dev/.well-known/agent-card.json",
      "safetyPolicy": "https://masidyn.dev/.well-known/safety-policy.json"
    },
    "edge": {
      "mcp": "https://masidyn.ai/Primus/mcp",
      "acp": "https://masidyn.ai/Primus/acp",
      "lsp": "https://masidyn.ai/Primus/lsp",
      "a2a": "https://masidyn.ai/Primus/a2a",
      "agentCard": "https://masidyn.ai/.well-known/agent-card.json",
      "safetyPolicy": "https://masidyn.ai/.well-known/safety-policy.json"
    }
  },
  "skills": [
    {
      "name": "masidyn-primus",
      "path": "skills/masidyn-primus/SKILL.md",
      "description": "Connect any AI client to MasiDyn Primus, invoke built-in ACP/LSP/A2A tools or direct protocol endpoints, guide portable multi-OS agent setup, and enforce dual-key local execution safety."
    }
  ],
  "capabilities": {
    "remoteMcp": true,
    "acp": true,
    "lsp": true,
    "a2a": true,
    "mcpProtocolBridges": [
      "primus_acp",
      "primus_lsp",
      "primus_a2a"
    ],
    "netwurkusProtocolBus": {
      "owner": "netwurkus",
      "canonicalTools": [
        "netwurkus_acp",
        "netwurkus_lsp",
        "netwurkus_a2a"
      ],
      "compatAliases": [
        "primus_acp",
        "primus_lsp",
        "primus_a2a"
      ],
      "mountedOnMcpDoors": [
        "https://masidyn.dev/mcp/assemblus",
        "https://masidyn.dev/mcp/netwurkus",
        "https://masidyn.dev/mcp/primus",
        "https://api.masidyn.dev/mcp"
      ]
    },
    "assemblusSwarmStack": {
      "schema": "masidyn-assemblus-swarm-stack/v1",
      "compilerPhases": [
        "lex",
        "type",
        "bind",
        "emit"
      ],
      "tools": [
        "assemblus_whoami",
        "assemblus_topology",
        "assemblus_stack_inspect",
        "assemblus_stack_compile",
        "assemblus_stack_verify",
        "assemblus_stack_list",
        "assemblus_stack_delete",
        "assemblus_test_engine"
      ]
    },
    "fingerWorkflowTupleTrees": true,
    "fingerWorkflowsTool": "primus_finger_workflows",
    "taskBoard": true,
    "deviceRegistry": true,
    "consentedLocalExec": true,
    "browserCompanion": true,
    "crossPlatform": [
      "windows",
      "macos",
      "linux",
      "wsl",
      "chromebook-crostini"
    ]
  },
  "workflows": {
    "jsonUrl": "https://masidyn.dev/api/primus/workflows",
    "beamtoonUrl": "https://masidyn.dev/api/primus/workflows?format=beamtoon",
    "mcpTool": "primus_finger_workflows",
    "leafSchema": "[\"leaf\", finger, workflow, branchPath, state, action]"
  },
  "rememberus": {
    "name": "REMEMBERUS",
    "alias": "SecondBrain",
    "role": "Curated 3-ring cloud + local SQLite FTS5 seed for MasiDyn cloud-served models",
    "apiUrl": "https://masidyn.dev/api/rememberus",
    "seedUrl": "https://masidyn.dev/api/rememberus/seed",
    "exportUrl": "https://masidyn.dev/api/rememberus/export",
    "mcpTools": [
      "rememberus_learn",
      "rememberus_recall",
      "rememberus_seed_status",
      "rememberus_sync"
    ],
    "compatAliases": [
      "secondbrain_learn",
      "secondbrain_recall",
      "secondbrain_seed_status",
      "secondbrain_sync"
    ],
    "localSqliteCli": "masidyn-primus rememberus learn|recall|sync"
  },
  "adaptors": {
    "schema": "masidyn-seat-adaptors/v1",
    "buildOrder": [
      "cursor",
      "grok"
    ],
    "apiUrl": "https://masidyn.dev/api/primus/adaptors",
    "cursor": {
      "buildOrder": 1,
      "schema": "masidyn-cursor-adaptor/v1",
      "url": "https://masidyn.dev/api/primus/adaptors?adaptor=cursor",
      "contract": "Strict Cursor hooks.json v1 JSON; isolated from Claude Ossia hooks; native pwsh.exe / powershell.exe safe."
    },
    "grok": {
      "buildOrder": 2,
      "dependsOn": [
        "cursor"
      ],
      "schema": "masidyn-grok-adaptor/v1",
      "url": "https://masidyn.dev/api/primus/adaptors?adaptor=grok",
      "modes": [
        "cursor-hosted",
        "grok-cli"
      ]
    },
    "hookStormReporting": {
      "schema": "masidyn-hook-storm-report/v1",
      "intakeUrl": "https://masidyn.dev/api/primus/hook-reports",
      "localLedgerPath": "~/.masidyn/hook_storm_reports.jsonl",
      "localStatusPath": "~/.masidyn/cursor_hook_status.json"
    }
  },
  "security": {
    "oauthProtocol": "OAuth 2.1 PKCE S256",
    "execScopeDefaultOff": true,
    "dualKeyExecConsent": {
      "required": true,
      "oauthScope": "primus:exec",
      "localRuntimeFlag": "--allow-exec",
      "description": "Local command execution is refused unless the user explicitly grants primus:exec during login AND passes --allow-exec when starting the local agent."
    },
    "spendCapUsd": 0.0,
    "multiTenantIsolation": true,
    "workspaceRootFence": true,
    "destructiveCommandDenylist": true,
    "secretRedactionBeforeUpload": true,
    "immutableLocalAuditLog": true,
    "zeroPipDependencies": true
  },
  "installers": {
    "windowsPowerShell": {
      "url": "https://masidyn.dev/install-primus.ps1",
      "command": "irm https://masidyn.dev/install-primus.ps1 | iex"
    },
    "posixShell": {
      "url": "https://masidyn.dev/install-primus.sh",
      "command": "curl -fsSL https://masidyn.dev/install-primus.sh | sh"
    },
    "portablePythonAgent": {
      "url": "https://masidyn.dev/clients/masidyn_primus_agent.py",
      "pythonMinVersion": "3.9",
      "dependencies": "stdlib-only"
    }
  },
  "browserExtension": {
    "name": "MasiDyn Primus Browser Companion",
    "manifestVersion": 3,
    "manifestUrl": "https://masidyn.dev/primus-extension/manifest.json",
    "downloadUrl": "https://masidyn.dev/download#primus-extension",
    "safetyControls": [
      "dedicated_masidyn_tab_group_fence",
      "explicit_origin_allowlist",
      "instant_kill_switch",
      "password_and_payment_field_refusal"
    ]
  }
}
