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: Kastor
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
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.
Securely search and manage workspace context files for AI agents and teams.
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
- AlicenseNot gradedqualityBmaintenanceLets ChatGPT or MCP clients work with files on your machine, with tools for reading, editing, searching, git operations, and safety checks.MIT
- FlicenseAqualityCmaintenanceA read-only MCP server that enables AI assistants to search files, list directories, retrieve system info, and get file metadata on the local file system.4-
- 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