sub-agents-mcp
io.github.shinpr/sub-agents-mcp
About sub-agents-mcp
sub-agents-mcp is an MCP server published by the GitHub account shinpr. MCP server for delegating tasks to specialized AI sub-agents across coding tools
It runs on your own machine: your AI client starts it from the npm package sub-agents-mcp at version 0.15.1.
It asks for 2 secrets: CURSOR_API_KEY and CLI_API_KEY. Give it a key with the least access that still works.
It also needs AGENTS_DIR and AGENT_TYPE set before it starts.
Version 0.15.1 was published on 22 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
AGENTS_DIR | Yes | No | Absolute path to the directory containing agent definition files (.md or .txt) |
AGENT_TYPE | Yes | No | Type of AI CLI to use: 'cursor', 'claude', 'gemini', 'codex', 'command-code', 'glm', 'kimi', 'grok', 'antigravity', 'opencode', 'mcode', or 'pi' |
AGENT_PERMISSION | No | No | Approval/sandbox level for sub-agents: 'read-only', 'safe-edit' (default), or 'yolo' |
AGENT_MODEL | No | No | Optional model override applied to every sub-agent execution by this MCP server |
AGENT_EFFORT | No | No | Optional backend-specific reasoning effort or model variant. Supported by codex, claude, command-code, glm, kimi, grok, antigravity, opencode, mcode, and pi. |
CURSOR_API_KEY | No | Yes | API key for cursor-agent authentication (used only when AGENT_TYPE=cursor; passed via env, never via CLI args) |
CLI_API_KEY | No | Yes | Provider 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_MS | No | No | Agent execution timeout in milliseconds, as a positive whole number (default: 300000). The server refuses to start on an invalid value such as "5min". |
SESSION_ENABLED | No | No | Enable session management to maintain execution history across agent calls (default: false) |
SESSION_DIR | No | No | Directory path for storing session files (default: .mcp-sessions in current working directory) |
SESSION_RETENTION_DAYS | No | No | Number of days to retain session history before automatic cleanup (default: 1) |
AGENTS_SETTINGS_PATH | No | No | Path 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. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/shinpr/sub-agents-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: CURSOR_API_KEY, CLI_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account shinpr |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | sub-agents-mcp@0.15.1 runs nothing at install |
| Code red flags | Pass | Read 36 files in sub-agents-mcp@0.15.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 36 files, including comments and the README |
Popularity & health: 62 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
17 forks, 111 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
1 Hacker News thread linking to the source code. We link to them and copy nothing.
- Show HN: Sub-agents for Cursor via MCP (isolated context, no worktrees) 1 points, 3 comments, 2025-12-14
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.shinpr/sub-agents-mcp |
|---|---|
| Publisher | GitHub account shinpr |
| How the name is verified | Name verified via GitHub account shinpr. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm sub-agents-mcp 0.15.1 (stdio) |
| Version | 0.15.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/shinpr/sub-agents-mcp |
| Website | None linked |
| Category | Productivity & notes (assigned by keyword rule, not by hand) |
Related servers in Productivity & notes
- Facet3/3Build, check and call a specialized model for one narrow task, from…
- Calera Infinite Context (ICX) — Persistent Memory & Associative Recall4/4Sub-5ms topological 4D associative memory coprocessor for LLMs and…
- luftpause4/4async/await for LLM agents: spawn and await sub-agents scheduled on…
- Codebase Memory6/7Codebase knowledge graph for AI agents — 162 languages, sub-ms…
- GhostPaw Questlog6/7Local tasks, calendar commitments, and recurring work.
- Tedix3/3Connect AI assistants to your Tedix organization’s tasks,…