AI情报2026年8月19日实用技巧
文章
I built an MCP server that lets two Claude Code sessions on different machines message each other
Frontier 编辑部来源: Reddit r/ClaudeAI
01
来源简报
I built an MCP server that lets two Claude Code sessions on different machines message each other
02
实用技巧
i kept copy pasting between two machines regarding APIs and architecture. between my PC's Claude Code which was supposed to work on my frontend and my other claude code sessions running on my ubuntu VPS was working on the backend. So I built an intercom which used channels API of anthropic as well as MCP server to transmit messages between 2 claude code sessions. how it works: you run it on both machines with a shared secret. one session calls send_message, and the text gets pushed into the other session's live conversation, so it doesn't have to be polling or sitting there waiting for you. it can reply back on the same thread. anthropic shipped cross session messaging natively a couple of weeks ago and for most people that's the better answer, it's built in and there's nothing to run. it covers macos and linux including wsl, and it ties the inbox to your own os user. so mine is only worth it in two cases: native windows, and two different people on two different accounts, which the native path isn't really built for. claude code wrote most of it with me. it's totally free and MIT, npx claude-intercom, needs bun. it stays a local stdio server on purpose, that stdio connection is what attaches it to your session, so it can't be hosted remotely. right now you cannot transmit photos or maintain a shared agentic context between them, but in future I'll be definitely building that if I get a good response on this. Right now this is more of a information sharing MCP where frontend requests backend for an additional endpoint and they both can collaborate on it. https://github.com/MuhammadTalhaMT/claude-intercom happy to answer anything including what's still rough. the honest weak spot is that both machines have to reach each other, so you need tailscale or something similar in between for which a detailed guide is present in the readme of github. TLDR: A way which lets your claude code sessions communicate with each other while being ran on different machines or different accounts. submitted by /u/Current-Zebra-2039 [link] [comments]