PlugWiki
Codeman logo

Codeman MCP Server: Let One Coding Agent Run Others

OfficialLocal
Getnpmaicodemanark0n/codeman

Lets Claude, Codex, Cursor and other assistants start other coding agents in Codeman, prompt them and read their answers.

Codeman is a web dashboard that runs AI coding agents (Claude Code, Codex, Gemini CLI and more) in persistent terminal sessions. Its MCP server lets one assistant start those sessions, send them prompts, wait for them and collect the answers.

It does not work alone. You need a running Codeman install, and the MCP server connects to it by address. The server runs on your machine and uses the CLI logins already set up on the Codeman host, so workers use your own agent accounts.

Good for

  • Developers who already run Codeman and want agents to hand work to each other
  • People who want a second opinion from a different coding CLI
  • Teams running long tasks in parallel workers

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install Codeman MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the Codeman MCP server to Claude Code. Run this command:
    
    claude mcp add codeman -e CODEMAN_API_URL=https://127.0.0.1:3000 -- codeman mcp
    
    Ask me for CODEMAN_API_URL and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Running Codeman server, Node.js 22+, codeman on PATH.

Read-only mode: No read-only mode. Without --allow-any-session (the default), prompting, interrupting and deleting only work on sessions the server started itself.

Install Codeman first, then add this server. The README calls the command codeman mcp. If codeman is not on your PATH, use node /path/to/Codeman/dist/index.js mcp instead. For Codex, the README also suggests raising the tool timeout to 120 seconds for long waits.

From the project README. Source.

Tools

  • Lists your Codeman sessions

    Shows every session you can see, each an agent CLI or shell in a tmux pane, with its ID, name, run mode, status, folder and whether this server may prompt it.

    Try: “Which Codeman sessions are open right now?”

    Read · list_sessions

  • Starts a worker agent

    Opens a new session in a coding agent CLI or shell on the Codeman machine, in a named case folder, and waits until it can take a prompt. It shows up as a new tab in your dashboard.

    Try: “Start a Codex worker in a new case called review-auth-1.”

    Runs code · start_session

  • Types a prompt into a worker

    Types one line into a session this server started and presses Enter. By default it waits for the turn to finish, or times out.

    Try: “Tell the review worker to check the auth module and print DONE_7f3a when finished.”

    Runs code · send_prompt

  • Waits for a worker

    Waits until a session finishes its turn, stops for a permission prompt, goes idle or exits, or until a literal text marker appears in its output.

    Try: “Wait for the review worker to finish.”

    Read · wait_for_session

  • Reads a worker answer

    Returns the last answer, the whole conversation or the end of the terminal screen of a session, capped in length.

    Try: “Show me the last answer from the review worker.”

    Read · read_output

  • Stops a worker turn

    Presses Escape in a session this server started, which stops its current turn and keeps the conversation.

    Try: “Interrupt the review worker.”

    Write · interrupt_session

  • Closes a worker

    Ends the CLI and removes its tab for a session this server started. The case folder stays on disk.

    Try: “Close the review worker now that it has answered.”

    Delete · delete_session

Read from the source code

Permissions

high risk · 4 things to watch

High risk

An assistant using this can start other coding agents that edit files and run commands on your Codeman machine, and it can close their sessions. Keep each worker in its own case folder, and leave --allow-any-session off.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Workers can edit files and run commands

    start_session and send_prompt start real coding agents in a case folder. What they do is limited only by that agent's own permission settings, so give each worker a fresh case and check what it is allowed to run. github.com

  • Workers spend your agent accounts

    Workers run on the CLI logins of the Codeman host, so each prompt uses your Claude, Codex or other plan quota. github.com

  • --allow-any-session lets it drive your existing tabs

    By default prompt, interrupt and delete only work on sessions this server started. The --allow-any-session flag lifts that limit, so leave it off unless you want that. github.com

  • delete_session closes a session

    It ends the agent CLI and removes its tab, but the case folder stays on disk. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Talks toTalks only to the Codeman address you set in CODEMAN_API_URL
Sign-in and keysCODEMAN_API_URL is required. CODEMAN_PASSWORD is needed only if your Codeman server has a password; the server can also read it from the Codeman data directory .env file.

Questions

Is the Codeman MCP server official?

Yes. It ships inside Codeman itself, as the codeman mcp command in the Ark0N/codeman repo, and it is also listed in the official MCP Registry.

Do I need Codeman running first?

Yes. The MCP server is a client of Codeman's web API, so it needs a running Codeman and its address in CODEMAN_API_URL. Without the address it still starts and lists its tools, but every call says how to set it up.

Does it need a password or API key?

Only if your Codeman server has a password. Then add CODEMAN_PASSWORD, or let it read the Codeman data directory .env file.

Can the assistant control my existing Codeman tabs?

Not by default. It can list and read all sessions, but it only prompts, interrupts or deletes sessions it started itself. Starting it with --allow-any-session lifts that limit.

Which agent CLIs can it start?

Any CLI installed on the Codeman host that Codeman supports, such as Claude Code, Codex, Gemini CLI, OpenCode, Grok and DeepSeek, or a plain shell.

Why do long waits time out in Codex?

Codex cuts MCP tools off at 60 seconds by default. The README suggests raising the tool timeout in the Codex config, and waits default to 45 seconds so they fit.

How do I add it to my assistant?

Use the install box above. The command is codeman mcp, so the codeman command must be on your PATH.

Information

updated Nov 2, 2026

Publisher
Official
Package
aicodeman
Registry
npm
Transport
stdio
Version
1.47.0
License
MIT
Last commit
Oct 28, 2026
Open issues
7
Listed in
Official MCP registry

WebsiteGitHubnpmOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. README.md · github.com
  2. mcp-server.ts · github.com
  3. package.json · github.com
  4. aicodeman · npmjs.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.