Credentials. The Runtime API key controls the Secure MCP Tunnel, so store it only in the OS credential store and never paste it into chat or commit it to Git.
Who it is forA developer who wants ChatGPT to read, change, and test a local project without copying code back and forth by hand.
The problemChatGPT in a chat window cannot touch the files and commands on your machine, so every change needs manual copying.
The outcomeChatGPT calls OpenChatX file and shell tools against a bound project folder and reports the results in the same chat.
What you need first
- A ChatGPT account with access to Developer Mode and MCP apps, or the Plugins flow described in the README
- An OpenAI Platform account with permission to create a Secure MCP Tunnel and a Runtime API key
- Windows or macOS for the Desktop App, or Node.js 22.18+, npm, ripgrep, and OpenAI tunnel-client for the source install
Steps
- Download the matching installer from https://github.com/XiaoPuOuO/openchatx-mcp/releases/latest and install OpenChatX Desktop.
- In OpenAI Platform, create a tunnel on the Tunnels page and copy the tunnel_... ID.
- Create a Runtime API key on the API Keys page and store it safely.
- Open OpenChatX Desktop, go to More, choose Connect Tunnel, and enter the Tunnel ID and control-plane API key.
- In ChatGPT, finish the MCP app by selecting the openchatx tunnel, setting authentication to No authentication, and clicking Create.
Prompt for your agent
Using the OpenChatX MCP connection in the openchatx-mcp repo, open the project at <project-folder> as a Projects workspace and list its files, then run its test command through the shell tool. Report which files changed and the test result. Verify that the shell output matches what you see in the project folder.
Caveat. OpenChatX runs with your local user permissions, so a trusted ChatGPT caller can change files and run commands on the machine.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for XiaoPuOuO/openchatx-mcp and "Let ChatGPT edit code and run shell commands locally"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer