mcpField
F
File Merger MCP Server

File Merger MCP Server

Local
github.com/exoticknightFiles & Storage28Updated 60w ago

About File Merger MCP Server

File Merger MCP Server is an MCP server that combines multiple files into one output file. It is intended for users who need to merge files while limiting access to approved directories.

Key features

  1. 01Merges multiple files into one output file
  2. 02Accesses only explicitly allowed directories
  3. 03Lists accessible directories via a tool
  4. 04Reports file sizes and merge summary

Use cases

  1. 01Combining several text files into a single file
  2. 02Running file merges from Claude Desktop

MCP support

This project is an MCP server that exposes the merge_files and list_allowed_directories tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger"
]
}
}
}
Run commandnpx -y @exoticknight/mcp-file-merger

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@exoticknight/mcp-file-merger

Tools

2

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
inputPathsarrayYesArray of file paths to merge
outputPathstringYesPath for the merged output file

Details

From the project README

MseeP.ai Security Assessment Badge

Trust Score

File Merger MCP Server

Simple utility to combine multiple files into one. Fast, secure, and easy to use.

File Merger Server MCP server

Features

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

API

Tools
  • merge_files

    • Inputs:
      • inputPaths (string[]): Files to merge
      • outputPath (string): Output file location
    • Returns:
      • Success message with merge details
  • list_allowed_directories

    • Lists directories the server can access

Usage with Claude Desktop

Add to your claude_desktop_config.json:

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

Installation

# Clone and install
git clone https://github.com/exoticknight/mcp-file-merger.git
cd mcp-file-merger
npm install
npm run build

License

Apache License 2.0

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.