Kompressr
v2.1.0Upload, optimize and manage files, wait for processing, and generate private delivery links.
Values you need
| Variable | What it is | |
|---|---|---|
KOMPRESSR_API_KEY | required secret | Your project or scoped API key. Use a scoped key for an individual agent. |
KOMPRESSR_PROJECT_ID | optional | Project UUID. Required for listing uploads; other file operations need only the API key. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add kompressr -e 'KOMPRESSR_API_KEY=<KOMPRESSR_API_KEY>' -- npx -y --package=@kompressr/mcp-server@2.1.0 kompressr-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"kompressr": {
"args": [
"-y",
"--package=@kompressr/mcp-server@2.1.0",
"kompressr-mcp"
],
"command": "npx",
"env": {
"KOMPRESSR_API_KEY": "<KOMPRESSR_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kompressr": {
"args": [
"-y",
"--package=@kompressr/mcp-server@2.1.0",
"kompressr-mcp"
],
"command": "npx",
"env": {
"KOMPRESSR_API_KEY": "<KOMPRESSR_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KOMPRESSR_API_KEY",
"id": "kompressr-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"kompressr": {
"args": [
"-y",
"--package=@kompressr/mcp-server@2.1.0",
"kompressr-mcp"
],
"command": "npx",
"env": {
"KOMPRESSR_API_KEY": "${input:kompressr-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kompressr]
command = "npx"
args = ["-y", "--package=@kompressr/mcp-server@2.1.0", "kompressr-mcp"]
env = { "KOMPRESSR_API_KEY" = "<KOMPRESSR_API_KEY>" }For AI agents
- Ask the user for: KOMPRESSR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: register, verify_email, upload_asset, get_asset_status, list_assets, generate_private_url, wait_for_asset, get_asset_deletion_status, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json