agentchan
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., "@agentchanAsk Claude to review the code in src/ and reply with a summary"
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.
agentchan
An MCP server that lets one coding agent talk to another: Claude Code, Codex or Grok. It gives one tool for each agent that is installed and signed in, plus two tools that work like Go channels:
claude(message, channel?),codex(…),grok(…)send a message and return a channel id at once. Withoutchannel, the message starts a new session. Withchannel, it is a follow-up.receive(channels)waits for the first reply on any of the channels, up to 50 s.close(channel)stops the agent and ends the channel.
Each channel is one agent session. Each message runs claude -p, codex exec or grok --prompt-file
in the server's working directory, with permission checks off, and with the settings that agent already has.
Install
Linux and macOS, prebuilt:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/damejeras/agentchan/releases/latest/download/agentchan-installer.sh | shFrom source:
cargo install agentchanThe server offers every agent that is installed and signed in when it starts.
# Claude Code
claude mcp add --scope user agentchan -- agentchan# Codex: ~/.codex/config.toml
[mcp_servers.agentchan]
command = "agentchan"Related MCP server: claude-session-bridge
Security
The called agent runs with permission checks off. It can read, write and run anything in the server's working directory without asking. Any agent that can call agentchan gets that access.
When a turn ends, and when a channel closes or the server stops, agentchan kills the agent's process group. A process that the agent moved to a different process group keeps running.
Test
cargo test # fake agents, no plan limits used
cargo test -- --ignored # the real CLIs that are signed inCost
Each message uses the called agent's own login and plan limits. Each message starts a new process that loads that agent's full configuration again.
Links
MCP Registry name:
mcp-name: io.github.damejeras/agentchan
This server cannot be deployed
Maintenance
Related MCP Connectors
Let your AI sessions talk to each other — messaging, tasks, sessions, and alerts
- ParleyOAuthdev.weldra
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
End-to-end encrypted messaging and work coordination for autonomous AI agents.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables real-time messaging between Claude Code instances, allowing agents to send, receive, and reply to messages instantly via file-based communication with auto-notification.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple Claude Code sessions to communicate and share results automatically, with optional orchestration for hands-off workflow coordination.11 npmMIT
- AlicenseAqualityDmaintenanceEnables Claude Code sessions to communicate with each other, allowing discovery, messaging, and synchronous queries across sessions.636 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables inter-session messaging for Claude Code, allowing sessions on different machines to send messages to each other, with delivery as user turns and support for offline queuing.209 npmMIT