MCP File Server
@abhishekloiwal
关于 MCP File Server
MCP server for reading and writing local files
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-file-server-abhishekloiwal": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-file-server",
"."
]
}
}
}工具
4List all files in a directory
Read the contents of a file
Write content to a file
Delete a file or directory
概览
What is MCP File Server?
A Docker-based MCP server that allows AI assistants like Claude for Desktop to read and write files from your local file system through a set of file operation tools.
How to use MCP File Server?
Deploy using Docker Compose or direct Docker commands with a local directory volume-mounted, then configure Claude for Desktop's claude_desktop_config.json to connect via docker exec.
Key features of MCP File Server
- List files and directories
- Read file contents
- Write content to files
- Delete files and directories
- Docker-based deployment with volume mounts
Use cases of MCP File Server
- Allow an AI assistant to browse and analyze local project files
- Let an AI assistant read, write, or delete files in a workspace directory
- Provide controlled file system access to MCP-compatible clients
FAQ from MCP File Server
What are the prerequisites for MCP File Server?
Docker must be installed on your system. Git is optional for cloning the repository.
How do I connect MCP File Server to Claude for Desktop?
Edit claude_desktop_config.json (located at ~/Library/Application Support/Claude/ on Mac or %AppData%\Claude\ on Windows) and add the server entry using the docker exec command.
What tools does MCP File Server provide?
Four tools: list_files, read_file, write_file, and delete_file.
How can I troubleshoot connection issues?
Check the Docker container status with docker ps -a | grep mcp-file-server, view logs with docker logs mcp-file-server, and verify the volume mount with docker inspect mcp-file-server | grep -A 10 Mounts.
Where are files stored?
Files are stored on the host machine at the local directory path that is volume-mounted to /data inside the container.
其他 分类下的更多 MCP 服务器
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
ghidraMCP
LaurieWiredMCP Server for Ghidra
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
ICSS
chokcoco不止于 CSS
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论