File Merger MCP Server
文件合并 MCP 服务器
简单实用,可将多个文件合并为一个。快速、安全、易用。
特征
简单- 使用单个命令合并任意数量的文件
快速——高效合并任何大小的文件
安全- 仅访问您允许的目录
详细信息- 报告文件大小和合并摘要
Related MCP server: File Server MCP
API
工具
合并文件
输入:
inputPaths(string[]): 要合并的文件outputPath(字符串):输出文件位置
返回:
包含合并详细信息的成功消息
列出允许的目录
列出服务器可以访问的目录
与 Claude Desktop 一起使用
添加到您的claude_desktop_config.json :
{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}安装
# Clone and install
git clone https://github.com/exoticknight/mcp-file-merger.git
cd mcp-file-merger
npm install
npm run build执照
Apache 许可证 2.0
Available Tools
2 toolslist_allowed_directoriesA
Returns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to merge files.
Inputs: no named parameters.
merge_filesA
Merge multiple files into a single output file. Reads content from each input file in the order provided and writes it sequentially to the output file. Returns information about the merge operation including file sizes and total size. All specified paths must be within allowed directories if specified.
Inputs: inputPaths (required), outputPath (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one lists accessible directories for context, while the other performs the core file merging operation. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool based on the task.
Both tools follow a consistent verb_noun naming pattern (list_allowed_directories and merge_files), using clear verbs that describe their actions. The naming is predictable and readable throughout the set.
With only two tools, the server feels under-scoped for a file merging domain. While the tools cover basic operations, there are likely missing functionalities such as file validation, conflict resolution, or format-specific merging that would enhance completeness. A count of 2 is too low for robust file handling.
The toolset is severely incomplete for file merging. It lacks essential operations like checking file compatibility, handling merge conflicts, supporting different merge strategies (e.g., concatenation vs. intelligent merging), or providing previews. This will likely cause agent failures when dealing with complex merging scenarios.
Maintenance
Related MCP Connectors
Document processing over MCP: merge, split and compress PDFs, run OCR, extract document text.
PDF tools + QR over MCP: merge, split, rotate, text, metadata, malicious-content scan.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Browse and manage files in your Moxt AI workspace from any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides safe local file operations through MCP, including reading, writing, searching, organizing, and protected deletion with configurable path restrictions.121ISC
- FlicenseAqualityDmaintenanceEnables accessing and managing files from configured folders with filtering and size limits, allowing listing, reading, and searching files via MCP tools and resources.3-
- AlicenseNot gradedqualityCmaintenanceEnables managing files across multiple FTP servers through a single MCP interface, supporting upload, listing, deletion, and public URL generation.107 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables safe file system operations through MCP with path traversal protection, allowlisted root directories, and configurable file size limits.MIT