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-mcpAssembled 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 variable | Required | Secret | Publisher's note |
|---|---|---|---|
AGENTS_DIR | Yes | No | Absolute path to the directory containing agent definition files (.md or .txt) |
AGENT_TYPE | Yes | No | Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi' |
AGENT_PERMISSION | No | No | Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo' |
AGENT_MODEL | No | No | Optional model override applied to every sub-agent execution by this MCP server |
AGENT_EFFORT | No | No | Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi. |
CURSOR_API_KEY | No | Yes | API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args) |
CLI_API_KEY | No | Yes | 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. |
EXECUTION_TIMEOUT_MS | No | No | Agent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as "5min". |
SESSION_ENABLED | No | No | Enable session management to maintain execution history across agent calls (default: false) |
SESSION_DIR | No | No | Directory path for storing session files (default: .mcp-sessions in current working directory) |
SESSION_RETENTION_DAYS | No | No | Number of days to retain session history before automatic cleanup (default: 1) |
AGENTS_SETTINGS_PATH | No | No | 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. |
"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 stars | 98 |
| npm weekly downloads | 338 |
| Last push | 1mo ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | No |
| Language | TypeScript |
| Latest version published | 2026-10-22 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers
Dynoxide
Score 90A DynamoDB emulator with an MCP server exposing 35 DynamoDB tools to coding agents.
CLEO MCP Server
Score 76Task management for AI coding agents — CQRS 2-gateway pattern, 200 ops across 10 domains
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.