mcp-filesystem-python

mcp-filesystem-python

3.4

If you are the rightful owner of mcp-filesystem-python and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides secure, read-only access to files in a specified directory.

The MCP Filesystem Python server is designed to offer secure, read-only access to files within a specified directory using the Model Context Protocol (MCP). It exposes files as MCP resources using the 'file://' URI scheme, allowing for seamless integration with other MCP-compatible tools and platforms. The server includes robust security features such as path traversal protection and respects .gitignore patterns to ensure that only the intended files are accessible. Additionally, it provides file search capabilities and MIME type detection to enhance usability and functionality. This server is particularly useful for environments where secure file access and management are critical, and it can be easily integrated with various platforms, including Claude Desktop.

Features

  • Exposes files as MCP resources using 'file: //' URI scheme
  • Provides file search capabilities through MCP tools
  • Respects .gitignore patterns
  • Security features including path traversal protection
  • MIME type detection