MCP Directory

File Merger MCP Server

Combine multiple files into one — fast, secure, and limited to directories you allow.

Unverified
stdio (local)
No auth
Stale
JavaScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
npx -y @exoticknight/mcp-file-merger /path/to/allowed/dir

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

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

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • Node.js with npx available
  • One or more allowed directories passed as command arguments

About File Merger MCP Server

File Merger MCP Server exposes a simple file-concatenation utility to MCP clients such as Claude Desktop. It merges multiple input files into one output file, works on files of any size, and reports a merge summary including file sizes. Access is sandboxed to the directories you pass as arguments when starting the server, so the model can only read and write inside paths you have approved.

Tools & capabilities (2)

merge_files

Merges multiple files into one. Inputs: inputPaths (string[]) — files to merge; outputPath (string) — output file location. Returns a success message with merge details.

list_allowed_directories

Lists the directories the server is allowed to access.

What this server can do

File Merger MCP Server provides tools for these capabilities — tap one to see every MCP server that does the same:

When to use it

  • Concatenate multiple log or text files into a single combined file
  • Merge split data or document fragments back into one file
  • Combine source or config files for review or processing while keeping access limited to approved directories

Security notes

The server can only access directories explicitly passed as command arguments at launch. Use the list_allowed_directories tool to confirm which paths are accessible.

File Merger MCP Server FAQ

Which directories can the server access?

Only the directories you pass as command-line arguments when launching the server. You can confirm them at any time with the list_allowed_directories tool.

Does it handle large files?

Yes. The README states it efficiently combines files of any size and reports file sizes plus a merge summary.

How do I install it?

Add the mcpServers block to your claude_desktop_config.json using npx with @exoticknight/mcp-file-merger and your allowed directory, or clone the repo and run npm install && npm run build.

Alternatives to File Merger MCP Server

Compare all alternatives →

Official MCP reference server for secure local filesystem read/write within allowed directories.

Verified
stdio (local)
No auth
TypeScript
13 tools
Updated 5 months agoRepo

Official MCP server for reading, searching, and manipulating a local Git repository's files and history.

Verified
stdio (local)
No auth
Python
12 tools
Updated 5 months agoRepo

Official AWS Labs MCP server to manage and query S3 Tables (table buckets, namespaces, tables).

Verified
stdio (local)
API key
Python
12 tools
Updated 1 month agoRepo