pathgate MCP Server
An MCP server that provides controlled filesystem access to MCP clients like Claude Desktop
pathgate scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 10 tools. Filed under File systems. GitHub shows 2 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: 2 of 10 tools barely described, short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "geekgod382-pathgate": { "command": "uvx", "args": [ "pathgate" ] } }}
Environment variables
This server does not declare environment variables.
Tools10Tool docs quality grade C
All capabilitiescopy_file_tooltoolcopy a file/directory
create a directory tree if needed
delete a directory, optionally recursively
delete_file_tooltooldelete a single file
return metadata for a file or directory
list directory contents, optionally recursively
move_file_tooltoolmove or rename a file/directory
read_file_tooltoolread a file and return its content, size, and encoding
search for files matching a pattern
write_file_tooltoolwrite content to a file
About
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.
What it does
The server exposes:
- File resources via
file://... - Directory resources via
directory://... - Tools for reading, writing, listing, creating, deleting, moving, copying, searching, and inspecting files/directories
- Built-in prompts for directory analysis and file discovery
Security model
Access is restricted by allow-listed paths. At startup, the server resolves the supplied paths and only permits operations within those directories.
- Paths are checked with
os.path.realpath()and prefix matching - Symlinks are resolved before comparison
- The server can be run in read-only mode to disable mutating operations
Installation
Pathgate 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.
Options
--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.
Updating
You don't need to manually update it. The command does that for you.
Usage
Start with allowed directories
uvx pathgate "C:\Users\<username>\Documents" "C:\Users\<username>\Projects"
Read-only mode
uvx pathgate --read-only "C:\Users\<username>\Documents"
Environment variable alternative
$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.
Tools
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 directory
Example requests
Once 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"
Project layout
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
Requirements
- Python 3.10+
mcp>=2
References
Frequently asked questions
What is pathgate MCP Server?
An MCP server that provides controlled filesystem access to MCP clients like Claude Desktop
How do I install pathgate MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pathgate MCP Server runs locally from the PyPI package pathgate with the command uvx pathgate.
Is pathgate MCP Server free and open source?
Yes. pathgate MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does pathgate MCP Server support remote (HTTP) connections?
No remote endpoint is listed for pathgate MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does pathgate MCP Server provide?
pathgate MCP Server provides 10 tools, including copy_file_tool, create_directory_tool, delete_directory_tool, and delete_file_tool. See the full tool list for descriptions and parameters.
How is pathgate MCP Server's trust score calculated?
pathgate MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.