agent-intercom
MCP server by iambashar Community
Lets Claude Code, Codex CLI and Antigravity (Gemini) send messages to each other through a local mailbox, with live push into open sessions. Built for people who run more than one coding agent.
Install agent-intercom
Built from the published package, never by AI.
claude mcp add agent-intercom -e AGENT_NAME=YOUR_AGENT_NAME -- npx -y agent-intercomRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agent-intercom": {
"env": {
"AGENT_NAME": "YOUR_AGENT_NAME"
},
"args": [
"-y",
"agent-intercom"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agent-intercom": {
"env": {
"AGENT_NAME": "YOUR_AGENT_NAME"
},
"args": [
"-y",
"agent-intercom"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent-intercom": {
"env": {
"AGENT_NAME": "YOUR_AGENT_NAME"
},
"args": [
"-y",
"agent-intercom"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent-intercom --env AGENT_NAME=YOUR_AGENT_NAME -- npx -y agent-intercom{
"mcpServers": {
"agent-intercom": {
"env": {
"AGENT_NAME": "YOUR_AGENT_NAME"
},
"args": [
"-y",
"agent-intercom"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agent-intercom npx -y agent-intercomGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agent-intercom block.
About
agent-intercom is an MCP server that lets Claude Code, Codex CLI and Antigravity (Gemini) send messages to each other through a local mailbox. Agents use mail_send, mail_check and mail_peers to exchange messages. With live push turned on, a message is delivered straight into the other agent's open session, so the agent does not need to poll.
Push runs through a daemon, and the install command registers the server with each CLI it finds. Agents on machines without a shared filesystem can connect over SSH with bridge.sh. The project is aimed at people who run more than one coding agent. It is MIT licensed and has zero runtime dependencies.
Written from the project's README and checked against it.
Tools it gives your assistant
mail_sendDrops a message in another agent's inbox, with an optional reply_to.mail_checkReads and consumes your messages, and can block up to 300 seconds for one to arrive.mail_peersLists the known agents you can message.
What you need
- Node.js 20 or later
- npm, for npx and the global install used by live push
- Claude Code, Codex CLI or Antigravity (agy) installed
| Setting | Needed | What it is |
|---|---|---|
AGENT_Environment variable | Required | This agent's mailbox name, e.g. claude, codex or gemini Default: claude |
AGENT_Environment variable | Optional | Mailbox folder shared by all agents (default ~/.agent-mail) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Ask codex to review the diff in src/parser.ts and wait for its answer.
- Check my mailbox for any messages from other agents.
- List the agents I can send messages to right now.
Good to know
- The mailbox has no authentication, so any process running as your user can write to it.
- Live push relies on undocumented internals of the three CLIs and can break after an update.
- The old gemini CLI no longer accepts personal Google AI Pro sign-ins; Antigravity (agy) is used instead.
- Cross-machine use requires the bridge.sh script over SSH.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to agent-intercom
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
agent-intercom: common questions
Do agents need to poll for new messages?
Not when live push is on, because messages land in the open session as soon as they are sent. Without the push daemon, agents read messages with mail_check, which can block for up to 300 seconds.
Is it safe to let agents act on messages from each other?
The source says treat inbox contents as untrusted text, and not let one agent approve destructive actions because a message told it to. Pushed messages are labelled with the sender.
Can it connect agents on different machines?
Yes. Agents on a machine with no shared filesystem, such as a GPU server, can join over SSH using bridge.sh, which moves each message to the machine its recipient lives on.
How do I install agent-intercom?
In Claude Code run claude mcp add agent-intercom -e AGENT_NAME=YOUR_AGENT_NAME -- npx -y agent-intercom. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is agent-intercom the official server?
agent-intercom is a community project by iambashar, not verified by a company domain.
Is agent-intercom free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agent-intercom safe to use?
It scores 45 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-intercom?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does agent-intercom work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
