sub-agents-mcp
MCP server for delegating tasks to specialized AI sub-agents across coding tools
TypeScript
★ 98 stars
Last pushed 2026-09-10
License: MIT
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 0.14.2)
npx -y sub-agents-mcp@0.14.2
Or add to your MCP client config:
{
"mcpServers": {
"sub-agents-mcp": {
"command": "npx",
"args": [
"-y",
"sub-agents-mcp@0.14.2"
],
"env": {
"AGENTS_DIR": "<YOUR_VALUE>",
"AGENT_TYPE": "<YOUR_VALUE>",
"AGENT_PERMISSION": "<YOUR_VALUE>",
"AGENT_MODEL": "<YOUR_VALUE>",
"AGENT_EFFORT": "<YOUR_VALUE>",
"CURSOR_API_KEY": "<YOUR_VALUE>",
"CLI_API_KEY": "<YOUR_VALUE>",
"EXECUTION_TIMEOUT_MS": "<YOUR_VALUE>",
"SESSION_ENABLED": "<YOUR_VALUE>",
"SESSION_DIR": "<YOUR_VALUE>",
"SESSION_RETENTION_DAYS": "<YOUR_VALUE>",
"AGENTS_SETTINGS_PATH": "<YOUR_VALUE>"
}
}
}
}
AGENTS_DIRrequired — Absolute path to the directory containing agent definition files (.md or .txt)AGENT_TYPErequired — Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', or 'opencode'AGENT_PERMISSION— Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'AGENT_MODEL— Optional model override applied to every sub-agent execution by this MCP serverAGENT_EFFORT— Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, and opencode.CURSOR_API_KEYsecret — API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)CLI_API_KEYsecret — 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— 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— Enable session management to maintain execution history across agent calls (default: false)SESSION_DIR— Directory path for storing session files (default: .mcp-sessions in current working directory)SESSION_RETENTION_DAYS— Number of days to retain session history before automatic cleanup (default: 1)AGENTS_SETTINGS_PATH— Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode/Command Code not supported.
Related servers
B
browser-use
Other
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
★ 116,188
MCP Server
S
servers
Other
MCP server that exercises all the features of the MCP protocol
★ 90,577
MCP Server
W
World Monitor
Other
Live markets, conflicts, country risk, chokepoints, energy, and China decision signals. 75 tools.
★ 87,324
MCP Server
Requires auth
P
paperclip
Other
Trending hip-hop artist momentum scores across four cultural dimensions.
★ 82,095
MCP Server
Reachable
R
ruflo
Other
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
★ 73,202
MCP Server
C
Chrome DevTools MCP
Other
MCP server for Chrome DevTools
★ 52,570
MCP Server
Data from the Official MCP Registry