Skip to main content
Glama
limars874

chatgpt-file-mcp

by limars874

chatgpt-file-mcp

明示的に許可されたディレクトリをローカルの ChatGPT/OpenAI MCP クライアントに公開する、ローカルの読み取り専用 MCP サーバーです。

提供内容

  • macOS/Linux 上の Node.js >=20

  • MCP stdio トランスポートのみ。パブリックリスナーなし

  • 6つの読み取り専用ツール: list_roots、list_directory、search_files、search_text、read_file、read_file_range

  • ルート相対パス、ポリシーチェック、制限付き読み取り/検索、コンテンツを含まない監査記録

Related MCP server: Secure Local Workspace MCP

クイックスタート

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

1つの明示的な絶対設定パスで起動します:

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

最小構成:

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

認証情報、監査ログ、またはプライベート設定ファイルをリポジトリに置かないでください。セキュリティの範囲と既知の制限については SECURITY_REVIEW.md を参照してください。

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