# chatgpt-codex-tools-mcp [Health: Active]

**Category:** 🖥️ Command Line  
**Repository:** https://github.com/Kerberos255/chatgpt-codex-tools-mcp  
**GitHub Stars:** 6  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/chatgpt-codex-tools-mcp

## Description
ChatGPT Codex Tools MCP - Shell workspace tools with preview and confirm

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Kerberos255/chatgpt-codex-tools-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/Kerberos255/chatgpt-codex-tools-mcp.git
```

2. Run:

```sh
cd chatgpt-codex-tools-mcp
```

3. Install:

```sh
npm ci
```

4. Install:

```sh
npm run build
```

5. Configure:

```sh
cp config.example.json config.json
```

6. Start the server:

```sh
npm start
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/chatgpt-codex-tools-mcp/readme_

