← Back to browse

sub-agents-mcp

Indexed by io.github.shinpr

About

MCP server for AI sub-agent delegation across Cursor, Claude, Codex, Gemini, GLM, Grok, and OpenCode

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsAGENTS_DIR AGENT_TYPE AGENT_PERMISSION AGENT_MODEL AGENT_EFFORT CURSOR_API_KEY CLI_API_KEY EXECUTION_TIMEOUT_MS SESSION_ENABLED SESSION_DIR SESSION_RETENTION_DAYS AGENTS_SETTINGS_PATH
Claude Code
claude mcp add --env AGENTS_DIR= --env AGENT_TYPE= --env AGENT_PERMISSION= --env AGENT_MODEL= --env AGENT_EFFORT= --env CURSOR_API_KEY= --env CLI_API_KEY= --env EXECUTION_TIMEOUT_MS= --env SESSION_ENABLED= --env SESSION_DIR= --env SESSION_RETENTION_DAYS= --env AGENTS_SETTINGS_PATH= sub-agents-mcp -- npx sub-agents-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"sub-agents-mcp","command":"npx","args":["sub-agents-mcp"],"env":{"AGENTS_DIR":"","AGENT_TYPE":"","AGENT_PERMISSION":"","AGENT_MODEL":"","AGENT_EFFORT":"","CURSOR_API_KEY":"","CLI_API_KEY":"","EXECUTION_TIMEOUT_MS":"","SESSION_ENABLED":"","SESSION_DIR":"","SESSION_RETENTION_DAYS":"","AGENTS_SETTINGS_PATH":""}}'
JSON
{
  "mcpServers": {
    "sub-agents-mcp": {
      "command": "npx",
      "args": [
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "",
        "AGENT_TYPE": "",
        "AGENT_PERMISSION": "",
        "AGENT_MODEL": "",
        "AGENT_EFFORT": "",
        "CURSOR_API_KEY": "",
        "CLI_API_KEY": "",
        "EXECUTION_TIMEOUT_MS": "",
        "SESSION_ENABLED": "",
        "SESSION_DIR": "",
        "SESSION_RETENTION_DAYS": "",
        "AGENTS_SETTINGS_PATH": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.