{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.shinpr/sub-agents-mcp",
  "slug": "io.github.shinpr.sub-agents-mcp",
  "title": "sub-agents-mcp",
  "summary": "MCP server for delegating tasks to specialized AI sub-agents across coding tools",
  "version": "0.15.1",
  "serverKey": "sub-agents-mcp",
  "pageUrl": "http://23.23.102.237/tool/io.github.shinpr.sub-agents-mcp",
  "installMdUrl": "http://23.23.102.237/tool/io.github.shinpr.sub-agents-mcp/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T02:13:04.197591695Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp@0.15.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add sub-agents-mcp -e 'AGENTS_DIR=<AGENTS_DIR>' -e 'AGENT_TYPE=<AGENT_TYPE>' -- npx -y sub-agents-mcp@0.15.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"sub-agents-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"sub-agents-mcp@0.15.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"AGENTS_DIR\": \"<AGENTS_DIR>\",\n        \"AGENT_TYPE\": \"<AGENT_TYPE>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"sub-agents-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"sub-agents-mcp@0.15.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"AGENTS_DIR\": \"<AGENTS_DIR>\",\n        \"AGENT_TYPE\": \"<AGENT_TYPE>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"AGENTS_DIR\",\n      \"id\": \"agents-dir\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"AGENT_TYPE\",\n      \"id\": \"agent-type\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"sub-agents-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"sub-agents-mcp@0.15.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"AGENTS_DIR\": \"${input:agents-dir}\",\n        \"AGENT_TYPE\": \"${input:agent-type}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.sub-agents-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"sub-agents-mcp@0.15.1\"]\nenv = { \"AGENTS_DIR\" = \"<AGENTS_DIR>\", \"AGENT_TYPE\" = \"<AGENT_TYPE>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "AGENTS_DIR",
      "required": true,
      "secret": false,
      "description": "Absolute path to the directory containing agent definition files (.md or .txt)",
      "help": "Absolute path to the directory containing agent definition files (.md or .txt)",
      "placeholder": "<AGENTS_DIR>"
    },
    {
      "name": "AGENT_TYPE",
      "required": true,
      "secret": false,
      "description": "Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'",
      "help": "Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'",
      "placeholder": "<AGENT_TYPE>"
    },
    {
      "name": "AGENT_PERMISSION",
      "required": false,
      "secret": false,
      "description": "Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'",
      "help": "Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'",
      "placeholder": "<AGENT_PERMISSION>"
    },
    {
      "name": "AGENT_MODEL",
      "required": false,
      "secret": false,
      "description": "Optional model override applied to every sub-agent execution by this MCP server",
      "help": "Optional model override applied to every sub-agent execution by this MCP server",
      "placeholder": "<AGENT_MODEL>"
    },
    {
      "name": "AGENT_EFFORT",
      "required": false,
      "secret": false,
      "description": "Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi.",
      "help": "Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi.",
      "placeholder": "<AGENT_EFFORT>"
    },
    {
      "name": "CURSOR_API_KEY",
      "required": false,
      "secret": true,
      "description": "API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)",
      "help": "API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)",
      "placeholder": "<CURSOR_API_KEY>"
    },
    {
      "name": "CLI_API_KEY",
      "required": false,
      "secret": true,
      "description": "Provider API key for AGENT_TYPE=glm or kimi (passed to the claude binary via env, never via CLI args). Restart/reconnect the MCP server after changing it.",
      "help": "Provider API key for AGENT_TYPE=glm or kimi (passed to the claude binary via env, never via CLI args). Restart/reconnect the MCP server after changing it.",
      "placeholder": "<CLI_API_KEY>"
    },
    {
      "name": "EXECUTION_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Agent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as \"5min\".",
      "help": "Agent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as \"5min\".",
      "placeholder": "<EXECUTION_TIMEOUT_MS>"
    },
    {
      "name": "SESSION_ENABLED",
      "required": false,
      "secret": false,
      "description": "Enable session management to maintain execution history across agent calls (default: false)",
      "help": "Enable session management to maintain execution history across agent calls (default: false)",
      "placeholder": "<SESSION_ENABLED>"
    },
    {
      "name": "SESSION_DIR",
      "required": false,
      "secret": false,
      "description": "Directory path for storing session files (default: .mcp-sessions in current working directory)",
      "help": "Directory path for storing session files (default: .mcp-sessions in current working directory)",
      "placeholder": "<SESSION_DIR>"
    },
    {
      "name": "SESSION_RETENTION_DAYS",
      "required": false,
      "secret": false,
      "description": "Number of days to retain session history before automatic cleanup (default: 1)",
      "help": "Number of days to retain session history before automatic cleanup (default: 1)",
      "placeholder": "<SESSION_RETENTION_DAYS>"
    },
    {
      "name": "AGENTS_SETTINGS_PATH",
      "required": false,
      "secret": false,
      "description": "Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode/Command Code/MiniMax Code/Pi not supported.",
      "help": "Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode/Command Code/MiniMax Code/Pi not supported.",
      "placeholder": "<AGENTS_SETTINGS_PATH>"
    }
  ],
  "agentSteps": [
    "Ask the user for: AGENTS_DIR, AGENT_TYPE. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T02:13:04.197591695Z"
}
