MCP bridge lets Claude.ai chat manage Claude Code sessions in a loop
u/Single-Two3496 built an open-source local MCP bridge called Tandem that lets Claude.ai (or ChatGPT) in the browser open, manage, and converse with a Claude Code session on your machine in an autonomous loop.
Score breakdown
The project demonstrates a self-running, bidirectional loop between a browser-based AI chat and a local coding agent, removing the manual handoff that normally separates planning in Claude.ai from execution in Claude Code.
- 01Built by u/Single-Two3496 and fully open source, hosted at github.com/Maxmedawar/tandem.
- 02Acts as a local MCP bridge — not a hosted service — between Claude.ai (or ChatGPT) in the browser and a Claude Code session on the user's machine.
- 03Can start a new Claude Code session or resume an existing one directly from Claude.ai chat.
Tandem is a fully open-source, locally-run MCP bridge that connects Claude.ai's browser chat interface directly to a Claude Code session on the user's machine. Built and shared by u/Single-Two3496, the project allows a user to brainstorm or write a spec inside Claude.ai as normal, then hand off execution to Claude Code without leaving the chat environment. Claude Code can be started fresh or resumed from an existing session.
This removes the need to copy-paste between a planning interface and a coding agent, or to context-switch away from the brainstorming tool to verify or direct work.
The key capability is a bidirectional, autonomous loop: Claude Code sends its responses back up into the Claude.ai browser chat, and Claude.ai in turn replies back down through the CLI — repeating without manual intervention. This removes the need to copy-paste between a planning interface and a coding agent, or to context-switch away from the brainstorming tool to verify or direct work. The same flow is described as working with ChatGPT in the browser as well.
Because Tandem is a local bridge rather than a hosted service, it runs real commands directly on the user's machine. The author notes that the token and current-working-directory (`cwd`) allowlist controls are therefore significant security considerations. The source code is available at `https://github.com/Maxmedawar/tandem`.
Key facts
- 01Built by u/Single-Two3496 and fully open source, hosted at github.com/Maxmedawar/tandem.
- 02Acts as a local MCP bridge — not a hosted service — between Claude.ai (or ChatGPT) in the browser and a Claude Code session on the user's machine.
- 03Can start a new Claude Code session or resume an existing one directly from Claude.ai chat.
- 04Claude Code responses feed back into the Claude.ai browser chat automatically, and Claude.ai replies back down through the CLI, forming a self-running loop.
- 05Eliminates manual copy-pasting and context-switching between brainstorming and coding-agent tools.
- 06Because it runs real commands on the machine, the token and cwd allowlist are called out as important security controls.
Topics
Summary and scoring are generated automatically from the original article. We always link back to the publisher and never republish images or paywalled content. Last processed Jun 9, 2026 · 17:05 UTC. How this works →