Skip to main content
Glama

Spaces Context Bridge

Read and edit your ChatGPT Spaces from Claude Code, Codex, OpenCode and other MCP clients.

Keep project context in Spaces and use it from whichever agent you work with. Search for a decision, read the source, or edit a Page without copying text between apps. Spaces Context Bridge runs on your Mac.

The adapter calls Spaces tools through your signed-in Codex CLI, without starting another model turn. You can connect each client directly or share one connection through Executor.

What you can do

  • Find context: list Spaces, search Pages and read their contents with source links.

  • Edit a Page: replace one exact span in one block, checked against a fresh read and verified afterward.

  • Save notes: create a Page containing selected notes or a transcript in a Space you choose, with duplicate protection for retries.

Find the launch plan in my Product Space and summarize the open decisions with source links.

In the Launch Plan Page, replace “Target date: October 20” with “Target date: October 23”. Leave everything else unchanged.

Related MCP server: workspace-agent-relay-mcp

Get started

You need macOS, Node.js 22.13+, and the Codex CLI signed in with your ChatGPT account, with Spaces tools available to that account in Codex. Codex provides the Spaces connection even when Claude Code or another client is doing the work.

git clone https://github.com/designxdevelop/spaces-context-bridge.git
cd spaces-context-bridge
npm run setup
npm start

No npm dependencies are required. Setup creates a private owner key and a read-only configuration; the server listens at http://127.0.0.1:4791/mcp.

  1. Connect your client using the key as a bearer token. Keep it out of chat and committed configuration.

  2. Ask your agent to list your Spaces.

  3. Stop the server, allow writes to the Spaces you choose, then restart:

npm run setup -- --allow-space page_space_EXAMPLE
npm start

--allow-space adds permissions; rerunning setup preserves existing permissions, the key and save journal. See the setup guide for configuration and removing permissions, or set up with your agent.

Clients

Client setup includes Claude Code, Codex and OpenCode configuration. T3 Code and Executor covers sharing the connection across providers.

The T3 Code (Codex) → Executor → adapter path has been tested live. Other client configurations are documented but have not been tested live. Clients must run on the same Mac as the adapter; cloud app connectors cannot reach its loopback address.

How it works

flowchart LR
  A["Claude Code / Codex / OpenCode / T3 Code"] -->|MCP| B["Spaces Context Bridge<br/>on your Mac"]
  B --> C["Codex CLI<br/>your sign-in"]
  C --> D["ChatGPT Spaces Pages"]

Observed reads and writes completed in seconds; these timings are not guarantees. The Mac must stay awake with the server running and Codex signed in. See architecture and limits and test evidence.

Optional: meeting notes

Spaces access works without a recording app. If you use Superwhisper, connect its separate MCP server and ask your agent to save selected notes or transcripts into a named Space. ChatGPT Meetings list/fetch tools are also included when requested; fetching a real Meeting note remains unverified.

Meeting setup and the agent prompt cover source selection, citations and safe retries. Imports happen when requested; automatic recording sync is not included.

Privacy and permissions

Pages live at OpenAI. Your agent and its model provider see the content you ask it to handle; edits and saves go through Codex back to Spaces. Meeting imports also send selected text to those providers. This is not local-only processing.

The adapter stores IDs, hashes and status in a private journal, without note text. Reads cover accessible current Space Pages; writes require an explicit Space allowlist. It has no delete, share, publish, move or messaging tools. Uncertain writes must be reconciled before retrying.

See security for trust boundaries and private reporting, and operations for backup, upgrade, key rotation and uninstall instructions. You run it under your own accounts; the maintainers host no service. Your ChatGPT and agent-provider terms and usage charges apply.

Support and development

Use GitHub Issues for setup questions, bugs and feature requests. Include versions and a synthetic reproduction, without keys, recordings or private links. Report vulnerabilities through GitHub private reporting.

Run npm run verify for automated tests and the release-hygiene scan. See CONTRIBUTING.md.

MIT licensed, copyright 2026 Design X Develop. See LICENSE. Independent of OpenAI, Anthropic and Superwhisper.

Maintenance

ActivityNo data
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server implementation designed to run on Cloudflare Workers with integrated OAuth authentication. It enables hosting and securely accessing MCP tools remotely via SSE transport from clients like Claude Desktop.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for self-hosted static site publishing on Cloudflare Workers. Enables AI coding agents to deploy pages with a single 'publish' tool and get live URLs, with support for atomic updates, versioning, and per-site passwords.
    11 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP clients to route JSON-RPC and SSE traffic through a Cloudflare Workers relay that adds project-scoped persistent context, multi-tenant isolation, per-tenant rate limiting, opt-in edge caching, and durable request logging while transparently proxying everything else to upstream MCP servers. It also serves local tools for storing project notes, recalling recent activity, and retrieving session summaries as Markdown.
    1
    MIT