Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 45
  • 2 stars
  • MIT
  • Updated

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-intercom

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install agent-intercom in Claude Code

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
SettingNeededWhat it is
AGENT_NAMEEnvironment variableRequiredThis agent's mailbox name, e.g. claude, codex or gemini Default: claude
AGENT_MAIL_DIREnvironment variableOptionalMailbox 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

A

No 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 →

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.

agent-intercom Install

Add to stack

Loading.