McpStamp Zip Archives
v0.23.0Create zip archives, list their contents with safety flags, and extract without unsafe entries.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
license_status License status
Report this endpoint's licence state for your token as JSON: the product, the tier free or pro, why it is not Pro, and the checkout URL. Call it to explain a free-tier refusal. No arguments, nothing changes.
license_activate Activate license
Turn Pro on for this connection with key, an MCPL1.<payload>.<signature> issued at checkout for this server or the bundle. Data under your token stays; a wrong or expired key changes nothing. license_status confirms it.
| Parameter | Type | Description |
|---|---|---|
key * | string | License key from checkout, MCPL1.<payload>.<signature> |
zip_upload Upload a file or an archive
Send a file to this hosted endpoint. There is no filesystem here, so instead of a path you upload the file once with zip_upload and then pass its name wherever a path is asked for: an archive to zip_list, zip_extract, zip_extract_text or zip_add, a plain file to zip_create. Give exactly one of content_base64 (the file's bytes, the only paste form an archive can take), content (text, for a text file to pack) or url. url: fetch a public file instead of pasting base64 (recommended above about 10 KB): the url is fetched here with a 10 second timeout, at most 3 redirects, public http(s) hosts only,…
| Parameter | Type | Description |
|---|---|---|
name * | string | Name to refer to this file by: 1-64 characters of letters, digits, underscore or dash, with an optional extension. No extension means .zip, e.g. "reports" or "notes.txt" |
content | string | The file as text (a .txt, .csv, .md or source file to pack). Not accepted for a .zip |
content_base64 | string | The file's bytes, base64-encoded. This is the only paste form an archive can be uploaded in |
url | string | url: fetch a public file instead of pasting base64 (recommended above about 10 KB). Public http(s) only; private, link-local and this endpoint's own zone are refused |
zip_files List uploaded files
List the files stored for your token on this endpoint, with their sizes. These are the names every path argument here resolves against.
zip_delete_upload Delete an uploaded file
Delete one uploaded file stored for your token. The register rows zip_history lists are kept.
| Parameter | Type | Description |
|---|---|---|
name * | string |
zip_create Create a zip archive
Call this tool to pack files uploaded with zip_upload into a new .zip and get a download link valid for one hour. Entry names are always relative, so the archive cannot write outside where it is unpacked.
| Parameter | Type | Description |
|---|---|---|
out_path * | string | Name for the archive, e.g. reports. It comes back as a download link valid for one hour; a name already produced in this request is refused without overwrite |
dir | string | Not available on this hosted endpoint: there are no directories. Passing it is refused rather than ignored, so nobody believes a tree was packed |
exclude | array | Drop entries matching one of these globs, applied after patterns |
level | integer | Deflate level 0 to 9, default 6. 0 stores without compressing |
overwrite | boolean | Replace out_path if a file is already there. Default false: an existing file is never overwritten |
password | string | Not supported. Passing it is refused rather than ignored, so no one believes an archive is encrypted when it is not |
paths | array | Names of files uploaded with zip_upload, each packed under that name |
patterns | array | Only entries matching one of these globs (* and ? inside a segment, ** across segments; a pattern with no slash also matches the file name at any depth) |
zip_list List a zip archive
Call this tool to list an archive's entries with sizes and ratios and flag what is dangerous: absolute paths, .., symlinks, encrypted entries, duplicate names and bombs. Read-only. Run it before zip_extract.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .zip file. Read-only: the archive is never modified and nothing is extracted |
limit | integer | How many entries to print, largest first (default 50). The totals always cover every entry |
max_ratio | number | Flag an entry whose uncompressed/compressed ratio is above this. Default 100 |
patterns | array | Only entries matching one of these globs |
zip_extract Extract a zip archive
Call this tool to unpack an archive; every entry comes back as its own download link valid for one hour. Traversal, absolute-path and symlink entries are refused, a size and ratio cap stops a zip bomb, and dry_run reports exactly what would be written.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .zip file |
dry_run | boolean | Report what would be written, byte counts included, and write nothing |
max_ratio | number | Refuse an entry whose uncompressed/compressed ratio is above this. Default 100 |
max_total_mb | number | Refuse if the selected entries declare more than this uncompressed. Default 1024 |
out_dir | string | Ignored on this hosted endpoint: there are no directories, and every extracted entry comes back as its own download link valid for one hour |
overwrite | boolean | Replace files that already exist in out_dir. Default false: the whole extraction is refused if any would be replaced |
patterns | array | Only entries matching one of these globs (* and ? inside a segment, ** across segments) |
skip_unsafe | boolean | Skip the dangerous entries and extract the rest, naming what was skipped. Default false: one bad entry refuses the whole archive |
zip_add Add files to a zip
Call this tool to add files to an existing archive under their own names, or under prefix. A name clash is refused unless replace. An archive holding unsafe entries is refused rather than rewritten.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the existing .zip file |
paths * | array | Files to add, each stored under its own file name. A directory contributes its tree under its own name |
level | integer | Deflate level 0 to 9 for the new entries, default 6 |
password | string | Not supported. Passing it is refused rather than ignored |
prefix | string | Put the new entries under this folder inside the archive, for example "invoices" |
replace | boolean | Replace an entry whose name is already in the archive. Default false: a name clash is refused and nothing is changed |
zip_extract_text Read one entry as text
Call this tool to read one text entry out of an archive without unpacking anything: give the entry name and the text comes back inline. Binary entries are refused by name rather than printed as noise.
| Parameter | Type | Description |
|---|---|---|
entry * | string | Exact entry name, as zip_list prints it. A glob is accepted when it matches exactly one entry |
path * | string | Path to the .zip file |
max_chars | integer | Stop after this many characters (default 200000). The answer says when it was cut |
zip_bundle_month Bundle a month of documents
Local (stdio) install only. On this hosted endpoint /mcp/invoice, /mcp/quotes, /mcp/expense-tracker, /mcp/docx and /mcp/resume return their documents as one-hour download links and keep no output folder to read, so there is nothing for this tool to bundle. Pack the files with zip_upload plus zip_create instead.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Report what would go in and write nothing |
month | string | Month as YYYY-MM. Default: this month. Files are chosen by their modification date |
out_path | string | Name for the bundle. Default: the month, e.g. 2026-09 |
overwrite | boolean | Replace out_path if it exists. Default false |
servers | array | Only these sibling servers: invoice, quotes, expense-tracker, docx, resume. Default: all five |
zip_history Archives created
List the archives created for your token, newest first, with entry counts, sizes and names, plus how much of the free 20 a month is used. Each download link expires after an hour; the row keeps the name.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many rows to show, newest first (default 20) |