
How to add File Merger MCP Server to Claude Desktop
Combine multiple files into one — fast, secure, and limited to directories you allow. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.
Last updated June 14, 2026 · 26★ · stdio · no auth
Claude Desktop config for File Merger MCP Server
npx -y @exoticknight/mcp-file-merger /path/to/allowed/dir{
"mcpServers": {
"file-merger-mcp-server": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}Setup steps
- 1Open Claude Desktop → Settings → Developer → Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
- 2Paste the File Merger MCP Server config below under the top-level "mcpServers" key.
- 3Fill in any placeholder secrets (API keys, paths) in the snippet.
- 4Save the file, then fully quit and reopen Claude Desktop.
- 5Open a chat and confirm File Merger MCP Server's tools appear under the 🔌 tools menu.
Before you start
- Node.js with npx available
- One or more allowed directories passed as command arguments
What File Merger MCP Server can do in Claude Desktop
merge_filesMerges multiple files into one. Inputs: inputPaths (string[]) — files to merge; outputPath (string) — output file location. Returns a success message with merge details.
list_allowed_directoriesLists the directories the server is allowed to access.
Security
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 + Claude Desktop FAQ
Where is the Claude Desktop config file?
Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the File Merger MCP Server config there under the "mcpServers" key and restart the client.
Is File Merger MCP Server safe to use with Claude Desktop?
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.
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.