Back to MCP Servers

File Merger

File merger tool, suitable for AI chat length limits.

file-systemsai
By exoticknight
2614Updated 9 months agoJavaScriptApache-2.0

Installation

npx -y mcp-file-merger

Configuration

{
  "mcpServers": {
    "mcp-file-merger": {
      "command": "npx",
      "args": ["-y", "mcp-file-merger"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

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.

<a href="https://glama.ai/mcp/servers/@exoticknight/mcp-file-merger"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@exoticknight/mcp-file-merger/badge" alt="File Merger Server MCP server" /> </a>

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

View source on GitHub