agent-intercom

v0.2.6
io.github.iambashar/agent-intercom Checked 5 hours ago Published 8 days ago

Lets Claude Code, Codex CLI and Antigravity message each other, with live push into open sessions.

Values you need

VariableWhat it is
AGENT_NAMErequired This agent's mailbox name, e.g. claude, codex or gemini Default: claude
AGENT_MAIL_DIRoptional Mailbox folder shared by all agents (default ~/.agent-mail)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add agent-intercom -e AGENT_NAME=claude -- npx -y agent-intercom@0.2.6 serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agent-intercom": {
      "args": [
        "-y",
        "agent-intercom@0.2.6",
        "serve"
      ],
      "command": "npx",
      "env": {
        "AGENT_NAME": "claude"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agent-intercom": {
      "args": [
        "-y",
        "agent-intercom@0.2.6",
        "serve"
      ],
      "command": "npx",
      "env": {
        "AGENT_NAME": "claude"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "AGENT_NAME",
      "id": "agent-name",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "agent-intercom": {
      "args": [
        "-y",
        "agent-intercom@0.2.6",
        "serve"
      ],
      "command": "npx",
      "env": {
        "AGENT_NAME": "${input:agent-name}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agent-intercom]
command = "npx"
args = ["-y", "agent-intercom@0.2.6", "serve"]
env = { "AGENT_NAME" = "claude" }

For AI agents

  1. Ask the user for: AGENT_NAME. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: mail_send, mail_check, mail_peers.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json