Back to MCP Directory
File Merger
Model Context Protocol moderate risk

File Merger

This server merges multiple files into a single output file, with directory access controls for enhanced security and detailed reporting.

Connections & Capabilities

Connects To

GitHub

Capabilities

readwrite

Quickstart

Install

npm install
npm

Config

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

Exposed MCP Tools (2)

moderate
merge_files

Combines multiple input files into a single output file.

Can overwrite existing files and potentially exhaust resources.

safe
list_allowed_directories

Lists the directories the server is permitted to access.

Read-only operation with no side effects.

Safety Assessment

The File Merger is relatively safe when configured with strict directory access controls. Risks increase if allowed directories are too broad or if the output path is not carefully managed. Ensure proper input validation at the client level to mitigate potential malicious file content.

  • Directory access is limited to allowed paths.
  • No network access required.
  • Simple functionality reduces attack surface.
  • Uses standard file system operations.
  • Can overwrite existing files if the output path is not unique.
  • Potential for denial-of-service if very large files are merged.
  • Vulnerable to path traversal if allowed directories are not carefully configured.
  • No built-in input validation to prevent malicious file content.
File Merger Review, Pricing & Alternatives (2026) | Flaex AI