MCP.so
ログイン

Filesystem MCP Server

@MCP-Mirror

Filesystem MCP Server について

Mirror of

基本情報

カテゴリ

ファイルとストレージ

トランスポート

stdio

公開者

MCP-Mirror

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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

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

コメント

「ファイルとストレージ」の他のコンテンツ