io.github.shinpr/sub-agents-mcp
MCP server for delegating tasks to specialized AI assistants in Cursor, Claude, and Gemini
{
"mcpServers": {
"sub-agents-mcp": {
"command": "npx",
"args": [
"-y",
"sub-agents-mcp"
],
"env": {
"AGENTS_DIR": "<agents_dir>",
"AGENT_TYPE": "<agent_type>",
"EXECUTION_TIMEOUT_MS": "<execution_timeout_ms>",
"SESSION_ENABLED": "<session_enabled>",
"SESSION_DIR": "<session_dir>",
"SESSION_RETENTION_DAYS": "<session_retention_days>",
"AGENTS_SETTINGS_PATH": "<agents_settings_path>"
}
}
}
}{
"mcpServers": {
"sub-agents-mcp": {
"command": "npx",
"args": [
"-y",
"sub-agents-mcp"
],
"env": {
"AGENTS_DIR": "<agents_dir>",
"AGENT_TYPE": "<agent_type>",
"EXECUTION_TIMEOUT_MS": "<execution_timeout_ms>",
"SESSION_ENABLED": "<session_enabled>",
"SESSION_DIR": "<session_dir>",
"SESSION_RETENTION_DAYS": "<session_retention_days>",
"AGENTS_SETTINGS_PATH": "<agents_settings_path>"
}
}
}
}npx -y sub-agents-mcpAGENTS_DIRAbsolute path to the directory containing agent definition files (.md or .txt)
AGENT_TYPEType of AI CLI to use: 'cursor', 'claude', or 'gemini'
EXECUTION_TIMEOUT_MSMaximum execution time for agents in milliseconds (default: 300000, max: 600000)
SESSION_ENABLEDEnable session management to maintain execution history across agent calls (default: false)
SESSION_DIRDirectory path for storing session files (default: .mcp-sessions in current working directory)
SESSION_RETENTION_DAYSNumber of days to retain session history before automatic cleanup (default: 7)
AGENTS_SETTINGS_PATHPath to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. Gemini not supported.
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
Public MCP server for the LLM Search Engine
Real-time web search, reasoning, and research through Perplexity's API