Claude Code
Claude Code works fully with 0bridge: setup, history, resume, agent control and cloud sessions. Level: full. Last checked 2026-10-01.
Last updated
Set it up#
npm install -g 0bridge
0b setup
By hand: claude mcp add --transport http 0bridge https://0bridge.dev/mcp, then run /mcp in Claude Code to sign in. A second Claude Code account (CLAUDE_CONFIG_DIR=~/.claude-b) gets the same setup: Command reference.
What works#
- History: with
0b history on, sessions are collected, including those from the Claude app's Code tab.0b history hooks onadds Stop and SessionEnd hooks to Claude Code's settings so a session uploads when a turn ends, within about 20 seconds, instead of waiting for the 15-minute job. The hooks are silent and never slow a turn down. The same hook also tells the session board when a prompt starts, when Claude Code is waiting for you and when a turn ends. - Resume into Claude Code:
0b resume 0b:k3f9x2 --tool claudestarts Claude Code with the handoff as its first message. On the machine where the session ran, it offersclaude --resumewith the original session. See Resume anywhere. - Resume out of Claude Code: inside Claude Code, say
continue 0b:k3f9x2and it callsbridge__resume. Runbridge__session_saveto checkpoint a summary and the open items first. - Agent control:
0b agentstarts Claude Code tasks headlessly in their own git worktree and relays permission prompts to you. See Your agents from your phone. - Claude Code on the web:
0b project cloudwrites the files a cloud session needs. See Cloud agents.
Remove it#
0b history hooks off takes the hooks out, and only the ones 0bridge added.