# agent-intercom MCP server

> Enables Claude Code, Codex CLI, and Antigravity to exchange messages and land them directly into each other's open sessions via live push.

- Repository: https://github.com/iambashar/agent-intercom
- Page: https://hostedmcp.org/servers/iambashar/agent-intercom
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.2.5

## Install

### Claude Code

```sh
claude mcp add --env AGENT_NAME=<AGENT_NAME> agent-intercom -- npx -y agent-intercom
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "agent-intercom": {
      "command": "npx",
      "args": [
        "-y",
        "agent-intercom"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "agent-intercom": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-intercom"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>"
      }
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agent-intercom": {
      "command": "npx",
      "args": [
        "-y",
        "agent-intercom"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>"
      }
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.agent-intercom]
command = "npx"
args = ["-y", "agent-intercom"]

[mcp_servers.agent-intercom.env]
AGENT_NAME = "<AGENT_NAME>"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agent-intercom": {
      "command": "npx",
      "args": [
        "-y",
        "agent-intercom"
      ],
      "env": {
        "AGENT_NAME": "<AGENT_NAME>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AGENT_NAME` | yes | no | This agent's mailbox name, e.g. claude, codex or gemini |
| `AGENT_MAIL_DIR` | no | no | Mailbox folder shared by all agents (default ~/.agent-mail) |
| `BRIDGE_HOST` | no | no |  |

## FAQ

### How do I get started with agent-intercom?

You can install it by running `npx agent-intercom install`. If you are using Claude Code only, you can install it as a plugin instead.

### Does it support live push so I don't have to poll for messages?

Yes, you can turn on live push by installing it globally and running the install command with the push flag.

### Can I use agent-intercom across different machines?

Yes, you can use bridge.sh to move messages over SSH between machines that do not share a filesystem, such as a laptop and a GPU server.
