.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/heretyc/subagent-mcp
home/mcp-servers/heretyc/subagent-mcp
heretyc avatar

subagent-mcp

byheretyc· 1 MCP server

Stars

1

Category

AI Agents & MCP

View on GitHub

TL;DR

MCP server that launches Claude Code/Codex sub-agents and routes tasks to Claude Messages or OpenAI-compatible API providers.

How to install subagent-mcp?

heretyc/subagent-mcp
$git clone https://github.com/heretyc/subagent-mcp

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install subagent-mcp by running `git clone https://github.com/heretyc/subagent-mcp`, then use it for the current task and follow its documentation at https://github.com/heretyc/subagent-mcp.

Files · 1

View on GitHub
README.md
1# subagent-mcp
2 
3[![npm version](https://img.shields.io/npm/v/@heretyc/subagent-mcp?label=npm)](https://www.npmjs.com/package/@heretyc/subagent-mcp)
4[![license](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
5[![node](https://img.shields.io/node/v/@heretyc/subagent-mcp)](https://www.npmjs.com/package/@heretyc/subagent-mcp)
6[![CI](https://github.com/Heretyc/subagent-mcp/actions/workflows/claude-routine.yml/badge.svg)](https://github.com/Heretyc/subagent-mcp/actions/workflows/claude-routine.yml)
7 
8## Core Premise
9 
10subagent-mcp is an MCP stdio server that turns an AI coding assistant (Claude
11Code, Codex, Gemini CLI) into a manager of local Claude and Codex sub-agents on
12macOS, Linux, and Windows. It orchestrates the locally authenticated `claude`
13and `codex` CLIs you already signed into, and can route tasks to direct API
14providers (Claude Messages API and OpenAI-compatible) configured in
15`providers.jsonc`. Provider credentials stay out of config: `providers.jsonc`
16names env vars, and key values live in the adjacent gitignored `.env`. API HTTP
17is confined to `src/providers/provider-client.ts`.
18 
19![subagent-mcp long-horizon session demonstration](docs/images/smcp-example.png)
20 
21*7 h 38 min one-shot coding session, several hundred tool calls, Fable 5, July 15 2026 - 41% context used, no auto-compaction, orchestrated via subagent-mcp.*
22 
23The orchestrator monitors but does not read or write project files itself. Work
24is delegated to fresh sub-agents, so the orchestrator keeps summaries instead
25of raw file context. The main invariants are:
26 
27- one machine-global, provider-agnostic concurrency cap (default 20, minimum 10)
28- fail-safe orchestration ON on hookless hosts
29- state authority only from harness-verified `<subagent-mcp state="...">` tags
30- `launch_agent` as the only supported sub-agent launch channel in both states
31- setup/init defense-in-depth suppression for known native host agent launchers
32- sub-agents gated by default with permission ceiling `auto`
33- automatic model, provider, and effort routing per task category
34 
35## Install
36 
37### What You Need First
38 
39- Node.js 20 or newer (`node --version`)
40- `claude` CLI, installed and signed in (`claude --version`)
41- `codex` CLI, installed and signed in (`codex --version`; optional if you only
42 use Claude or Gemini as the host)
43 
44Building from source needs extra developer tools. See
45[CONTRIBUTING.md](CONTRIBUTING.md).
46 
47### Install The Package
48 
49Marketplace plugin for Claude Code:
50 
51```bash
52claude plugin marketplace add Heretyc/subagent-mcp
53claude plugin install subagent-mcp@subagent-mcp
54```
55 
56Marketplace plugin for Codex:
57 
58```bash
59codex plugin marketplace add Heretyc/subagent-mcp
60codex plugin add subagent-mcp@subagent-mcp
61```
62 
63Or Codex MCP registration:
64 
65```bash
66codex mcp add subagent-mcp -- node /abs/path/to/subagent-mcp/dist/index.js
67```
68 
69Or install the npm package globally:
70 
71```bash
72npm install -g @heretyc/subagent-mcp
73```
74 
75Organizations pinning the package through GitHub Packages should see
76[docs/registration/prerequisites-and-install.md](docs/registration/prerequisites-and-install.md).
77 
78### Wire It Into Your Assistant
79 
80```bash
81subagent-mcp setup
82```
83 
84Installing the package only ships the program. It does not connect anything on
85its own. `subagent-mcp setup` finds your Claude Code, Codex, or Gemini install
86and registers the supported server, hook, and native-agent suppression config
87for that host. For Claude Code it also registers or wraps `statusLine` so the
88hook can read Claude's authoritative context percentage without replacing your
89custom statusline, and deploys the `smcp-handoff` Agent Skill to your Claude
90user scope.
91Preview first with `subagent-mcp setup --dry-run`.
92 
93For provider config, run `subagent-mcp config init`, edit the generated `.env`
94keys under your subagent-mcp config home, then run
95`subagent-mcp config validate`. See [skills/smcp-help/SKILL.md](skills/smcp-help/SKILL.md)
96for details.
97 
98### Restart, Then Turn On The Invariant
99 
100Restart your Claude Code or Codex session so it picks up the new tools. On
101Codex, run `/hooks` and trust the new hook. Then, recommended:
102 
103```bash
104subagent-mcp init --global
105```
106 
107This writes a managed "always delegate" rule block into your global assistant
108config once. For one project only, use
109`subagent-mcp init --root /path/to/project`. Full per-platform wiring (Gemini
110CLI, Claude Desktop, manual setup) is in
111[docs/registration.md](docs/registration.md).
112 
113## How To Operate It
114 
115### Orchestration Mode
116 
117- **ON**: your assistant acts as a pure manager. It delegates every step to
118 sub-agents. Best for big, long-running jobs.
119- **OFF**: your assistant works normally, with no delegation rules.
120 
121Flip it with the `orchestration-mode` tool. Desktop apps can toggle the mode but
122do not receive per-turn hook reminders.
123 
124### Tools
125 
126The server exposes `launch_agent`, `poll_agent`, `kill_agent`, `send_message`,
127`list_agents`, `wait`, `respond_permission`, `orchestration-mode`, and
128`model-selection-mode`; `get_status` returns `pr

Preview

heretyc/subagent-mcpheretyc/subagent-mcp
Repoheretyc/subagent-mcp
TypeMCP Servers
CategoryAI Agents & MCP
UpdatedJul 2026
LicenseApache-2.0
First seenJul 27, 2026

Tags

MCP

Related

6 picks
Type
  1. langchain-ai avatarlangchain-mcp-adaptersMake Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph agents.MCP ServersJul 20267.0M3.6k
  2. openclaw avatarmcporterTypeScript runtime and CLI for connecting to configured Model Context Protocol servers.MCP ServersJul 20262.5M4.8k
  3. sparfenyuk avatarmcp-proxyA MCP server which proxies requests to a remote MCP server over streamable HTTP or SSE.MCP ServersJul 20262.2M2.7k
  4. sooperset avatarmcp-atlassianThe Model Context Protocol (MCP) Atlassian integration is an open-source implementation that bridges Atlassian products (Jira and Confluence) with AI language models following Anthropic's MCP specification.MCP ServersJul 20261.7M5.6k
  5. open-webui avataropen-webuiOpen WebUIMCP ServersJul 20261.4M147k
  6. dyoshikawa avatarrulesyncUnified AI rules management CLI tool that generates configuration files for various AI development toolsMCP ServersJul 2026889k1.3k