Filesys

Filesys

3.3

If you are the rightful owner of Filesys 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.

filesys is a lightweight mcp server built with Python and the mcp library that securely exposes file contents and metadata from a preconfigured directory.

filesys is a lightweight MCP server built with Python and the MCP library that securely exposes file contents and metadata from a preconfigured directory. The project leverages FastMCP to provide a set of endpoints that allow listing all files in a specified directory and reading the contents and metadata of a specified file. It includes an integration with Anthropic's Claude AI, allowing users to interact with the file system through natural language conversation, using Claude Tools to securely access the defined MCP resources. The project ensures safe file access by validating paths and preventing directory traversal attacks.

Features

  • Securely exposes file contents and metadata from a preconfigured directory.
  • Integration with Anthropic's Claude AI for natural language interaction.
  • Prevents directory traversal attacks by validating paths.
  • Provides endpoints for listing and reading files.
  • Includes unit tests to ensure functionality.

Tools

  1. list_files

    Scans the base directory to return a list of visible files.

  2. read_file

    Reads the content of the specified file and returns it with metadata.