pathgate

v0.2.5
io.github.geekgod382/pathgate Checked 1 day ago Published 19 days ago

An 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

ParameterTypeDescription
path *stringAbsolute or relative path to the file
encodingstringFile encoding (default: utf-8)

write_file_tool

Write content to a file (creates or overwrites)

ParameterTypeDescription
content *stringContent to write
path *stringAbsolute or relative path to the file
encodingstringFile encoding (default: utf-8)

list_directory_tool

List contents of a directory

ParameterTypeDescription
path *stringAbsolute or relative path to the directory
recursivebooleanIf True, list subdirectories recursively

create_directory_tool

Create a new directory (creates parent directories if needed)

ParameterTypeDescription
path *stringAbsolute or relative path to the directory

delete_file_tool

Delete a file

ParameterTypeDescription
path *stringAbsolute or relative path to the file

delete_directory_tool

Delete a directory

ParameterTypeDescription
path *stringAbsolute or relative path to the directory
recursivebooleanIf True, delete directory and all contents

move_file_tool

Move or rename a file or directory

ParameterTypeDescription
destination *stringDestination path
source *stringSource path

copy_file_tool

Copy a file or directory

ParameterTypeDescription
destination *stringDestination path
source *stringSource path

search_files_tool

Search for files matching a pattern

ParameterTypeDescription
directory *stringDirectory to search in
pattern *stringFilename pattern (supports wildcards like *.txt)
recursivebooleanIf True, search subdirectories

get_file_info_tool

Get detailed information about a file or directory

ParameterTypeDescription
path *stringAbsolute or relative path