mcp-filesystem-python

mcp-filesystem-python

16

The MCP Filesystem Python project is a server that offers secure, read-only access to directory files through the Model Context Protocol. It includes features like file searching, .gitignore respect, and path traversal security.

MCP Filesystem Python

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

Features

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

Usage

Run the server by specifying the path to the directory you want to expose as MCP resources.