Package Exports
- zen-mcp-server-199bio
- zen-mcp-server-199bio/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zen-mcp-server-199bio) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Zen MCP Server NPX Wrapper
Easy-to-use NPX wrapper for Zen MCP Server - Give Claude access to multiple AI models (Gemini, OpenAI, OpenRouter, Ollama) for enhanced development capabilities.
Quick Start
npx zen-mcp-server-199bioThat's it! The wrapper handles all Docker setup automatically.
What is Zen MCP Server?
Zen MCP Server gives Claude Desktop access to multiple AI models for:
- 🧠 Extended reasoning with Gemini 2.0 Pro's thinking mode
- 💬 Collaborative development with multiple AI perspectives
- 🔍 Code review and architectural analysis
- 🐛 Advanced debugging with specialized models
- 📊 Large context analysis (Gemini: 1M tokens, O3: 200K tokens)
- 🔄 Conversation threading with Redis - AI models maintain context across multiple calls
First Time Setup
On first run, the wrapper will:
- Check/start Docker Desktop
- Clone Zen MCP Server to
~/.zen-mcp-server - Create
.envfile and prompt for API keys - Build Docker image automatically
- Start all services via Docker Compose:
- Zen MCP Server container
- Redis container (for conversation threading)
- Log monitor service
Configuration
1. Get API Keys (at least one required)
Choose one or more:
- Gemini: Google AI Studio
- OpenAI: OpenAI Platform
- OpenRouter: OpenRouter (access to 100+ models)
- Local Models: Ollama, vLLM, LM Studio (no API key needed)
2. Configure API Keys
Edit ~/.zen-mcp-server/.env:
# Option 1: Native APIs
GEMINI_API_KEY=your_gemini_key_here
OPENAI_API_KEY=your_openai_key_here
# Option 2: OpenRouter (for multiple models)
OPENROUTER_API_KEY=your_openrouter_key_here
# Option 3: Local models (Ollama example)
CUSTOM_API_URL=http://host.docker.internal:11434/v1
CUSTOM_MODEL_NAME=llama3.2Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"zen": {
"command": "npx",
"args": ["zen-mcp-server-199bio"]
}
}
}Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Usage with Claude CLI
claude mcp add zen "npx" "zen-mcp-server-199bio"Available Tools
Once configured, Claude will have access to these tools:
zen- Default tool for quick AI consultation (alias for chat)chat- Collaborative development discussionsthinkdeep- Extended reasoning (Gemini 2.0 Pro)codereview- Professional code reviewprecommit- Pre-commit validationdebug- Advanced debugging assistanceanalyze- Smart file and codebase analysis
Quick Usage: Just say "use zen" for quick AI consultations!
Features
- ✅ Zero config - Just run with npx
- 🐳 Full Docker Compose stack - Includes Redis for conversation threading
- 🔧 Smart setup - Handles all initialization automatically
- 💾 Redis included - Maintains context between AI model calls
- 🔄 Graceful shutdown - Proper cleanup on exit
- 📦 No installation - Always runs latest version
- 🌍 Cross-platform - Works on macOS, Windows (WSL2), Linux
What's Included
The NPX wrapper starts the complete Zen MCP Server stack:
- Zen MCP Server - Main server handling AI model communication
- Redis - For conversation threading and context persistence
- Log Monitor - For debugging and monitoring
- All features from the original Docker Compose setup
Troubleshooting
Docker not starting?
- macOS: Make sure Docker Desktop is installed
- Windows: Requires WSL2 and Docker Desktop
- Linux: Ensure Docker daemon is running
API key issues?
- Check
~/.zen-mcp-server/.envhas valid keys - Ensure at least one API key is configured
- For OpenRouter, check your credits/limits
Connection failed?
- Restart Claude Desktop after configuration
- Check Docker containers:
docker ps - View logs:
docker logs zen-mcp-server
Requirements
- Docker Desktop
- Node.js >= 14.0.0
- Git
- At least one API key (Gemini, OpenAI, or OpenRouter)
Links
License
Apache 2.0 - See LICENSE