claude-wrap-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-wrap-mcpask Claude Code to write a React component for the dashboard"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-wrap-mcp
An MCP server that lets an agent spawn and
drive real Claude Code sessions, so Claude Code can run a fleet of Claude Code
sub-agents. Built on claude-wrap.
Needs Node ≥ 18 and the claude CLI on your PATH. Headless sessions work
everywhere; attaching to visible terminal windows is Windows-first.
Install
npm install -g claude-wrap-mcp
claude mcp add claude-wrap -- claude-wrap-mcpOr in .mcp.json / claude_desktop_config.json:
{
"mcpServers": {
"claude-wrap": { "command": "npx", "args": ["-y", "claude-wrap-mcp"] }
}
}Related MCP server: cc-agent
Tools
Tool | What it does |
| Start a session in an absolute |
| Send a prompt, wait for idle, return the transcript tail + parsed state. |
| Send raw input ( |
| Busy, mode, tokens, pending permission prompt, todos, last 5 tool names. |
| Page through the session's tool calls. Ids + names by default. |
| One tool call by id: its args and result. |
| The rendered transcript lines. |
| Every session, spawned here or discovered, with its backend, tmux attach command and lineage. |
|
|
| Shut down a session this server spawned or adopted (kills a tmux session). |
There is a second family, claudep_*, that drives non-interactive claude -p
sessions and returns structured JSON, tool calls, usage and cost.
Two things worth knowing:
Permission prompts are surfaced, not bypassed. When
claude_askorclaude_statusreports apermissionPrompt, answer it withclaude_resolve_permission.Tool calls are paged, not dumped. A status poll stays cheap because it carries only names;
claude_tool_callslists the rest andclaude_tool_resultfetches one call's output by id.
Sessions in tmux (Linux/macOS)
Set CLAUDE_WRAP_BACKEND=tmux in the server's environment (e.g. box-wide).
claude_* sessions then run in tmux sessions, with no change to the MCP
config:
they outlive this server: on shutdown it leaves them running, and anyone can
tmux attach(the command is inclaude_spawn/claude_list). SetCLAUDE_WRAP_TMUX_ON_EXIT=killto stop them with the server instead;any server adopts them: pass a tmux session name (as listed) as
sessionIdand the session is attached in-process, with full parsed state;lineage: a session spawned from inside an agent that has
TASK_ID/AGENT_IDset records that task and parent.claude_listshows it, and the registry entry (CLAUDE_WRAP_REGISTRY, one file per session when it's a directory) carries it for a supervisor.
See claude-wrap's README ("tmux backend") for the knobs and the entry format.
Develop
pnpm install
pnpm --filter claude-wrap-mcp build
pnpm --filter claude-wrap-mcp testLicense
MIT © Alex Kaffetzakis
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Official MCP server for subfeed.app — the cloud for agents. 15+ tools for AI agents to register, build, and deploy other agents. Zero human required. Start here: subfeed.app/skill.md
Related MCP Servers
- AlicenseAqualityCmaintenanceWraps the Claude Agent SDK as MCP servers, letting you spawn multiple specialized Claude Code agents — each with its own model, tools, system prompt, and personality — from any MCP client.549 npm21ISC
- AlicenseAqualityDmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.47159 npm2Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that enables Claude to orchestrate multiple autonomous Claude Code agents working in parallel across different projects, with tools to dispatch, monitor, and manage their progress.618 npm1MIT
- AlicenseAqualityDmaintenanceA local MCP server that lets Claude Code orchestrate Codex CLI and OpenCode CLI as sub-agents with strict security, concurrency, and output limits.41MIT