gpt-mcp-server
Verified Safeby seanshin0214
Overview
Enables ChatGPT Desktop to securely access and interact with the local filesystem for reading, searching, and optionally writing files.
Installation
python server.pyEnvironment Variables
- GPT_MCP_ALLOWED_DIRS
- GPT_MCP_PORT
- GPT_MCP_DEBUG
- GPT_MCP_LOG_LEVEL
Security Notes
The server implements robust security measures including path normalization to prevent traversal, a whitelist-based approach for allowed directories, blacklisting of sensitive file and directory patterns (e.g., .env, .git, .ssh), and file size limits to prevent Denial of Service. It defaults to read-only access, requiring explicit configuration for write operations. Sensitive content masking is also available for output. While `rate_limit` is configured in `config.yaml` and `SecurityConfig`, its explicit enforcement within the provided `SecurityLayer` code is not directly visible.
Similar Servers
mcp-filesystem-server
Provides secure and controlled access to the local filesystem via the Model Context Protocol (MCP) for AI agents and other applications.
filesystem-mcp
Provides secure, efficient, and token-optimized filesystem operations for AI agents via the Model Context Protocol.
MCP-LocalFileResource-Server
The server provides LLMs and MCP clients with a standardized way to access, search, and process local files, including text, code, and PDFs, through Model Context Protocol resources and tools.
enhanced-filesystem-mcp
Provides enhanced filesystem access to an MCP client with named path aliases and fuzzy search capabilities.