EM 

exoticknight/mcp-file-merger
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
28 stars 12 forks 品質 73 トレンド 19Apache-2.0
MCP server for merging multiple files into one
概要
Simple utility to combine multiple files into one. Fast, secure, and easy to use. - - Merge any number of files with a single command - - Efficiently combines files of any size - - Only accesses directories you allow - - Reports file sizes and merge summary - - Inputs: - inputPaths (string[]): Files to merge - outputPath (string): Output file location - Returns: - Success message with merge details - - Lists directories the server can access
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
インストール
npx -y @exoticknight/mcp-file-merger /path/to/allowed/dir設定
{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}