Skip to main content
MCP server CX Codex

Kompressr — Claude Code MCP server: upload and optimize files

An MCP server that uploads files, waits for processing and hands back private delivery links from inside your agent. Useful when the agent has to publish an image or video.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env KOMPRESSR_API_KEY=<KOMPRESSR_API_KEY> --env KOMPRESSR_PROJECT_ID=<KOMPRESSR_PROJECT_ID> --transport stdio mcp-server -- npx -y @kompressr/mcp-server
Open on GitHub

What Kompressr does

Kompressr exposes file tools to the agent. upload_asset takes exactly one file_path or file_url, wait_for_asset polls until the job finishes, and generate_private_url mints a fresh link with an expiry. Rounding it out: list_assets with paging, get_asset_status, and delete_asset for permanent removal by explicit ID.

Node.js 22 or newer is required. Configuration needs KOMPRESSR_API_KEY, plus KOMPRESSR_PROJECT_ID if you want to browse uploads. Skip the project UUID and list_assets will not work — check that before the first run. Keep keys on trusted machines and out of source control.

Processing state and deletion state are tracked separately. A private link expiring does not remove the file. Deletion starts background cleanup and cannot be undone, and cached or downloaded copies may survive. When wait_for_asset times out, do not re-upload: keep the asset_id and resume with it.

What it helps with

  • push a file into storage from the agent
  • wait for video processing instead of guessing
  • hand a client a temporary private link
  • find an upload by status or external_id
  • delete a batch of assets by explicit IDs

Example prompts for the agent

  • Upload preview.png through Kompressr and wait until it is ready
  • Generate a private link for asset 4821 that lasts an hour
  • List my failed uploads on page two

How to install Kompressr

Platform CLI

claude mcp add --env KOMPRESSR_API_KEY=<KOMPRESSR_API_KEY> --env KOMPRESSR_PROJECT_ID=<KOMPRESSR_PROJECT_ID> --transport stdio mcp-server -- npx -y @kompressr/mcp-server

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Kompressr

How do I install Kompressr in Claude Code?

Run claude mcp add kompressr -e KOMPRESSR_API_KEY=<KOMPRESSR_API_KEY> -- npx -y @kompressr/mcp-server. Add KOMPRESSR_PROJECT_ID as well if you need upload listing.

What does Kompressr do?

It gives the agent tools to upload files, wait for processing, issue private links and delete assets by ID. File operations live in the separate @kompressr/sdk package.

What do I need to run Kompressr?

Node.js 22 or later and a KOMPRESSR_API_KEY from the project dashboard. Upload listing also needs the project UUID in KOMPRESSR_PROJECT_ID.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor