chatgpt-file-mcp
Provides read-only access to explicitly authorized local directories, enabling OpenAI/ChatGPT clients to list directories, search files and text, and read file contents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@chatgpt-file-mcpShow me the README.md file from the project root"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
>=20on macOS/LinuxMCP stdio transport only; no public listener
Six read-only tools:
list_roots,list_directory,search_files,search_text,read_file, andread_file_rangeRoot-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:checkLaunch with one explicit absolute configuration path:
node /absolute/path/to/dist/main.js --config /absolute/path/to/config.yamlMinimal configuration:
version: 1
roots:
- name: project
path: /absolute/path/to/project
audit:
path: /absolute/path/to/audit.jsonlDo not put credentials, audit logs, or private configuration files in the repository. See SECURITY_REVIEW.md for security scope and known limitations.
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.
Read-only MCP server exposing a user ORANO library to their own AI agent.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables ChatGPT/Codex to read, search, and edit files in a single allowed folder on Windows through OpenAI Secure MCP Tunnel.ISC
- AlicenseAqualityBmaintenanceEnables 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.17MIT

PC FileBridgeofficial
AlicenseNot gradedqualityAmaintenanceEnables 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- AlicenseAqualityCmaintenanceEnables 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.6MIT