

Zip / Unzip - File Compression < 10MB
Core Utility
Available ActionsEach successful request consumes credits as outlined below.
compress10crdecompress10cr
Details
File compression and decompression utility that handles zip and gzip formats for archives up to 10MB in size. This function supports two primary actions: compress and decompress, allowing users to bundle multiple files into a single zip archive or compress individual files using gzip, as well as extract contents from existing archives. For zip compression, users provide an array of files with filenames and base64-encoded content, supporting up to 200 files per archive with built-in path traversal protection for security. For gzip operations, users supply a single base64-encoded input along with an optional filename. Decompression accepts archives via base64 encoding or cloud storage file ID, automatically extracting all contents and optionally returning each file's base64 data inline for immediate processing. Extracted files and generated archives are stored in cloud storage with secure signed URLs for convenient access, and users can toggle the include_contents option to receive base64 output directly in the response. With automatic size validation and budget-based access controls, the Archive Compressor provides a reliable solution for standard file bundling and extraction workflows within agent pipelines.
Use Cases
Bundling multiple generated reports or documents into a single downloadable zip file, extracting uploaded zip archives to process individual files in automated workflows, compressing JSON or CSV data exports for efficient storage and transfer, unpacking user-submitted archives to validate and scan contained files, creating backup bundles of configuration files or logs for archival, decompressing gzipped API responses or data feeds for parsing, packaging multi-file code outputs or assets for delivery to end users, reducing payload sizes for base64 data transfers between pipeline stages, extracting email attachments from compressed formats for content analysis, preparing batched file uploads by compressing multiple assets into a single archive for downstream systems
Dynamic MCP Setup
Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.
30 Second Setup
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.
npm install -g @agentpmt/mcp-routeragentpmt-setupHosted Streamable HTTPS
MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.
https://api.agentpmt.com/mcpConfig Example
Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}Need client videos, organization controls, audit details, and the full feature overview?
More About Dynamic MCPFrequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 695c36ca767df5adfd9bc86f ("Zip / Unzip - File Compression < 10MB"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.
Dependencies
1 dependencies will be automatically added when you enable this product.


