MCP.so
登录

Filesystem MCP Server

@MCP-Mirror

关于 Filesystem MCP Server

Mirror of

基本信息

分类

文件与存储

传输方式

stdio

发布者

MCP-Mirror

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

9

Read complete contents of a file

Read multiple files simultaneously

Create new file or overwrite existing (exercise caution with this)

Create new directory or ensure it exists

List directory contents with [FILE] or [DIR] prefixes

Move or rename files and directories

Recursively search for files/directories

Get detailed file/directory metadata

List all directories the server is allowed to access

概览

What is Filesystem MCP Server?

Filesystem MCP Server is a Go-based server implementing the Model Context Protocol (MCP) for performing filesystem operations like reading, writing, and moving files and directories. It is designed for use with MCP clients such as Claude Desktop, restricting file access to only explicitly allowed directories.

How to use Filesystem MCP Server?

Install via go install github.com/mark3labs/mcp-filesystem-server, then configure in claude_desktop_config.json with the command set to mcp-filesystem-server and args listing allowed directory paths.

Key features of Filesystem MCP Server

  • Read/write files with UTF-8 encoding
  • Create, list, and delete directories
  • Move or rename files and directories
  • Recursively search files by pattern
  • Get detailed file metadata

Use cases of Filesystem MCP Server

  • Read or write files within restricted directories using an MCP client
  • List and search file contents across allowed paths
  • Move or rename files while preventing overwrites
  • Retrieve metadata like size, permissions, and timestamps

FAQ from Filesystem MCP Server

What operations does this server support?

It supports reading, writing, moving, searching files and directories, listing directory contents, and retrieving file metadata.

How are file permissions controlled?

The server only allows operations within directories specified via the args parameter in configuration.

Does the server require any runtime dependencies?

It is a standalone Go binary; no external runtime beyond the Go installation is required for building.

What happens if I try to move a file to an existing destination?

The move operation will fail if the destination already exists.

Is the server open source and free to use?

Yes, it is licensed under the MIT License, allowing free use, modification, and distribution.

评论

文件与存储 分类下的更多 MCP 服务器