Skip to main content
Glama
chatgpt-file-mcp

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: Convorel

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      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
      Not graded
      quality
      B
      maintenance
      Provides local, read-only MCP tools that expose a specified workspace's directory listing, file contents, text search, git status, and git diff to AI clients.
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to securely list, find, search, read, and stat files in selected Linux directories via read-only MCP tools, with no write, execute, or escape capabilities.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients and AI agents to search, read, list, and reindex locally indexed private code repositories using read-only, path-confined tools.
      MIT