io.github.shinpr/sub-agents-mcp

io.github.shinpr/sub-agents-mcp

MCP server for delegating tasks to specialized AI sub-agents across coding tools

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "sub-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp@0.15.1"
      ],
      "env": {
        "AGENTS_DIR": "<your AGENTS_DIR>",
        "AGENT_TYPE": "<your AGENT_TYPE>",
        "CURSOR_API_KEY": "<your CURSOR_API_KEY>",
        "CLI_API_KEY": "<your CLI_API_KEY>"
      }
    }
  }
}
Environment variables
  • AGENTS_DIRrequiredAbsolute path to the directory containing agent definition files (.md or .txt)
  • AGENT_TYPErequiredType of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'
  • CURSOR_API_KEYsecretAPI key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)
  • CLI_API_KEYsecretProvider 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.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.15.1
Registry
active
Published
10/22/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.shinpr/sub-agents-mcp is listed here — it’s also the link we check for a free listing.

io.github.shinpr/sub-agents-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-shinpr-sub-agents-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.shinpr/sub-agents-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.shinpr/sub-agents-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-shinpr-sub-agents-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.