DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let ChatGPT edit code and run shell commands locally with Openchatx MCP

Give ChatGPT coding-grade file and shell tools on your own computer through one MCP connection.

Short answer: Download the matching installer from https://github.com/XiaoPuOuO/openchatx-mcp/releases/latest and install OpenChatX Desktop; then 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. All steps.

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

  1. Download the matching installer from https://github.com/XiaoPuOuO/openchatx-mcp/releases/latest and install OpenChatX Desktop.
  2. In OpenAI Platform, create a tunnel on the Tunnels page and copy the tunnel_... ID.
  3. Create a Runtime API key on the API Keys page and store it safely.
  4. Open OpenChatX Desktop, go to More, choose Connect Tunnel, and enter the Tunnel ID and control-plane API key.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer