mcp_server_filesystem
MCP server from philgei/mcp_server_filesystem
claude mcp add --transport stdio philgei-mcp_server_filesystem uvx mcp-server-filesystem \ --env VENV_ACTIVE="optional: activated virtual environment (if using venv)"
How to use
This MCP server implements a filesystem integration for Claude Desktop. It allows Claude to access and read files from one or more allowed directories that you specify when configuring the server. Access is restricted to the directories listed in the args so you can safely expose local folders to Claude without giving broad filesystem access. After starting the server, you can enable the filesystem integration in Claude Desktop, attach it via the MCP menu, and browse the configured directories through the UI. Use this to enable Claude-powered search, file previews, or document retrieval against your local folders.
To use, install the server in a Python environment, run the MCP server, and then configure Claude Desktop to point to the running server. The UI will list the available integrations, allowing you to select the filesystem server and the specific directories you granted in the config. You can add multiple directories for broader access within the same server instance.
How to install
Prerequisites:
- Python installed (recommended 3.8+)
- A Python virtual environment tool (optional but recommended)
- Internet access to install dependencies
Setup steps:
-
Create and activate a virtual environment (optional but recommended):
- Linux/macOS: python3 -m venv .venv source .venv/bin/activate
- Windows: python -m venv .venv\Scripts\activate
-
Install the server package in editable mode from the repository root: uv pip install -e .
-
Run the MCP server using uvx (the package name advertised in your config should be the entrypoint): uvx mcp-server-filesystem
-
Verify installation: uv pip list
-
Configure Claude Desktop with the provided config snippet, editing the paths in args to match directories you want to expose.
Notes:
- Only the directories listed in the config args are accessible by the server.
- If you modify the config, restart Claude Desktop to apply changes.
Additional notes
Tips and common issues:
- Ensure the directories in args exist and are accessible by the user running the MCP server.
- If you encounter 'Command not found', verify the package is installed in the active environment and that you’re launching the correct entrypoint via uvx.
- When adding multiple directories, use absolute paths if possible to avoid ambiguity across platforms.
- Restart Claude Desktop after changing the config to ensure the new filesystem integration is loaded.
- Consider running the MCP server in a dedicated virtual environment to avoid conflicts with other Python tools.
- If you see access denied errors, check file system permissions for the configured directories.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP