Skip to content
VS Code

intercom for VS Code

io.github.muhammadtalhamt/intercom

Relays messages between two Claude Code sessions on different machines using the Channels API

client:VS Code transport:stdio runtime:npm

Install intercom in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "my-role",
      "description": "MY_ROLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "remote-host",
      "description": "REMOTE_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "intercom-secret",
      "description": "INTERCOM_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "intercom-port",
      "description": "INTERCOM_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "intercom-host",
      "description": "INTERCOM_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "intercom-send-timeout-ms",
      "description": "INTERCOM_SEND_TIMEOUT_MS",
      "password": true
    }
  ],
  "servers": {
    "intercom": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "claude-intercom"
      ],
      "env": {
        "MY_ROLE": "${input:my-role}",
        "REMOTE_HOST": "${input:remote-host}",
        "INTERCOM_SECRET": "${input:intercom-secret}",
        "INTERCOM_PORT": "${input:intercom-port}",
        "INTERCOM_HOST": "${input:intercom-host}",
        "INTERCOM_SEND_TIMEOUT_MS": "${input:intercom-send-timeout-ms}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

intercom in other clients