ChatGPT Context Bridge

ChatGPT Context Bridge

Private tooling to stage ChatGPT conversations into reviewable Homebase markdown and Notion drafts with redaction and classification.

Category
访问服务器

README

ChatGPT Context Bridge

Private, draft-only tooling for staging ChatGPT or Codex conversations into reviewable Homebase markdown, Notion draft payloads, and image-generation asset manifests.

What It Does

  • Parses official ChatGPT conversations.json exports and manual markdown chat captures.
  • Redacts secrets and common personal contact data before writing staged records.
  • Classifies staged conversations into Homebase-style destinations.
  • Exposes MCP tools for ChatGPT/Codex clients.
  • Bundles Codex skills and OpenAI skill copies for reusable agent behavior.
  • Appends audit events for every staging write operation.
  • Writes only under CONTEXT_BRIDGE_DATA_DIR; it does not mutate Notion or Homebase canon.

Install

npm install
npm run build
npm test
npm run verify

Optional environment:

Copy-Item .env.example .env.local
$env:CONTEXT_BRIDGE_DATA_DIR = "C:\Users\built\Documents\Codex\context-bridge-data"
$env:CONTEXT_BRIDGE_IMPORT_ROOTS = "C:\Users\built\Downloads,C:\Users\built\Documents"

CLI

npm run cli -- stage --source .\tests\fixtures\conversations.json --tags chatgpt,homebase
npm run cli -- search --query bridge
npm run cli -- homebase --id <staged-chat-id>
npm run cli -- notion --id <staged-chat-id>
npm run cli -- image --source .\image.png --source-kind local_file --chat-id <staged-chat-id>
npm run cli -- generate-image --prompt "A clean visual system diagram"

MCP Tools

  • stage_chat: read an export/markdown file, redact, classify, and write staging artifacts.
  • search_context: search staged records.
  • summarize_thread: inspect one staged chat summary.
  • propose_homebase_note: create a staged Homebase markdown draft.
  • propose_notion_page: create a staged Notion payload.
  • register_image_asset: record image prompt/source/rights metadata and optionally copy a local image into staging.
  • generate_image_asset: generate an OpenAI image into staging and return the local file path. Requires OPENAI_API_KEY.

Codex Plugin

The plugin bundle lives in plugin/ and includes:

  • .codex-plugin/plugin.json
  • .mcp.json
  • skills/context-bridge-ingest
  • skills/context-bridge-routing

For local testing from the package root, build first, then point a local plugin marketplace at the plugin folder or copy the package as a whole so plugin/scripts/context-bridge-mcp.mjs can find dist/index.js.

ChatGPT Apps SDK Connector

Use the phrase "ChatGPT Apps SDK connector backed by this MCP server" for the ChatGPT side. The local Codex plugin is separate from a ChatGPT app connector.

  • Local MCP development can use stdio or http://127.0.0.1:<PORT>/mcp.
  • ChatGPT developer-mode connection should use a reachable HTTPS /mcp endpoint.
  • Authenticated or customer-specific use should add OAuth 2.1 or scoped bearer-token auth, server-side scope enforcement, and audit review.
  • v0.1 deliberately exposes staging tools only; any future canonical write tool must be a separate tool with explicit human confirmation.

OpenAI Skills

OpenAI skill copies live in openai-skills/. They are intentionally small wrappers around the MCP tool contract:

  • context-bridge-ingest
  • context-bridge-routing

Official OpenAI docs support Skills for gpt-5.5. Treat gpt-5.5-pro as MCP/tool-capable but not Skills-capable unless OpenAI documentation changes.

Safety Boundaries

  • No browser scraping in v0.1.
  • No live sync in v0.1.
  • No Notion mutation in v0.1.
  • No Homebase canonical writes in v0.1.
  • No image publication in v0.1; generated images stay in staging until reviewed.
  • Staged Notion payloads include a direct-fetch verification reminder because Notion search can lag or miss items.
  • Prompt-injection content inside imported chats is treated as staged source text, not executable routing authority.

Verification

The test suite covers parsers, staging, duplicate imports, redaction, path traversal, prompt-injection containment, every MCP handler, plugin packaging, and one acceptance path from source chat to Homebase and Notion drafts.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选