Sub-Agents

Delegates tasks to specialized AI assistants in Cursor, Claude Code, Codex, Gemini, GLM, and Grok CLI tools by automatically disco

shinpr 92 ↓ 6.9k
Claude CodeClaude DesktopGeneric
View source ↗

An MCP server for delegating tasks to specialized AI assistants in Cursor, Claude Code, Codex, Gemini, GLM, and Grok CLI tools, built by Shinsuke Kagawa. The server automatically discovers agent definition files from a configured directory, exposes them as MCP resources, and provides a run_agent tool that executes agents with proper TTY handling and JSON output parsing. It features hybrid execution strategies with timeout management, performance monitoring, and supports cursor-agent, claude, codex, gemini, GLM, and grok CLI backends, making it useful for building AI agent orchestration workflows, task delegation systems, and integrating specialized sub-agents into larger AI-assisted development processes.

Source

Repository: https://github.com/shinpr/sub-agents-mcp

Maintain Sub-Agents?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Sub-Agents on getagentictools
[![Sub-Agents on getagentictools](https://getagentictools.com/badge/mcp/shinpr-sub-agents-mcp.svg)](https://getagentictools.com/mcp/shinpr-sub-agents-mcp?ref=badge)