Kompressr

v2.1.0
com.kompressr/kompressr Checked 11 hours ago Published 12 days ago

Upload, 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.

ParameterTypeDescription
email *string
password *string

verify_email

Verify an email token and save credentials locally. Refuses to replace an already configured runtime.

ParameterTypeDescription
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.

ParameterTypeDescription
dataobjectAt most five scalar fields; UTF-8/encoded size limits apply
file_pathstringLocal file path; provide exactly one file source
file_urlstringHTTP(S) file downloaded on the MCP machine, then uploaded
passthroughbooleanStore original bytes without optimization; requires an enabled eligible plan
private_url_expires_ininteger
qualitystringVideo quality only; availability depends on the plan
visibilitystring

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.

ParameterTypeDescription
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.

ParameterTypeDescription
dataobject
deletion_statusstring
external_idstring
limitinteger
pageinteger
statusstring
visibilitystring

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.

ParameterTypeDescription
asset_id *
expires_ininteger
variantstring

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.

ParameterTypeDescription
asset_id *Positive numeric asset ID; not a URL or external customer ID
timeout_msinteger

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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
asset_ids *array