mcp-filesystem-server
@qiangmzsx
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools
Overview
What is mcp-filesystem-server?
mcp-filesystem-server is a Go implementation of the Model Context Protocol (MCP) that integrates LLM applications with external data sources and tools. It is based on the mark3labs/mcp-filesystem-server and was created primarily for learning the mcp-golang library.
How to use mcp-filesystem-server?
Install it with go install github.com/qiangmzsx/mcp-filesystem-server. Then add an entry to your Claude Desktop configuration (claude_desktop_config.json) with the command mcp-filesystem-server and a list of allowed directories as arguments.
Key features of mcp-filesystem-server
- Go implementation of the Model Context Protocol.
- Based on the established mark3labs/mcp-filesystem-server.
- Configurable allowed directories for file access.
- Integrates with LLM applications like Claude Desktop.
- Licensed under the MIT License.
- Designed for learning and experimentation.
Use cases of mcp-filesystem-server
- Allow an LLM assistant to list, read, and write files in specified local directories.
- Enable file-based workflows within Claude Desktop through MCP.
- Serve as a learning tool for understanding MCP server implementation in Go.
FAQ from mcp-filesystem-server
What is mcp-filesystem-server?
It is a Go-based MCP server that provides filesystem access to LLM applications, allowing interaction with files in designated directories.
How do I install mcp-filesystem-server?
Run go install github.com/qiangmzsx/mcp-filesystem-server to build and install the binary.
How do I configure mcp-filesystem-server for Claude Desktop?
Add a "filesystem" entry under "mcpServers" in claude_desktop_config.json, setting the command to mcp-filesystem-server and the arguments to the paths you want to allow.