dvcrn

MCP Server Subagent — Development skill for Claude Code

Development community

MCP for letting agents delegate tasks to sub-agents (Claude Code, Aider, Q).

How to install MCP Server Subagent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dvcrn/mcp-server-subagent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What MCP Server Subagent does

MCP for letting agents delegate tasks to sub-agents (Claude Code, Aider, Q).

Alternatives in Development

  • Benzi — Benzi is compiler-backed code intelligence (Agent+MCP) 102 ★
  • Brigadestack — BrigadeStack: run coding agents anywhere and keep one record of the work 84 ★
  • Delegate Parallel — Delegate multiple independent tasks to parallel VibeKanban workspace sessions 79 ★

README

MCP Subagent Server

This is a Model Context Protocol (MCP) server that allows dispatching of tasks to sub-agent (like Claude Code, Q or Aider)

The purpose of this MCP is to allow a "planning" agent to delegate tasks to "executor" agents

![screenshot](./screenshot.png)

Features

  • Configure and run sub-agents through MCP tools
  • Each sub-agent exposes three tools:
    • run_subagent_: Runs the sub-agent with provided input
    • check_subagent_status: Allows the agent to check on the status of a sub-agent
    • get_subagent_logs: Retrieves the logs of a sub-agent run
    • update_subagent_status: Updates the status and adds a summary of a previous run
  • Bi-directional communication: Sub-agents can ask questions to parent agents during execution using ask_parent, parents can reply using reply_subagent, and sub-agents can check for replies using check_message_status
  • Currently supports the 'q' sub-agent (Amazon Q CLI) and 'claude' sub-agent (Claude CLI)
  • Real-time streaming logs for monitoring sub-agent execution

Installation

Add this to your MCP configuration file (`~/.aws/amazonq/mcp.json`):

{
  "mcpServers": {
    "subagent": {
      "command": "npx",
      "args": ["-y", "mcp-server-subagent"]
    }
  }
}

Or if you installed it locally:

{
  "mcpServers": {
    "subagent": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/mcp-server-subagent/build/index.js"]
    }
  }
}

Available Tools

Sub-agent Execution Tools

  • `run_subagent_q`: Run a query through the Amazon Q CLI

    • Parameters: input (string) - The query to send to Amazon Q
    • Returns: A run ID that can be used to check the status or get logs
  • `run_subagent_claude`: Run a query through the Claude CLI

    • Parameters: input (string) - The query to send to Claude
    • Returns: A run ID that can be used to check the status or get logs
  • `check_subagent_status`: Check the status of a previous run

    • Parameters: runId (string)