DEV Community

Aref
Aref

Posted on

Introducing Sub-Agent-MCP: Portable AI Sub-Agents for Any MCP Client

One feature I really liked in Claude Code is the concept of sub-agents—specialized agents that can handle specific tasks such as code review, debugging, testing, or research.

The downside is that these workflows are often tied to a specific tool.

To address this, I built Sub-Agent-MCP, an open-source MCP server that makes sub-agents portable across MCP-compatible clients.

With Sub-Agent-MCP, you can:

  • Define agents in simple Markdown files
  • Reuse the same agents across different tools
  • Manage agent execution and sessions
  • Build a shared library of specialized agents

The project currently supports integrations with Claude Code, Codex, Cursor, Gemini, and can also expose sub-agent workflows to platforms like Open WebUI through MCP.

The goal is simple: define an agent once and use it anywhere in the MCP ecosystem.

GitHub Repository:
https://github.com/stormaref/Sub-Agent-MCP

I'd appreciate feedback, feature requests, and contributions from the community.

Top comments (0)