mcp-server-subagent
v1.3.3MCP server for managing sub-agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_subagent_q
Delegates the given task to a q subagent as an asynchronous sub-task. This creates a new agent instance that will handle the provided input independently and report back its results. The task can be short or long-running. Use check_subagent_status with the returned runId to monitor progress, as completion may take some time. Synonyms: Run subtask, run sub-agent, delegate task, delegate sub-task. Run a query through the Amazon Q CLI
| Parameter | Type | Description |
|---|---|---|
cwd * | string | Working directory path (project root) where the subagent should be executed. Set this to the current working directory, or the current project root, usually the directory with the .git/ folder. |
input * | string | Input to send to the subagent |
run_subagent_claude
Delegates the given task to a claude subagent as an asynchronous sub-task. This creates a new agent instance that will handle the provided input independently and report back its results. The task can be short or long-running. Use check_subagent_status with the returned runId to monitor progress, as completion may take some time. Synonyms: Run subtask, run sub-agent, delegate task, delegate sub-task. Run a query through the Claude CLI
| Parameter | Type | Description |
|---|---|---|
cwd * | string | Working directory path (project root) where the subagent should be executed. Set this to the current working directory, or the current project root, usually the directory with the .git/ folder. |
input * | string | Input to send to the subagent |
check_subagent_status
Check the status of a subagent run. Since sub-agents can take a while it is recommneded to wait at least 30 or 60 seconds (`sleep 30`) in between polling intervals.
| Parameter | Type | Description |
|---|---|---|
runId * | string | Run ID to check status for |
get_subagent_logs
Get the logs of a subagent run. This can be VERY long, so only use this tool if instructed. Requires only the runId.
| Parameter | Type | Description |
|---|---|---|
runId * | string | Run ID to get logs for |
update_subagent_status
Update the status and summary of a subagent run. This tool is meant to be used from sub-agents, not the main agent. Requires runId and status.
| Parameter | Type | Description |
|---|---|---|
runId * | string | Run ID to update status for |
status * | string | New status to set |
summary | string | Summary or result message to include with the status update |
ask_parent
Enables the subagent to ask a question to the parent agent.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question/message content |
runId * | string | The subagent's current run ID |
reply_subagent
Enables the parent to reply to a specific question from a subagent.
| Parameter | Type | Description |
|---|---|---|
answer * | string | The parent's reply content |
messageId * | string | The ID of the message being replied to |
runId * | string | The subagent's run ID |
check_message_status
Check the status of a specific message and retrieve the reply if available. This will acknowledge the message if it has been replied to.
| Parameter | Type | Description |
|---|---|---|
messageId * | string | Message ID to check status for |
runId * | string | Run ID to check message status for |