MCP.so
登录

Filesystem MCP Server

@MCP-Mirror

基本信息

分类

文件与存储

传输方式

stdio

作者

MCP-Mirror

关于 Filesystem MCP Server

Mirror of

Filesystem MCP Server 配置

暂无标准配置

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

代码仓库

Filesystem MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Filesystem MCP Server?

A Model Context Protocol (MCP) server implementation providing file system operations, analysis, and manipulation capabilities through a standardized tool interface. It is built on the MCP SDK and organized into layers: server layer, tool registry, operations layer, and file system interface.

How to use Filesystem MCP Server?

Clone the repository, install dependencies with npm install, build the server with npm run build, then configure MCP settings (e.g., in cline_mcp_settings.json) with the command node and the path to the built index.js. The server exposes tools for directory, file, analysis, and compression operations.

Key features of Filesystem MCP Server

  • Directory listing with metadata and optional recursion
  • File read, write, and append with encoding support
  • Text analysis (line, word, character counts)
  • File hashing (MD5, SHA1, SHA256, SHA512)
  • Duplicate file detection in a directory
  • ZIP creation and extraction

Use cases of Filesystem MCP Server

  • Managing files and directories programmatically through an MCP client
  • Analyzing text files for line/word/character counts and MIME type
  • Identifying duplicate files by hash in a directory
  • Creating or extracting ZIP archives from within an MCP workflow
  • Hashing files to verify integrity or compare contents

常见问题

1

What dependencies does Filesystem MCP Server require?

Core dependencies include @modelcontextprotocol/sdk, file-type, mime-types, crypto-js, archiver, extract-zip, iconv-lite, and chardet. Development dependencies include TypeScript, Jest, ESLint, Prettier, ts-node, and nodemon.

2

How are errors reported?

Errors use standard MCP error codes (ParseError, InvalidRequest, MethodNotFound, InvalidParams, InternalError) and include a human-readable message with additional context when available.

3

What file encoding is supported?

The `read_file`, `write_file`, and `append_file` tools accept an optional `encoding` parameter; the default is `'utf8'`.

4

Can the server work with directories recursively?

Yes, the `list_directory` tool has a `recursive` boolean parameter (default false) to list contents recursively, and the `create_directory` tool can create parent directories (default true).

5

Does the server support ZIP operations?

Yes, it provides `create_zip` (creates a ZIP archive from a list of files) and `extract_zip` (extracts a ZIP archive to an output directory).

评论

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