
Python Filesystem MCP
by dpkirschner
Secure filesystem operations server with directory whitelisting and PDF handling.
What it does
This MCP server provides AI agents with secure, whitelisted access to the local filesystem. It allows for reading, writing, and editing files while ensuring the AI cannot escape designated root directories.
Tools
read_file: Reads the content of a specified file.write_file: Creates or overwrites a file with new content.edit_file: Modifies specific parts of an existing file.list_directory: Lists files and folders in a directory.get_file_info: Retrieves metadata and stats for a file.handle_pdf: Specialized operations for reading and processing PDF documents.
Installation
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"python-filesystem": {
"command": "python3",
"args": [
"-m",
"src.filesystem.server.main",
"/path/to/allowed/directory"
]
}
}
}
Supported hosts
- Claude Desktop
Quick install
pip install -e .Information
- Pricing
- free
- Published
- 5/2/2026
- stars





