MCP.so
Sign In

Filesystem MCP Server

@MCP-Mirror

About Filesystem MCP Server

Mirror of

Basic information

Category

Files & Storage

Transports

stdio

Publisher

MCP-Mirror

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

FAQ from Filesystem MCP Server

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.

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.

What file encoding is supported?

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

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).

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).

Comments

More Files & Storage MCP servers