JUHE API Marketplace
exoticknight avatar
MCP Server

mcp-file-merger

File merger tool, suitable for AI chat length limits.

21
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "file-merger",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@exoticknight/mcp-file-merger",
7 "/path/to/allowed/dir"
8 ]
9}
JSON9 lines

README Documentation

MseeP.ai Security Assessment Badge

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

Quick Install

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source