ChatGPT Context Bridge

ChatGPT Context Bridge

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

Category
Visit Server

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured