mcp-file-merger
The mcp-file-merger is a simple utility designed to combine multiple files into one. It boasts ease of use and speed, while only accessing directories permitted by the user, ensuring high security. It also provides detailed reports on file sizes and merge summaries, supporting efficient file management.
GitHub Stars
15
User Rating
Not Rated
Forks
5
Issues
2
Views
1
Favorites
0
README
File Merger MCP Server
Simple utility to combine multiple files into one. Fast, secure, and easy to use.
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 mergeoutputPath(string): Output file location
- Returns:
- Success message with merge details
- Inputs:
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
Author Information
119
Followers
56
Repositories
3
Gists
4
Total Contributions
Top Contributors
Threads