Back to MCP Directory
Connections & Capabilities
Connects To
GitHub
Capabilities
readwrite
Quickstart
Install
npm install
npmConfig
{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}Exposed MCP Tools (2)
moderate
merge_filesCombines multiple input files into a single output file.
Can overwrite existing files and potentially exhaust resources.
safe
list_allowed_directoriesLists the directories the server is permitted to access.
Read-only operation with no side effects.
Safety Assessment
The File Merger is relatively safe when configured with strict directory access controls. Risks increase if allowed directories are too broad or if the output path is not carefully managed. Ensure proper input validation at the client level to mitigate potential malicious file content.
- Directory access is limited to allowed paths.
- No network access required.
- Simple functionality reduces attack surface.
- Uses standard file system operations.
- Can overwrite existing files if the output path is not unique.
- Potential for denial-of-service if very large files are merged.
- Vulnerable to path traversal if allowed directories are not carefully configured.
- No built-in input validation to prevent malicious file content.
