Logo Openchatx MCP

Openchatx MCP

Cộng đồng
XiaoPuOuO

Turn ChatGPT into a local agent runtime. Operate your computer, use local tools, discover MCP servers, and delegate work to your own models through one MCP connection.

Nhà phát hànhXiaoPuOuO
Kho mãopenchatx-mcp
Ngôn ngữTypeScript
Bản fork
17
Sao
241
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Openchatx MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    241 sao và 17 bản fork từ kho mã được liên kết.

[!IMPORTANT] OpenChatX runs through regular ChatGPT Chat. It does not consume your ChatGPT Work / Codex agentic allowance. If your Work or Codex allowance is exhausted, you can still use OpenChatX as long as your normal Chat usage is available.

[!CAUTION] OpenChatX runs with your local user permissions. A trusted ChatGPT caller can run commands, edit files, use connected MCP servers, and control supported applications.

How it works — official MCP, no reverse engineering

OpenChatX uses OpenAI's documented MCP integration path. It does not reverse-engineer ChatGPT, call undocumented ChatGPT backend endpoints, reuse browser session cookies, or intercept ChatGPT traffic.

The connection works like this:

  1. OpenChatX runs a normal MCP server locally on your machine.
  2. OpenAI's official tunnel-client creates an outbound HTTPS connection to an OpenAI Secure MCP Tunnel. Your local MCP server does not need a public inbound port.
  3. ChatGPT connects to that tunnel as a custom MCP app using the supported ChatGPT Developer Mode / MCP app flow.
  4. When ChatGPT invokes a tool, the Secure MCP Tunnel forwards the MCP request to OpenChatX locally and returns the MCP response through the same official channel.
  5. OpenChatX then routes that request to local tools, your computer, connected MCP servers, Skills, Rules, Projects, or explicitly configured Subagents.

ChatGPT remains the model and planner. OpenChatX is the local tool/runtime layer; it does not impersonate ChatGPT or make hidden model calls on ChatGPT's behalf.

The Runtime API key configured in OpenChatX is used for the official Secure MCP Tunnel control plane and is stored in the operating-system credential store. It is not a scraped ChatGPT credential or a workaround around ChatGPT's supported interfaces.

Official references:

Install the Desktop App

This is the recommended way to use OpenChatX. You do not need to install Node.js, npm, PM2, or tunnel-client yourself.

macOS

Download the matching DMG from the latest release:

  • Apple Silicon: OpenChatX-macos-arm64.dmg
  • Intel Mac: OpenChatX-macos-x64.dmg

The macOS release is signed with Developer ID and notarized by Apple.

Windows

For most PCs, download:

  • OpenChatX-Setup-x64.exe

For Windows on ARM:

  • OpenChatX-Setup-arm64.exe

Portable ZIPs are also available.

[!WARNING] Windows may warn because the binary is unsigned. The Windows build is currently distributed without Authenticode signing. Download it only from this repository's GitHub Releases page.

Latest release:

https://github.com/XiaoPuOuO/openchatx-mcp/releases/latest

Connect OpenChatX to ChatGPT

OpenChatX uses OpenAI Secure MCP Tunnel. The Desktop App manages the local runtime and bundled tunnel-client; you only need to create the tunnel once.

1. Create the ChatGPT MCP app

The Developer Mode toggle currently appears to be missing from ChatGPT. Some users have reported that they can create an MCP app without enabling Developer Mode, so for now, skip this step and continue directly with the Plugins flow below.

Then open Plugins, click +, choose Create app, and then choose Create MCP app.

Create app

Create MCP app

Enter the app name and description, switch the connection type to Tunnel, and click Create tunnel.

Choose Tunnel and create a tunnel

2. Create the tunnel in OpenAI Platform

Open the OpenAI Platform Tunnels page:

https://platform.openai.com/settings/organization/tunnels

Click Create tunnel, then configure:

  1. Name — for example, OpenChatX Tunnel.
  2. Description — for example, OpenChatX Tunnel.
  3. Organizations — select the organization that should own the tunnel.
  4. ChatGPT workspaces — select the ChatGPT workspace that will use OpenChatX.
  5. Click Create.

Create the OpenChatX tunnel

After creation, copy the resulting tunnel_... ID. You will enter this in OpenChatX Desktop.

3. Create the Runtime API key

Open the OpenAI Platform API Keys page:

https://platform.openai.com/settings/organization/api-keys

Create a new secret key for the OpenChatX tunnel runtime. A name such as OpenChatX Runtime Key makes it easier to identify later.

Create the OpenChatX runtime API key

Copy the secret when it is shown. Do not commit it to Git or paste it into chat.

4. Connect the Desktop App

Open OpenChatX Desktop → More → Connect Tunnel…

Enter:

  • Tunnel ID — the tunnel_... ID from step 2.
  • Control-plane API key — the Runtime API key from step 3.

The Desktop App stores the API key in the operating-system credential store:

  • macOS: Keychain
  • Windows: Credential Manager

5. Finish the ChatGPT MCP app

Return to ChatGPT:

  1. Select the newly created openchatx (tunnel_...) tunnel.
  2. Set authentication to No authentication.
  3. Read and accept the custom MCP risk acknowledgement.
  4. Click Create.

Select the tunnel and create the OpenChatX app

If you want ChatGPT to use OpenChatX tools without prompting for every tool call, you can set the OpenChatX app permission to Allow all tools.

Allow all OpenChatX tools

Useful links:

What OpenChatX gives ChatGPT

FeatureWhat it does
MCP ServersConnect local or remote MCP servers behind one OpenChatX connection
ToolboxesAdd or manage custom TypeScript tools
SkillsPortable SKILL.md workflows, loaded only when needed
RulesPersistent .mdc rules with Always / Auto Attached / Agent Requested / Manual modes
AGENTS.mdEditable start_here template with runtime placeholders
ProjectsBind ChatGPT work to existing folders without moving them
SummariesContinue long-running work across fresh ChatGPT conversations with UUID handoffs
SubagentsDelegate work to explicitly configured model profiles
Capability StoreInstall built-ins or inspect/install GitHub-hosted community capabilities
DashboardManage sessions, temporary Summaries, tools, Skills, Rules, MCP servers, Projects, status, and more

External MCP and Toolbox schemas stay lazy so the normal ChatGPT tool context stays small.

Cross-session Summaries

A key OpenChatX differentiator is that long-running Agent work can survive the ChatGPT conversation itself. When a chat eventually hits practical context limits, OpenChatX provides a handoff layer instead of forcing you to reconstruct the task manually.

When the Agent calls summarize, it stores two parts locally:

  • a compacted summary of older context;
  • roughly the latest 8k tokens of useful recent conversation, kept separately when practical.

OpenChatX returns a UUID. Start a fresh ChatGPT conversation, give the Agent that UUID, and summarize returns the stored summary plus recent context. The handoff is then deleted automatically.

Temporary summaries can also be viewed, created, edited, copied, or deleted from the Dashboard.

Skills, Rules, and AGENTS.md

Skills

Skills are portable Agent Skills owned by a Toolbox:

text
toolboxes/<toolbox>/skills/<name>/SKILL.md

A Skill contains name, description, and Markdown instructions. Skills are not injected at startup.

  • skill_search finds up to five relevant Skills by name/description; use action=load with an exact Skill name to load its full Markdown.
  • skill_manage creates, edits, or deletes user Skills.

Rules

Rules are owned by a Toolbox and live beside that Toolbox's other capabilities:

text
toolboxes/<toolbox>/rules/<name>.mdc

Example:

md
---
description: "React component conventions"
globs:
  - "src/**/*.tsx"
alwaysApply: false
---

Use accessible labels and named exports.

OpenChatX supports four Rule modes:

  • Always — injected by start_here.
  • Auto Attached — activated by matching file globs.
  • Agent Requested — selected from the description when relevant.
  • Manual — loaded only when explicitly requested.

Rules can be imported/exported with Cursor .mdc, Claude Rules, and AGENTS.md.

AGENTS.md

~/.openchatx-mcp/AGENTS.md is the editable template used by start_here.

The Toolbox UI exposes it directly. Runtime data is inserted through placeholders such as:

  • {{MODE_INSTRUCTIONS}}
  • {{PROJECT_CONTEXT}}
  • {{CAPABILITY_CATALOG}}
  • {{ALWAYS_RULES}}

Move or remove placeholders to control what start_here returns.

Connect more capabilities

You can usually just ask ChatGPT:

Add this MCP server to OpenChatX and verify it works.

or:

Create an OpenChatX tool that starts my local service and returns its status.

OpenChatX can manage MCP servers, Toolboxes, Skills, Rules, Projects, and Subagents from the Dashboard or through its management tools.

Manual / source install

Use this only if you do not want the Desktop App.

Requirements

  • Node.js 22.18+
  • npm
  • ripgrep
  • OpenAI tunnel-client
  • ChatGPT Developer Mode / custom MCP access

macOS

bash
brew install ripgrep
git clone https://github.com/XiaoPuOuO/openchatx-mcp.git
cd openchatx-mcp
npm ci
npm run setup -- --config-only

Windows PowerShell

powershell
winget install BurntSushi.ripgrep.MSVC
git clone https://github.com/XiaoPuOuO/openchatx-mcp.git
Set-Location openchatx-mcp
npm ci
npm run setup -- --config-only

Then install the official OpenAI tunnel-client, create the openchatx tunnel profile, export CONTROL_PLANE_API_KEY, and run:

bash
npm run setup
npm start

Useful commands:

CommandPurpose
npm run statusShow runtime/tunnel status
npm run logsShow runtime logs
npm run print-urlPrint local MCP/UI/tunnel URLs
npm run restartRebuild and reload services
npm run stopStop managed services
npm run auth:resetClear the bound ChatGPT subject

Development

bash
npm ci
npm --prefix ui ci
npm run lint
npm run typecheck
npm test
npm run build
npm --prefix ui run build

Desktop build commands:

bash
npm run desktop:build
npm run desktop:smoke
npm run desktop:windows:build
npm run desktop:windows:build:arm64

Maintainer docs: wiki/

Security

  • Only connect MCP servers you trust.
  • The local MCP endpoint is intended to stay on loopback.
  • Secure MCP Tunnel is the supported remote path.
  • Tool/audit logs may contain sensitive inputs.
  • See SECURITY.md for the security model and reporting instructions.

License

MIT — see LICENSE.

Parts of this project are derived from Shellby MCP; see THIRD_PARTY_NOTICES.md.

Dùng MCP Openchatx MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Openchatx MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Openchatx MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Openchatx MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "openchatx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Openchatx MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Openchatx MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Openchatx MCP giúp tôi làm việc này không?
Openchatx MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Openchatx MCP.

Câu hỏi thường gặp

Máy chủ MCP Openchatx MCP dùng để làm gì?

Openchatx MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Openchatx MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Openchatx MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Openchatx MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Openchatx MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Openchatx MCP với TypingMind?

Openchatx MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Openchatx MCP cung cấp những công cụ nào trong TypingMind?

Openchatx MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Openchatx MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Openchatx MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇