MCP Server
MCP
io.github.shinpr/sub-agents-mcp
MCP server for delegating tasks to specialized AI sub-agents across coding tools
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "sub-agents-mcp",
"version": "0.13.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Absolute path to the directory containing agent definition files (.md or .txt)",
"isRequired": true,
"format": "string",
"name": "AGENTS_DIR"
},
{
"description": "Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'glm', 'kimi', 'grok', 'antigravity', or 'opencode'",
"isRequired": true,
"format": "string",
"name": "AGENT_TYPE"
},
{
"description": "Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'",
"format": "string",
"name": "AGENT_PERMISSION"
},
{
"description": "Optional model override applied to every sub-agent execution by this MCP server",
"format": "string",
"name": "AGENT_MODEL"
},
{
"description": "Optional backend-specific reasoning effort or model variant. Supported by codex, claude, glm, kimi, grok, antigravity, and opencode.",
"format": "string",
"name": "AGENT_EFFORT"
},
{
"description": "API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)",
"format": "string",
"isSecret": true,
"name": "CURSOR_API_KEY"
},
{
"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.",
"format": "string",
"isSecret": true,
"name": "CLI_API_KEY"
},
{
"description": "Maximum execution time for agents in milliseconds (default: 300000, max: 600000)",
"format": "string",
"name": "EXECUTION_TIMEOUT_MS"
},
{
"description": "Enable session management to maintain execution history across agent calls (default: false)",
"format": "string",
"name": "SESSION_ENABLED"
},
{
"description": "Directory path for storing session files (default: .mcp-sessions in current working directory)",
"format": "string",
"name": "SESSION_DIR"
},
{
"description": "Number of days to retain session history before automatic cleanup (default: 7)",
"format": "string",
"name": "SESSION_RETENTION_DAYS"
},
{
"description": "Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode not supported.",
"format": "string",
"name": "AGENTS_SETTINGS_PATH"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment