Local Agent Bridge (CLI + MCP)
REAL REPO ACCESSRuns strictly on 127.0.0.1 with a random per-machine pairing token. Your coding agent reads your real project tree and appends research notes directly to docs/IDEAS.md.
Watch Reels, Shorts, and X videos alongside your own AI coding agent.
Connect Claude Code, Codex CLI, Gemini CLI, Antigravity, Ollama, or your own API key. Freeze any frame, crop a UI detail with the Loupe, diff it live against your real repository, and write takeaways straight into docs/IDEAS.md.
Optical scroll aperture with zero layout shift
Matches motion-kit/src/ApertureTrack.ts. Uses clip-path inset instead of height reflow.
Saved folders are where technical curiosity goes to die. You watch a builder solve an architecture or motion problem in twenty seconds, hit bookmark, and never open it again. Kadrum puts your own repository-aware agent on the bench beside the video while it is still playing.
Click the bench or pick one of the four local agent detents. Every moving part follows the real Kadrum transport pipeline from optical capture to repository match score.
Select any stage in the sequence to inspect the exact data packet Kadrum passes between your browser and your agent.
Switch feeds, toggle the tungsten Loupe crop, and route the exact same video to Claude Code, Codex CLI, Gemini CLI, Antigravity, or local Ollama to see how the diff adapts.
Exposing live browser context to local MCP coding agents
Stop pasting screenshots into chat. Let your local coding agent call get_active_reel over stdio MCP.
Wire a bearer-token localhost bridge to an MCP stdio tool so Claude Code and Antigravity pull frames on demand.
Directly strengthens packages/bridge/src/mcp.ts with zero extra dependencies.
| Dimension | In Reel | In Your Repo | Verdict |
|---|---|---|---|
| Transport | JSON-RPC stdio MCP | HTTP + stdio dual mode | ADOPT |
| Auth model | Static local port | Per-machine 48-char token | SKIP |
| Memory lookup | Active tab only | Searchable Contact Sheet archive | INVESTIGATE |
### Exposing live browser context to local MCP coding agents
- Source: YouTube Shorts (@mcp.builds) @ 00:08:18
- Agent: Claude Code (Local Bridge)
- Relevance: 97/100
- Takeaway: Keep Kadrum bearer-token auth on HTTP while exposing get_active_reel and search_reel_archive via stdio MCP.No hosted accounts, no proxied API keys, and no cloud scraping servers. Everything runs between your Chrome extension and your own local tools.

# 1. Start the local bridge inside any repository
npx kadrum serve --project .
# 2. Check detected local agents (Claude, Codex, Gemini, Antigravity, Ollama)
npx kadrum doctor
# 3. Or expose Kadrum directly as an MCP stdio server
npx kadrum mcp{
"mcpServers": {
"kadrum": {
"command": "npx",
"args": ["-y", "@kadrum/bridge", "mcp"]
}
}
}Runs strictly on 127.0.0.1 with a random per-machine pairing token. Your coding agent reads your real project tree and appends research notes directly to docs/IDEAS.md.
Enter your own key in the Chrome Side Panel. Keys never leave chrome.storage.local and requests go directly from your browser to your chosen provider.
Packages the Reel timecode, caption, visible comments, and your project summary into a clean prompt packet, copies it, and opens your existing web chat.
Want to inspect the source or open a pull request? Visit the Kadrum GitHub repository or read the protocol and threat model.