MCP Bridge Lets ChatGPT Web Access Your Local Codebase, Saving IDE Tokens
Developers using AI-powered IDEs like Cursor or VS Code with Copilot often exhaust premium API token quotas quickly, leading to slowdowns or unexpected costs. A new open-source project uses Anthropic's Model Context Protocol (MCP), Node.js, and Cloudflare Tunnels to bridge a local codebase with a web-based ChatGPT Plus subscription. The setup exposes a read-only view of local project files to ChatGPT Web, allowing it to handle token-heavy tasks like architecture planning and bug analysis without consuming IDE API credits. Cloudflare Tunnels handle secure, encrypted connectivity without requiring port forwarding or a public IP address, while OAuth controls ensure only the authenticated user can access local files. The approach effectively splits AI-assisted coding into two phases — heavy reasoning offloaded to ChatGPT Web and fast autocomplete handled by the local IDE — at no additional token cost.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in