Kompressr
v2.1.0Upload, optimize and manage files, wait for processing, and generate private delivery links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
register
Create an account and send a verification email. The 30-day free trial includes 100 image uploads total, shared across API, SDKs, MCP and dashboard. This allowance does not renew monthly. Cannot replace an already configured runtime.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
password * | string |
verify_email
Verify an email token and save credentials locally. Refuses to replace an already configured runtime.
| Parameter | Type | Description |
|---|---|---|
token * | string |
upload_asset
Upload a supported image, video, PDF, font or text asset, or opt into exact-byte passthrough storage on an enabled eligible plan. Acceptance is not readiness: wait for processed before sharing. Project-user scoped upload keys restrict uploads to their identity. The 30-day free trial includes 100 image uploads total, shared across API, SDKs, MCP and dashboard. This allowance does not renew monthly.
| Parameter | Type | Description |
|---|---|---|
data | object | At most five scalar fields; UTF-8/encoded size limits apply |
file_path | string | Local file path; provide exactly one file source |
file_url | string | HTTP(S) file downloaded on the MCP machine, then uploaded |
passthrough | boolean | Store original bytes without optimization; requires an enabled eligible plan |
private_url_expires_in | integer | |
quality | string | Video quality only; availability depends on the plan |
visibility | string |
get_asset_status
Inspect processing status and delivery information. Scoped keys only read uploads owned by their identity. A URL is ready only for active processed assets.
| Parameter | Type | Description |
|---|---|---|
asset_id * |
list_assets
List uploaded files in the configured project, with pagination and processing/deletion filters. A scoped key lists only its identity uploads. KOMPRESSR_PROJECT_ID is required.
| Parameter | Type | Description |
|---|---|---|
data | object | |
deletion_status | string | |
external_id | string | |
limit | integer | |
page | integer | |
status | string | |
visibility | string |
generate_private_url
Generate a fresh expiring URL after private upload processing and application access checks. Scoped keys only sign their own identity private uploads. Expiry does not delete the asset.
| Parameter | Type | Description |
|---|---|---|
asset_id * | ||
expires_in | integer | |
variant | string |
wait_for_asset
Wait within a bounded time budget for an active upload to process. A timeout preserves the asset ID; resume rather than reupload. Private uploads need generate_private_url after readiness.
| Parameter | Type | Description |
|---|---|---|
asset_id * | Positive numeric asset ID; not a URL or external customer ID | |
timeout_ms | integer |
get_asset_deletion_status
Inspect processing/deletion state and storage credits for an asset ID. File removal completion does not certify that all caches have cleared.
| Parameter | Type | Description |
|---|---|---|
asset_id * | Positive numeric asset ID; not a URL or external customer ID |
delete_asset
Permanently delete one explicit asset ID. Irreversible; no restore or cancellation. Scoped keys need explicit delete permission. Acceptance starts background cleanup; cached/offline copies may remain.
| Parameter | Type | Description |
|---|---|---|
asset_id * | Positive numeric asset ID; not a URL or external customer ID |
bulk_delete_assets
Permanently delete 1–100 explicit asset IDs. Inspect each result: a successful HTTP request can contain failed items. Scoped keys require delete permission. No query-based deletion or undo.
| Parameter | Type | Description |
|---|---|---|
asset_ids * | array |