Skip to main content
Glama
limars874

chatgpt-file-mcp

by limars874

chatgpt-file-mcp

A local, read-only MCP server that exposes explicitly authorized directories to local ChatGPT/OpenAI MCP clients.

What it provides

  • Node.js >=20 on macOS/Linux

  • MCP stdio transport only; no public listener

  • Six read-only tools: list_roots, list_directory, search_files, search_text, read_file, and read_file_range

  • Root-relative paths, policy checks, bounded reads/searches, and content-free audit records

Related MCP server: Secure Local Workspace MCP

Quick start

npm ci --ignore-scripts --audit=false --fund=false
npm run build
npm test
npm run security:check

Launch with one explicit absolute configuration path:

node /absolute/path/to/dist/main.js --config /absolute/path/to/config.yaml

Minimal configuration:

version: 1
roots:
  - name: project
    path: /absolute/path/to/project
audit:
  path: /absolute/path/to/audit.jsonl

Do not put credentials, audit logs, or private configuration files in the repository. See SECURITY_REVIEW.md for security scope and known limitations.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables ChatGPT and Codex to safely work with explicitly authorized local project folders through MCP, providing constrained file reading, searching, patch editing, Git inspection, and whitelisted tasks without exposing arbitrary shell, deletion, or deployment capabilities.
    17
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables ChatGPT, Codex, and compatible MCP clients to read bounded UTF-8 text and create files or directories in operator-selected folders, with strict protections against overwrites, deletes, and path escapes.
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables ChatGPT Web to inspect a single local workspace read-only via the OpenAI Secure MCP Tunnel, with tools for listing files, reading text, searching, and viewing Git status/diff.
    6
    MIT