# MiCompress

MiCompress compresses files through an MCP server and writes the result to disk. Use it to reduce project images, documents, or media files from your coding assistant.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: micompress
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/micompress/micompress-mcp
- Updated: 2026-08-03
- HTML: https://affpapa.org/en/nevibecode/mcp/micompress

## What it does

Give the server a file path and it sends that file to micompress.com for compression, then saves the output locally. It handles images, PDFs and office documents, video, audio, and archives. `list_supported_formats` reports accepted extensions; `compress_file` returns the original and resulting sizes along with the output path. The model receives a summary rather than the file contents.

For Claude Code, the setup command below runs the server in Docker. Anonymous use has size caps that vary by file type; `MICOMPRESS_API_KEY` allows files up to 100 MB. Files leave your machine and go to a third-party service, so this setup is unsuitable for data you cannot send there.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add micompress -- docker run -i --rm docker.io/huuhuybn/micompress-mcp:0.1.1
```

### Codex

**Platform CLI**
```bash
codex mcp add micompress -- docker run -i --rm docker.io/huuhuybn/micompress-mcp:0.1.1
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "micompress": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "docker.io/huuhuybn/micompress-mcp:0.1.1"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "micompress": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "docker.io/huuhuybn/micompress-mcp:0.1.1"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add micompress docker run -i --rm docker.io/huuhuybn/micompress-mcp:0.1.1
```

## When to use it
- shrink images in a project folder
- compress a PDF and save the output locally
- reduce video or audio file sizes
- check which extensions the server accepts

## Example prompts
- Compress the images in `assets`.
- Reduce `report.pdf` and save the result beside it.
- Show me the file formats this server accepts.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
