Chatgpt Codex Tools MCP logo

Chatgpt Codex Tools MCP

Local HTTP MCP server for workspace files, Git, edits, processes, screenshots, and optional web or SQLite access.

Install Chatgpt Codex Tools MCP

Run the project’s own setup commands, in order.

Setup steps from the project

chatgpt-codex-tools-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/Kerberos255/chatgpt-codex-tools-mcp.git
    
  2. 2. Run
    cd chatgpt-codex-tools-mcp
    
  3. 3. Install
    npm ci
    
  4. 4. Install
    npm run build
    
  5. 5. Configure
    cp config.example.json config.json
    
  6. 6. Start the server
    npm start
    

Overview

chatgpt-codex-tools-mcp exposes a local, workspace-scoped MCP endpoint with file inspection, search, Git status and diff, controlled edits, process management, and Windows screenshots. It uses Streamable HTTP on 127.0.0.1:3333 and can be reached from ChatGPT through OpenAI Secure MCP Tunnel or Tailscale Funnel. Preview-and-confirm flows protect file and SQLite writes, while structured process execution avoids shell syntax. Choose it when an agent needs constrained access to local projects rather than unrestricted shell access.

Use cases

  • Inspect an approved local project without granting unrestricted filesystem access
  • Preview and confirm multi-file edits before applying them
  • Run and monitor bounded development processes
  • Review local Git status and diffs from an MCP client
  • Capture Windows screenshots for agent-assisted debugging

Key features

  • Workspace-root restrictions with deny rules for sensitive paths
  • Preview-before-confirm file and SQLite writes
  • Structured process execution without shell syntax
  • Stateless Streamable HTTP endpoint
  • Optional SearXNG search, public fetch, and SQLite tools
  • Windows desktop, monitor, window, and region screenshots

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

7/7 checks healthy over the last 26d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit9d agoMost recent push to the default branch.

How Chatgpt Codex Tools MCP works

What chatgpt-codex-tools-mcp does

chatgpt-codex-tools-mcp gives ChatGPT a constrained toolbox for working with local project directories. Its core functions cover opening approved workspaces, listing and reading files, searching project contents, finding paths, inspecting local Git state, proposing bounded multi-file edits, and running managed processes. A Windows-only screenshot tool can capture the desktop, a monitor, a window, or a selected region as PNG image content.

The server also includes optional web and SQLite capabilities. Web actions provide SearXNG search and public HTTP fetching when enabled. SQLite actions support allowlisted schema and query operations plus preview-and-confirm writes. Both feature groups are disabled by default.

How it works

The MCP service listens at http://127.0.0.1:3333/mcp, with a health check at /healthz. Requests use stateless Streamable HTTP: each request receives a fresh transport, and the server does not depend on an in-memory session registry. Approved workspace roots are controlled by CTM_ALLOWED_ROOTS, and built-in deny rules cover common private files and sensitive paths.

ChatGPT can connect through an OpenAI Secure MCP Tunnel or through Tailscale Funnel. The Tailscale route places an OAuth gateway on local port 3334 before forwarding to MCP on port 3333. The MCP endpoint itself has no application-layer authentication, so it should remain bound to localhost and should not be exposed directly.

Setup and configuration

Node.js 20 or newer and npm are required for the core server; Node.js 24 is recommended. SQLite support requires node:sqlite, available with Node.js 22.5 or newer. Install dependencies, build the server, copy config.example.json to config.json, edit the configuration, and run npm start.

On Windows, init-windows.cmd can install dependencies, build the server, collect allowed roots and access mode, and configure either tunnel path. It creates launchers for the selected OpenAI or Tailscale route. The OpenAI path requires the OpenAI tunnel-client; the Tailscale path requires Tailscale. ChatGPT must support custom MCP apps or connectors in Developer Mode, subject to plan and workspace policy.

Tools and capabilities

  • local_status: reports server status, access mode, roots, limits, and optional feature state.
  • open_workspace: opens a directory beneath an allowed root.
  • files: lists, reads, searches, and finds workspace files.
  • git: returns local status and diff information.
  • edit: previews and confirms bounded multi-file changes.
  • exec: runs, starts, reads, and stops structured processes with time and output limits.
  • sqlite: performs optional allowlisted reads and bounded preview-and-confirm writes.
  • web: performs optional SearXNG searches and public HTTP fetches.
  • screenshot: captures Windows desktop, monitor, window, or region images.

Limitations and notes

Command execution accepts a command and argument array rather than a shell command line. Shell syntax and a general shell tool are not provided; guarded PowerShell commands are available only in full access mode. Git support is local status and diff inspection, while remote operations require GitHub or gh tooling.

The project is a community implementation and is not affiliated with OpenAI or Codex. Tailscale Funnel creates public internet ingress and may require tailnet permissions, MagicDNS, and HTTPS enablement. Keep the tunnel or Funnel process running while using its connection path.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chatgpt Codex Tools MCP

chatgpt-codex-tools-mcp is an MCP server that connects ChatGPT to approved local workspaces through a constrained toolbox. Its main tools cover files, Git inspection, preview-and-confirm edits, structured process execution, Windows screenshots, and optional web and SQLite operations. It runs locally over Streamable HTTP and can use OpenAI or Tailscale tunneling.

Clone or download the project, run `npm ci`, run `npm run build`, copy `config.example.json` to `config.json`, configure it, and start with `npm start`. On Windows, `init-windows.cmd` automates dependency installation, building, workspace selection, and tunnel setup.

Yes, it is intended for ChatGPT custom MCP apps or connectors in Developer Mode. Connect through an OpenAI Secure MCP Tunnel or Tailscale Funnel, then provide the tunnel endpoint in ChatGPT. Availability depends on the ChatGPT plan and workspace policy.

It limits workspace access to roots configured through `CTM_ALLOWED_ROOTS`, applies deny rules for common private and sensitive paths, and requires preview followed by confirmation for file writes. The MCP listener remains bound to `127.0.0.1`.

No, it provides structured `command` and `args[]` process execution instead of shell syntax or a general shell tool. It supports foreground and managed background processes with time and output limits, with guarded PowerShell commands available in `full` mode.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChatgpt Codex Tools MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chatgpt-codex-tools-mcp?style=directory)](https://allmcps.com/mcp/chatgpt-codex-tools-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/chatgpt-codex-tools-mcp"><img src="https://allmcps.com/api/badge/chatgpt-codex-tools-mcp?style=directory" alt="Chatgpt Codex Tools MCP on AllMCPs" /></a>