Integrates with Gemini 2.0 Pro for extended reasoning using thinking mode and large context analysis with up to 1M tokens.
Provides access to local Ollama models for AI consultations, code review, and development assistance without requiring external API keys.
Allows access to OpenAI models for enhanced development capabilities, including code review, debugging, and large context analysis with up to 200K tokens.
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
That's it! No Docker required. π
Related MCP server: Multi-AI MCP Server for Claude Code
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 - AI models maintain context across multiple calls
Features
β No Docker required - Runs directly with Python
π Fast startup - No container overhead
πΎ Lightweight - Minimal resource usage
π§ Auto-setup - Handles Python dependencies automatically
π¦ Virtual environment - Isolated dependencies
π Cross-platform - Works on macOS, Windows, Linux
First Time Setup
On first run, the wrapper will:
Check Python 3.11+ is installed
Clone Zen MCP Server to
~/.zen-mcp-serverCreate
.envfile and prompt for API keysSet up Python virtual environment
Install dependencies automatically
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:
Usage with Claude Desktop
Add to your claude_desktop_config.json:
Location of config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Usage with Claude CLI
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!
Troubleshooting
Python not found?
macOS:
brew install python@3.11Windows: Download from python.org
Linux:
sudo apt install python3.11
Dependencies issue?
The wrapper tries to install automatically, but if it fails:
API key issues?
Check
~/.zen-mcp-server/.envhas valid keysEnsure at least one API key is configured
For OpenRouter, check your credits/limits
Requirements
Python 3.11+
Node.js >= 14.0.0
Git
At least one API key (Gemini, OpenAI, or OpenRouter)
Why No Docker?
We removed Docker because:
Faster startup - No container overhead
Less resource usage - No Redis, no Docker daemon
Simpler - Just Python and your API keys
Same features - Conversation threading works perfectly with in-memory storage
Links
License
Apache 2.0 - See LICENSE