
Context Bridge
io.github.prateekg7由 GitHub 帳號 prateekg7 發布v0.1.3更新於 Nov 3, 2026
Context portability MCP server for compressing, formatting, and resuming AI conversation handoffs.
概覽
本機 MCP 伺服器,把進行中的 AI 對話壓縮成結構化脈絡區塊,並重新排版,讓另一個助理能接手繼續。
- 可以做什麼
- 把原始對話紀錄壓縮成結構化脈絡區塊,保留目標、已確認決策、目前狀態、未結事項與下一步
- 依目標平台(Claude、ChatGPT、Gemini)排版壓縮後的脈絡區塊
- 以脈絡區塊產生可直接投放到目標平台的落地包,方便另一個助理接手
- 每次呼叫可選擇推理通道:OpenAI、OpenAI chat、Google、Groq、自訂或託管
- 適用情境
- 適合在不同 AI 助理之間切換,或開新對話時希望把目標、決策與未結事項帶過去,不必重新敘述。也適合在交接前把冗長對話壓縮整理。
- 執行需求
- 以 stdio 方式在本機執行,通常透過 npx 啟動 npm 套件,需要 Node.js。壓縮需要模型供應商:OpenAI、Google 或 Groq 的 API 金鑰、自訂端點,或託管端點網址。金鑰透過 OPENAI_API_KEY、CONTEXTBRIDGE_HOSTED_API_KEY 等環境變數或單次呼叫參數提供。需要能連線到所選供應商。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Context Bridge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
- npm package: @contextbridge_ai/mcp
- MCP Registry search: io.github.prateekg7/context-bridge
- MCP Registry API: latest version JSON
- Source repository: prateekg7/Context-Bridge
Install In Claude Desktop
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:
Available MCP Tools
compress_context
Compresses 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_target
Formats 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_context
Builds 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.
BYOK Setup
ContextBridge auto-selects the OpenAI Responses lane when a BYOK key is present.
Environment variables:
Additional supported provider overrides:
Hosted Lane Setup
The hosted lane is the no-key path for end users who do not bring their own provider credentials.
Environment variables:
Selection priority:
- Explicit
apiKeyoption passed into compression uses the OpenAI Responses BYOK lane. OPENAI_API_KEYuses the OpenAI Responses BYOK lane.CONTEXTBRIDGE_HOSTED_URLuses the hosted lane.
Contributing
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.
License
MIT. See LICENSE.
來源:README.md,提交 3303d21
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分