pathgate
v0.2.5An MCP server that provides controlled filesystem access to MCP clients like Claude Desktop
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_file_tool
Read the contents of a file
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file |
encoding | string | File encoding (default: utf-8) |
write_file_tool
Write content to a file (creates or overwrites)
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to write |
path * | string | Absolute or relative path to the file |
encoding | string | File encoding (default: utf-8) |
list_directory_tool
List contents of a directory
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory |
recursive | boolean | If True, list subdirectories recursively |
create_directory_tool
Create a new directory (creates parent directories if needed)
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory |
delete_file_tool
Delete a file
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file |
delete_directory_tool
Delete a directory
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory |
recursive | boolean | If True, delete directory and all contents |
move_file_tool
Move or rename a file or directory
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination path |
source * | string | Source path |
copy_file_tool
Copy a file or directory
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination path |
source * | string | Source path |
search_files_tool
Search for files matching a pattern
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory to search in |
pattern * | string | Filename pattern (supports wildcards like *.txt) |
recursive | boolean | If True, search subdirectories |
get_file_info_tool
Get detailed information about a file or directory
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path |