Listed from the MCP registry; nobody on Odel publishes it.
An MCP server that provides controlled filesystem access to MCP clients like Claude Desktop
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx pathgate
MCP client config
{
"mcpServers": {
"pathgate": {
"command": "uvx",
"args": [
"pathgate"
]
}
}
}pathgate is a Python Model Context Protocol (MCP) server that exposes a controlled filesystem interface to MCP clients such as Claude Desktop, Cursor, VS Code, and inspector tools. The server only permits access to directories that are explicitly allow-listed at startup.
The server exposes:
file://...directory://...Access is restricted by allow-listed paths. At startup, the server resolves the supplied paths and only permits operations within those directories.
os.path.realpath() and prefix matchingPathgate package is published on PyPI. To use it, for example with Claude Desktop, add this in the claude_desktop_config.json
{
"mcpServers": {
"pathgate": {
"command": "uvx",
"args": ["pathgate@latest", "C:\\Users\\me\\Documents"]
}
}
}
Or, you can use the install command to directly write the config file
uvx pathgate install <paths>
Paths should be separated by spaces
uvx pathgate install C:\Users\me\Documents C:\Users\me\Projects
When no paths are given, it prompts you for them.
--read-only: writes the safer variant of the entry.
--dry-run: shows what it would write and changes nothing.
--yes: skips the confirmation prompt.
--name: sets a different entry name (default pathgate).
--config PATH: I build this mcp server for Claude primarily. Using this option edits a specific file, which also works for other clients that use the same mcpServers shape.
You don't need to manually update it. The command does that for you.
uvx pathgate "C:\Users\<username>\Documents" "C:\Users\<username>\Projects"
uvx pathgate --read-only "C:\Users\<username>\Documents"
$env:FS_MCP_ALLOWED_PATHS = "C:\Users\<username>\Documents;C:\Users\<username>\Projects"
uvx pathgate
On macOS/Linux, use : instead of ; for the path separator.
The current implementation exposes these tools:
read_file_tool — read a file and return its content, size, and encodingwrite_file_tool — write content to a filelist_directory_tool — list directory contents, optionally recursivelycreate_directory_tool — create a directory tree if neededdelete_file_tool — delete a single filedelete_directory_tool — delete a directory, optionally recursivelymove_file_tool — move or rename a file/directorycopy_file_tool — copy a file/directorysearch_files_tool — search for files matching a patternget_file_info_tool — return metadata for a file or directoryOnce connected, clients can ask:
List the files in C:\Users\<username>\Documents
Read C:\Users\<username>\Documents\notes.txt
Search for *.py files under C:\Users\<username>\Projects
Create a file at C:\Users\<username>\Documents\todo.txt with the content "Ship release"
pathgate/
├── pathgate/
│ ├── __init__.py
│ ├── __main__.py
│ ├── config.py
│ ├── prompts.py
│ ├── install.py
│ ├── resources.py
│ ├── server.py
│ ├── tool_schemas.py
│ └── tools.py
├── tests/
│ └── test_server.py
├── pyproject.toml
├── README.md
└── LICENSE
mcp>=2