sub-agents-mcp
MCP server for delegating tasks to specialized AI assistants in Cursor, Claude, and Gemini
Package Details
sub-agents-mcp
Environment Variables
Absolute path to the directory containing agent definition files (.md or .txt)
Type of AI CLI to use: 'cursor', 'claude', 'gemini', or 'codex'
Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'
API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)
Maximum execution time for agents in milliseconds (default: 300000, max: 600000)
Enable session management to maintain execution history across agent calls (default: false)
Directory path for storing session files (default: .mcp-sessions in current working directory)
Number of days to retain session history before automatic cleanup (default: 7)
Path to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. Gemini not supported.