Developer tools / sub-agents-mcp

sub-agents-mcp

io.github.shinpr/sub-agents-mcp · v0.15.1

MCP server for delegating tasks to specialized AI sub-agents across coding tools

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #263 of 610 Developer tools servers on Socketlist by score, with 98 GitHub stars and a last code push 1mo ago.

Install

npx -y sub-agents-mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect sub-agents-mcp to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env AGENTS_DIR=<agents_dir> --env AGENT_TYPE=<agent_type> --env CURSOR_API_KEY=<cursor_api_key> --env CLI_API_KEY=<cli_api_key> --transport stdio sub-agents-mcp -- npx -y sub-agents-mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "sub-agents-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "${AGENTS_DIR}",
        "AGENT_TYPE": "${AGENT_TYPE}",
        "CURSOR_API_KEY": "${CURSOR_API_KEY}",
        "CLI_API_KEY": "${CLI_API_KEY}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "sub-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "${env:AGENTS_DIR}",
        "AGENT_TYPE": "${env:AGENT_TYPE}",
        "CURSOR_API_KEY": "${env:CURSOR_API_KEY}",
        "CLI_API_KEY": "${env:CLI_API_KEY}"
      }
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
AGENTS_DIRYesNoAbsolute path to the directory containing agent definition files (.md or .txt)
AGENT_TYPEYesNoType of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'
AGENT_PERMISSIONNoNoApproval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'
AGENT_MODELNoNoOptional model override applied to every sub-agent execution by this MCP server
AGENT_EFFORTNoNoOptional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi.
CURSOR_API_KEYNoYesAPI key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)
CLI_API_KEYNoYesProvider 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.
EXECUTION_TIMEOUT_MSNoNoAgent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as "5min".
SESSION_ENABLEDNoNoEnable session management to maintain execution history across agent calls (default: false)
SESSION_DIRNoNoDirectory path for storing session files (default: .mcp-sessions in current working directory)
SESSION_RETENTION_DAYSNoNoNumber of days to retain session history before automatic cleanup (default: 1)
AGENTS_SETTINGS_PATHNoNoPath 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.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "sub-agents-mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Signals

GitHub stars98
npm weekly downloads338
Last push1mo ago
LicenceMIT
Open issues0
SECURITY.mdNo
LanguageTypeScript
Latest version published2026-10-22

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers

Dynoxide

Score 90

A DynamoDB emulator with an MCP server exposing 35 DynamoDB tools to coding agents.

★ 108↓ 6,045/wkApache-2.0pushed 18d ago
Developer toolsDatabases

CLEO MCP Server

Score 76

Task management for AI coding agents — CQRS 2-gateway pattern, 200 ops across 10 domains

★ 159MITpushed 18d ago
Developer toolsProductivity

Five MCP servers worth your time, every week

The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.

Subscribe free