https://github.com/exoticknight/mcp-file-merger
MCP server for merging multiple files into one
https://github.com/exoticknight/mcp-file-merger
Last synced: 3 months ago
JSON representation
MCP server for merging multiple files into one
- Host: GitHub
- URL: https://github.com/exoticknight/mcp-file-merger
- Owner: exoticknight
- License: apache-2.0
- Created: 2025-03-14T13:38:21.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-14T14:24:20.000Z (3 months ago)
- Last Synced: 2025-03-14T17:15:15.528Z (3 months ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-zh - exoticknight/mcp-file-merger
- mcp-index - File Merger - Combine multiple files into a single file efficiently, providing detailed reports on file sizes and merge summaries. Access is restricted to user-defined directories for security. (File Management)
- awesome-mcp-servers - MCP File Merger - MCP server for merging multiple files into one (Table of Contents / Other Tools and Integrations)
- awesome-mcp-servers - MCP File Merger - MCP server for merging multiple files into one (Table of Contents / Other Tools and Integrations)
- awesome-mcp-servers - exoticknight/mcp-file-merger - AI Chatの長さ制限に適応するファイルマージツール (サーバー実装 / 📂 <a name="file-systems"></a>ファイルシステム)
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 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`:
```json
{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}
```## Installation
```bash
# 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