
Context Bridge
Solves the conversation handoff problem when you hit context limits or switch AI platforms mid-task. Exposes three MCP tools: compress_context takes a raw transcript and extracts goal, decisions, state, open threads, and next steps into a structured block; format_for_target adapts that block for Claude, ChatGPT, or Gemini; resume_context builds the full landing package. Runs compression through OpenAI, Google, Groq, or a custom endpoint with BYOK, or falls back to a hosted no-key lane. Installs via npx in Claude Desktop. Useful when you need to move a complex multi-turn conversation between providers without losing the thread or forcing the user to manually summarize progress.
- GitHub stars
- 1
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env vars
- 5
- last updated
- May 12, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
compress_contextCompresses a raw transcript into a structured context block.
Compresses a raw transcript into a structured context block.
No parameter schema in public metadata yet.
format_for_targetFormats a compressed context block for a destination platform.
Formats a compressed context block for a destination platform.
No parameter schema in public metadata yet.
resume_contextBuilds a destination-ready landing package from a compressed context block.
Builds a destination-ready landing package from a compressed context block.
No parameter schema in public metadata yet.
Sponsors
Configuration
OPENAI_API_KEYsecretOptional BYOK API key for the OpenAI Responses or chat-completions lane.
OPENAI_MODELOptional model override for the OpenAI BYOK lane.
CONTEXTBRIDGE_HOSTED_URLOptional hosted inference endpoint for the no-key lane.
CONTEXTBRIDGE_HOSTED_API_KEYsecretOptional auth key for the hosted inference endpoint.
CONTEXTBRIDGE_HOSTED_MODELOptional hosted model identifier override.
Readme
ContextBridge
ContextBridge is a context portability tool for AI conversations. This package publishes the MCP server surface: it compresses an in-progress conversation into a structured context block that preserves the user's goal, confirmed decisions, current state, open threads, artifacts, constraints, recent pivots, and suggested next step, then formats that handoff so another AI can continue without forcing the user to restate everything.
The published npm artifact is the stdio MCP server for Claude Desktop, agent runtimes, and other MCP-compatible hosts. The browser extension runtime is developed in the same repository, but it is not part of this MCP Registry publishing flow.
Published Links
Details
- Repository
- github.com/prateekg7/context-bridge
- Package
@contextbridge_ai/mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active