Context portability MCP server for compressing, formatting, and resuming AI conversation handoffs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Add this to your Claude Desktop MCP config (~/Library/Application Support/Claude/claude_desktop_config.json):
Or with OpenAI:
For a hosted no-key lane instead of BYOK:
compress_contextCompresses a raw transcript into a structured context block.
Parameters:
transcript (string, required): the raw conversation transcript to compress.provider ("openai" | "openai-chat" | "google" | "groq" | "custom" | "hosted", optional): provider override.model (string, optional): model override for the selected lane.apiKey (string, optional): BYOK API key override.baseUrl (string, optional): API base URL override.hostedApiKey (string, optional): optional auth key for the hosted lane.format_for_targetFormats a compressed context block for a destination platform.
Parameters:
context_block (object, required): a validated ContextBridge compressed context block.target ("claude" | "chatgpt" | "gemini", required): destination AI platform.resume_contextBuilds a destination-ready landing package from a compressed context block.
Parameters:
context_block (object, required): a validated ContextBridge compressed context block.target ("claude" | "chatgpt" | "gemini", required): destination AI platform.ContextBridge auto-selects the OpenAI Responses lane when a BYOK key is present.
Environment variables:
Additional supported provider overrides:
The hosted lane is the no-key path for end users who do not bring their own provider credentials.
Environment variables:
Selection priority:
apiKey option passed into compression uses the OpenAI Responses BYOK lane.OPENAI_API_KEY uses the OpenAI Responses BYOK lane.CONTEXTBRIDGE_HOSTED_URL uses the hosted lane.Contributions are welcome. The highest-leverage areas are extraction quality evaluation, browser collector resilience, destination formatting quality, hosted-lane infrastructure, and real-world handoff testing across platforms.
MIT. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/context-bridge)<a href="https://allmcps.com/mcp/context-bridge"><img src="https://allmcps.com/api/badge/context-bridge?style=directory" alt="Context Bridge on AllMCPs" /></a>