mcp-file-server

mcp-file-server

1

The MCP File Server is designed to facilitate interactions with a local file system through an MCP protocol. It offers features such as listing and managing file contents, and it can be easily set up using Docker technology, integrating with AI assistants like Claude for Desktop.

MCP File Server

An MCP server for accessing and managing your local file system. It works with AI tools like Claude for Desktop to provide functionalities such as:

  • Listing files and directories
  • Reading and writing file contents
  • Deleting files and directories

Prerequisites

  • Docker
  • Optional: Git for repository cloning

Setup and Deployment

Using Docker Compose

  1. Clone and navigate to the repository.
  2. Edit the docker-compose.yml to update the volume mount path if needed.
  3. Deploy with Docker Compose.

Using Docker Directly

  1. Clone the repository.
  2. Build the Docker image.
  3. Run the Docker container with your local directory mounted.

Tools

  • list_files: List all files in a directory
  • read_file: Read the content of a file
  • write_file: Write content to a file
  • delete_file: Delete a file or directory

License

MIT License