ExchangeSession

Share context between coding sessions in real-time.

1

Add the MCP server

Add Exchange Session to your OpenCode or Claude Code config

2

Create a session

/exchange-create marsh — get a 6-character join code

3

Share the code

Send the code to your collaborator via Slack, Discord, etc.

4

Your friend connects

/exchange-join XJ4K9M alex — works from OpenCode, Claude Code, or any MCP client

5

Send context

/exchange-send my API endpoint docs — your friend gets notified instantly

6

Receive & review

/exchange-receive — see what your friend sent, or preview it in the browser

OpenCode opencode.json

{
  "mcp": {
    "exchange": {
      "type": "remote",
      "url": "https://exchangesession.io/mcp"
    }
  }
}

Claude Code .mcp.json

{
  "mcpServers": {
    "exchange": {
      "url": "https://exchangesession.io/mcp"
    }
  }
}

Works across tools — an OpenCode user and a Claude Code user can exchange context in the same session.

Commands

/exchange-create <name>Create a session
/exchange-join <code> [name]Join a session
/exchange-send <description>Send context
/exchange-receiveFetch latest file
/exchange-statusSession info
/exchange-listList all your sessions
/exchange-close [code]Close a session

Or just use natural language — send my API docs to my friend works too.
Names are optional on join. If omitted, a random alias like dev-x9k2 is assigned.