1. Conduid
  2. Developer Tools
  3. Sub Agents MCP
MCP server · Developer Tools

Sub Agents MCP

Define task-specific AI sub-agents in Markdown for any MCP-compatible tool.

Unclaimed MIT devtools
74Good

Scored 7 days ago · breakdown

About Sub Agents MCP

Sub Agents MCP is an MCP server published by shinpr in the Developer Tools category: define task-specific AI sub-agents in Markdown for any MCP-compatible tool.

The repository has 98 stars and 17 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/shinpr/sub-agents-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Sub Agents MCP

Powered by Claude · Grounded in docs

I know everything about Sub Agents MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 8 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.14.4Release: v0.14.4 · 15 Oct 2026Fixed OpenCode agents now work in the requested `cwd`. OpenCode reads its working directory from `PWD`, which the server did not set, so edits landed in the directory the MCP server was started from. Added OpenCode 2 support. OpenCode 2…
v0.14.3Release: v0.14.3 · 14 Oct 2026Updated the MCP SDK to 1.32.1.
v0.14.2Release: v0.14.2 · 6 Sep 2026Fixed Cleaning up expired session files wrote to stdout and could break the MCP connection. Cancelling a request left the agent process running. Shutting down the server now stops in-flight agents too. A response could report `status:…
v0.14.1Release: v0.14.1 · 1 Sep 2026OpenCode agents in `read-only` mode can now use shell commands while direct edits remain disabled.
v0.14.0Release: v0.14.0 · 30 Aug 2026Highlights Added Command Code as a supported agent backend. Added permission mapping, model and effort overrides, turn limits, and structured output handling for Command Code executions.

README

Sub-Agents MCP Server

npm version

Run reusable coding agents from any MCP-compatible client.

Write a reviewer, test writer, or investigator in Markdown, then ask your assistant to use it. The MCP server runs that agent with the coding CLI you choose and returns the result to the same conversation.

What You Can Do

  • Delegate code review, test writing, investigation, and documentation to focused agents
  • Reuse the same agent definitions across MCP clients with one shared backend and model configuration
  • Continue the same agent across multiple calls for longer work

Quick Start

You need Node.js 22 or later, an MCP-compatible client, and one supported coding CLI installed and signed in. This example uses Codex.

1. Create an Agent

Create an agents folder anywhere on your machine, then add code-reviewer.md:

# Code Reviewer

Review code for bugs and maintainability issues.

## Task

- Find concrete problems in the requested changes
- Explain why each problem matters
- Point to the affected code

## Done When

- All requested files have been reviewed
- Findings include evidence and suggested next steps

The filename becomes the agent name: code-reviewer.md becomes code-reviewer.

2. Add the MCP Server

Add the server to your client's MCP configuration. Replace AGENTS_DIR with the absolute path to the folder you created.

{
  "mcpServers": {
    "sub-agents": {
      "command": "npx",
      "args": ["-y", "sub-agents-mcp"],
      "env": {
        "AGENTS_DIR": "/absolute/path/to/agents",
        "AGENT_TYPE": "codex"
      }
    }
  }
}

Restart or reconnect your MCP client after saving the configuration.

3. Run the Agent

Ask your assistant:

Use the code-reviewer agent to review the authentication changes.

Your assistant runs the agent with Codex and returns the review to the conversation.

Examples

Use the test-writer agent to add unit tests for the auth module.
Use the bug-investigator agent to find the cause of the failed checkout requests.
Use the doc-writer agent to document the public API changes.

Name both the agent and the work you want it to do.

When the MCP Server Fits

Use the MCP server when you want to share the same agents across MCP clients while keeping backend and model configuration in one place.

If you prefer a lighter installation or want each agent to choose its own backend and model, see Sub-Agents Skills.

Supported Backends

Set AGENT_TYPE to the backend you already use:

AGENT_TYPE Backend Command
codex Codex codex
claude Claude Code claude
cursor Cursor CLI cursor-agent
command-code Command Code command-code
glm GLM (Z.ai) claude
kimi Kimi claude
grok Grok Build grok
antigravity Google Antigravity agy 1.1.12+
gemini Gemini CLI (compatibility) gemini
opencode OpenCode opencode

The selected CLI must be installed and configured before the MCP server starts.

GLM and Kimi require CLI_API_KEY in the MCP server environment. Other backends use the CLI's existing authentication.

For Google models, prefer Antigravity. Gemini CLI remains available for existing enterprise, API key, or Vertex AI configurations.

Shared Agent Settings

Set AGENT_MODEL to use one model for every agent. Omit it to use the backend's default.

AGENT_PERMISSION controls what agents may do:

  • read-only — review and investigation
  • safe-edit — edits allowed without approval (default)
  • yolo — unrestricted execution

If an agent reports that an action was blocked, choose a less restrictive mode.

Continue Work Across Calls

Set SESSION_ENABLED to "true" when you want an agent to remember earlier calls and continue a longer task. Your assistant must reuse the returned session_id on the next call to continue that session.

If It Does Not Start

  • Run the selected backend command directly and confirm that it is installed and signed in
  • Make sure AGENTS_DIR is an absolute path and contains at least one .md or .txt file
  • Restart or reconnect the MCP client after changing its configuration

License

MIT

README fetched from the repository 8 hours ago. The original is authoritative.

Questions

About Sub Agents MCP

How do I install Sub Agents MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Sub Agents MCP safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sub Agents MCP still maintained?

Yes — the latest release is v0.14.4 (15 Oct 2026), and the last commit was 3 days ago. The repository has 98 stars.