File_MCP_Server

Jalalkhan912/File_MCP_Server

3.2

If you are the rightful owner of File_MCP_Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

fs_server.py is a minimal file-system MCP server that provides file system operations as an MCP service with workspace sandboxing for safety.

Tools

Functions exposed to the LLM to take actions

workspace_root

Returns the absolute path of the current workspace root.

make_dir

Creates a new directory.

list_dir

Lists contents of a directory, with options for recursion and glob patterns.

read_text

Reads the content of a text file, with a truncation limit.

write_text

Writes content to a text file, with options for overwriting and creating parent directories.

append_text

Appends content to an existing file or creates it if missing.

replace_text

Performs search and replace within a text file, supporting literal and regex patterns.

move_path

Moves or renames a file or directory.

copy_path

Copies a file or directory.

delete_path

Deletes a file or an entire directory if recursive is true.

read_json

Reads and parses a JSON file.

write_json

Writes a Python dictionary as JSON to a file.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources