Loading...
npm install
npm{
"mcpServers": {
"file-merger": {
"command": "npx",
"args": [
"-y",
"@exoticknight/mcp-file-merger",
"/path/to/allowed/dir"
]
}
}
}merge_filesCombines multiple input files into a single output file.
Can overwrite existing files and potentially exhaust resources.
list_allowed_directoriesLists the directories the server is permitted to access.
Read-only operation with no side effects.
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.