Make ChatGPT Agent — Development skill for Claude Code
让 ChatGPT 通过 MCP 读写本机代码仓库(devspace + ngrok)|Let ChatGPT read and write your local code repos via MCP, using devspace and an ngrok tunnel.
How to install Make ChatGPT Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HOWILLMAKEIT/make-chatgpt-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Make ChatGPT Agent does
让 ChatGPT 通过 MCP 读写本机代码仓库(devspace + ngrok)|Let ChatGPT read and write your local code repos via MCP, using devspace and an ngrok tunnel.
Alternatives in Development
- Obsidian MCP Server — Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP 686 ★
- MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
- Chatgpt2localbridge — Codex/ChatGPT plugin app and OAuth MCP connector for approved local workspaces 105 ★
README
make-chatgpt-agent
[](https://github.com/Waishnav/devspace) [](https://ngrok.com/) [](https://modelcontextprotocol.io/) [](https://nodejs.org/) [](LICENSE) [](https://github.com/HOWILLMAKEIT/make-chatgpt-agent)
**让 ChatGPT 网页端通过 MCP 读写本机的代码仓库**
[工作原理](#工作原理) | [前置条件](#前置条件) | [配置步骤](#配置步骤) | [注册命令](#注册-shell-命令可选) | [使用](#使用) | [踩过的坑](#踩过的坑)
方案由 [devspace](https://github.com/Waishnav/devspace)(npm 包 `@waishnav/devspace`)和 ngrok 隧道组成,不含自研服务端。
**让 agent 帮你配置**:把本仓库交给你的 agent(Claude Code、Codex 等),对它说"读 AGENTS.md,帮我配置"即可。AGENTS.md 写明了它能做什么、哪些步骤必须由你亲自完成(ngrok 令牌、ChatGPT 授权等)以及常见的坑。
工作原理
**MCP 服务器就是本机上的 devspace**,监听 `127.0.0.1:7676`,入口是 `/mcp`(Streamable HTTP,自带 OAuth)。ChatGPT 是 MCP 客户端。
问题在于:发请求的不是你的浏览器,而是 **OpenAI 的云端服务器**,它访问不到你电脑上的 `127.0.0.1`。ngrok 解决这件事:
- 本机的 ngrok 客户端主动向外连到 ngrok 云端,建立一条长连接隧道。你的电脑不需要开放端口,也不需要公网 IP。
- ChatGPT 访问你的固定域名时,请求先到 ngrok 云端,再沿这条已建立的隧道反向送回本机,转给 devspace。响应原路返回。
flowchart LR
GPT["☁️ ChatGPT 服务端
MCP 客户端"]
EDGE["☁️ ngrok 云端
固定域名"]
AGENT["💻 ngrok 客户端
(本机)"]
MCP["💻 devspace · MCP 服务器
127.0.0.1:7676/mcp
读写文件 / 执行命令"]
AGENT == "① 启动时主动外连,建立隧道" ==> EDGE
GPT -- "② HTTPS 请求" --> EDGE
EDGE -. "③ 沿隧道反向转发" .-> AGENT
AGENT --> MCP
style GPT fill:#e0f2fe,stroke:#0284c7,stroke-width:2px,color:#0f172a
style EDGE fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,color:#0f172a
style AGENT f
Related Skills
Winpc Remote
Let Claude Code on a remote Linux server operate a local Windows PC via screenshots, keyboard/mouse, files and
ChatGPT Local Connector
Connect ChatGPT to local coding agents—including Codex, Claude, Gemini, Cursor, and more—to explore projects,
Wtagent
Turn ChatGPT Web (including Pro) into Codex. Turn Claude Web into Claude Code. Also DeepSeek, Gemini, Grok, Ki
ServerFS MCP
Secure self-hosted MCP server exposing selected Linux directories as controlled workdirs via OpenAI Secure MCP
MCP Fleet
Open-source remote MCP server: let ChatGPT, Claude, Cursor or any MCP agent run commands, edit code and move f
Agent Repo Preflight
Read-only preflight for cloned repos: inventories AGENTS.md, CLAUDE.md, .cursorrules and MCP/hook configs, and
Related Agents
Suede Graph Flo XR Web Reader
Read-only Suede Graph Flo XR researcher for public web evidence, with no local file, shell, write, task, skill
Finalisation Coordinator
Phase 3 INLINE orchestrator: syncs the branch, runs the verify-phase test gate, chatgpt-pr-review, doc-sync sw
AI Visibility Agent
Owns AI search presence for a local business: AEO, GEO, AI rank, AI citations, and GSC AI reporting. Use when