Labsco
MCP SERVER

File Merger

by exoticknight

Concatenate a list of files into one output file in a single call, inside directories the server is explicitly allowed to touch.

Local Filesystem AccessVerified
Summary
One call for a job that otherwise costs a read and a write per file.

The contents never pass through the model, so the size of what you are merging never lands in the conversation — that is the difference between this and asking an agent to do the same thing with generic file tools. The allow-list is the thing to check first, since paths outside it are refused and the lookup tool is the only way to see where the boundary sits.

What it is

A two-tool file server: a merge that reads each input in the order given and writes it sequentially to an output path, and a lookup of the directories it may access.

What you get
  • Multiple files joined into one output file, in the order the input paths were given
  • Size information back from the merge — the individual file sizes and the total
  • The list of directories the server is allowed to access, checkable before a merge is attempted
Requirements

Input and output paths that sit inside the allowed directories, which list_allowed_directories reports.

Setup effort

One command — npx -y @exoticknight/mcp-file-merger