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 "Install 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: Sentinel Core Agent
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to securely read, search, and analyze local file systems through the Model Context Protocol. Provides tools for listing files, pattern-based searching, and reading file contents with built-in security validation.6
- FlicenseNot gradedqualityDmaintenanceEnables file system operations, web scraping, and AI-powered search through MCP tools for use by LLM agents.1
- AlicenseNot gradedqualityFmaintenanceEnables ChatGPT/Codex to read, search, and edit files in a single allowed folder on Windows through OpenAI Secure MCP Tunnel.ISC
- AlicenseNot gradedqualityAmaintenanceLets ChatGPT or MCP clients work with files on your machine, with tools for reading, editing, searching, git operations, and safety checks.MIT
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Securely search and manage workspace context files for AI agents and teams.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/limars874/chatgpt-file-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server