Getting Started
Installation
From source (requires Rust toolchain)
cargo install --git https://github.com/hypercall-public/mcpzip
From GitHub releases
Download the latest binary from Releases and place it in your PATH.
Quick Setup
Option 1: Migrate from Claude Code (recommended)
If you already have MCP servers configured in Claude Code, mcpzip can import them automatically:
# Preview what will happen
mcpzip migrate --dry-run
# Do the migration
mcpzip migrate
This will:
- Read your Claude Code config (
~/.claude.jsonor~/.claude/config.json) - Create a mcpzip config at
~/.config/compressed-mcp-proxy/config.jsonwith all your servers - Replace the individual server entries in Claude Code with a single
mcpzipentry
Option 2: Interactive setup
mcpzip init
Option 3: Manual configuration
Create ~/.config/compressed-mcp-proxy/config.json:
{
"mcpServers": {
"slack": {
"command": "npx",
"args": ["-y", "@anthropic/slack-mcp"],
"env": {
"SLACK_TOKEN": "xoxb-your-token"
}
},
"github": {
"command": "gh-mcp"
}
}
}
Then add mcpzip to your Claude Code config (~/.claude.json):
{
"mcpServers": {
"mcpzip": {
"command": "mcpzip",
"args": ["serve"]
}
}
}
Verify It Works
Restart Claude Code. You should see mcpzip's 3 tools available:
search_toolsdescribe_toolexecute_tool
Try asking Claude to search for a tool:
"Search for tools related to sending messages"
Claude will use search_tools to find matching tools across all your configured servers.
Optional: Enable Semantic Search
By default, mcpzip uses keyword-based search. For better natural language understanding, add a Gemini API key:
export GEMINI_API_KEY=your-key
Or add it to your config:
{
"gemini_api_key": "your-key",
"mcpServers": { ... }
}
This enables Gemini-powered semantic search that understands queries like "help me manage my calendar" or "find something to track tasks".