AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

sub-agents-mcp

Community

MCP server by shinpr · updated · ★ 99 · 294 downloads a week

Score 78

MCP server for delegating tasks to specialized AI sub-agents across coding tools sub-agents-mcp is a community project by shinpr, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 8 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 99 stars, original repository

Security

No risky patterns in the files we checked

What you need

SettingNeededWhat it is
AGENTS_DIREnvironment variableRequiredAbsolute path to the directory containing agent definition files (.md or .txt)
AGENT_TYPEEnvironment variableRequiredType of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi'
AGENT_PERMISSIONEnvironment variableOptionalApproval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo'
AGENT_MODELEnvironment variableOptionalOptional model override applied to every sub-agent execution by this MCP server
AGENT_EFFORTEnvironment variableOptionalOptional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi.
CURSOR_API_KEYEnvironment variable, secretOptionalAPI key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args)
CLI_API_KEYEnvironment variable, secretOptionalProvider 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.
EXECUTION_TIMEOUT_MSEnvironment variableOptionalAgent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as "5min".
SESSION_ENABLEDEnvironment variableOptionalEnable session management to maintain execution history across agent calls (default: false)
SESSION_DIREnvironment variableOptionalDirectory path for storing session files (default: .mcp-sessions in current working directory)
SESSION_RETENTION_DAYSEnvironment variableOptionalNumber of days to retain session history before automatic cleanup (default: 1)
AGENTS_SETTINGS_PATHEnvironment variableOptionalPath to CLI settings file/directory. Claude: --settings arg, Cursor: CURSOR_CONFIG_DIR, Codex: CODEX_HOME. GLM/Kimi/Gemini/Grok/Antigravity/OpenCode/Command Code/MiniMax Code/Pi not supported.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install sub-agents-mcp

Built from the published package, never by AI
claude mcp add sub-agents-mcp -e AGENTS_DIR=YOUR_AGENTS_DIR -e AGENT_TYPE=YOUR_AGENT_TYPE -- npx -y sub-agents-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install sub-agents-mcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sub-agents-mcp block.

Weekly newsletter

Like sub-agents-mcp? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to sub-agents-mcp

All alternatives →

sub-agents-mcp: common questions

How do I install sub-agents-mcp?

In Claude Code run claude mcp add sub-agents-mcp -e AGENTS_DIR=YOUR_AGENTS_DIR -e AGENT_TYPE=YOUR_AGENT_TYPE -- npx -y sub-agents-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is sub-agents-mcp the official server?

sub-agents-mcp is a community project by shinpr, not verified by a company domain.

Is sub-agents-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sub-agents-mcp safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sub-agents-mcp?

Similar MCP servers: Agent-Native Calendar, Agent-Native Clips, kaneo, Agent Afk.

Does sub-agents-mcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.