MCP.so
ログイン

File Merger MCP Server

@exoticknight

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

トランスポート

stdio

作者

exoticknight

File Merger MCP Server について

MCP server for merging multiple files into one

File Merger MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "file-merger": {
      "command": "npx",
      "args": [
        "-y",
        "@exoticknight/mcp-file-merger",
        "/path/to/allowed/dir"
      ]
    }
  }
}

File Merger MCP Server のツール

2

Lists directories the server can access

概要

What is File Merger MCP Server?

Simple utility to combine multiple files into one. It provides tools to merge a list of input files into a single output file, reporting file sizes and a merge summary. Only directories explicitly allowed by the user are accessible, ensuring security.

How to use File Merger MCP Server?

Install via npm (npx) and configure the server with an allowed directory path. In Claude Desktop, add the server to claude_desktop_config.json with the command npx -y @exoticknight/mcp-file-merger <allowed-directory>. Use the merge_files tool to specify input paths and output path. Use list_allowed_directories to check which directories are accessible.

Key features of File Merger MCP Server

  • Merge any number of files with a single command
  • Efficiently combines files of any size
  • Only accesses directories you explicitly allow
  • Reports file sizes and a merge summary

Use cases of File Merger MCP Server

  • Combine multiple code snippets into a single file for processing
  • Merge log files for consolidated analysis
  • Aggregate configuration files into one unified file
  • Join text-based data files for further tooling

よくある質問

1

What tools does the server provide?

It provides `merge_files` (to combine multiple files into one) and `list_allowed_directories` (to list directories the server can access).

2

How do I restrict which directories the server can access?

The server is launched with a directory path argument. Only that directory and its subdirectories are accessible.

3

What output does the merge return?

Returns a success message with merge details, including file sizes and a merge summary.

4

Is any authentication required?

No authentication is mentioned in the README.

5

What runtime dependencies are needed?

Node.js and npm. The server is run via npx, installing the package on the fly.

コメント

「その他」の他のコンテンツ