chatgpt-file-mcp
chatgpt-file-mcp
一个本地、只读的 MCP 服务器,将明确授权的目录暴露给本地 ChatGPT/OpenAI MCP 客户端。
它提供什么
macOS/Linux 上的 Node.js
>=20仅支持 MCP stdio 传输;无公共监听器
六个只读工具:
list_roots、list_directory、search_files、search_text、read_file和read_file_range根相对路径、策略检查、有界读取/搜索以及无内容的审计记录
Related MCP server: Convorel
快速开始
npm ci --ignore-scripts --audit=false --fund=false
npm run build
npm test
npm run security:check使用一个明确的绝对配置路径启动:
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。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
- ORANO MCP ServerDeprecatedio.github.infotik
Read-only MCP server exposing a user ORANO library to their own AI agent.
Read and search folders on your own computer with explicit consent. Files are never uploaded.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables 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- AlicenseNot gradedqualityBmaintenanceProvides 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.2Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables 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.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients and AI agents to search, read, list, and reindex locally indexed private code repositories using read-only, path-confined tools.MIT