mcp
If you are the rightful owner of mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An implementation of Hanzo capabilities using the Model Context Protocol (MCP).
Hanzo MCP - The Zen of Model Context Protocol
π₯· One MCP to Rule Them All
Start here. Add other MCPs later. Control everything through one opinionated interface.
Hanzo MCP isn't just another Model Context Protocol serverβit's THE MCP server. While others give you fragments, we give you the complete toolkit. One server that orchestrates all others, with the power to add, remove, and control any MCP server dynamically.
# Install and rule your development world
uvx hanzo-mcp
Note on Deprecation Warnings: If you see Pydantic deprecation warnings, clear your uvx cache with
rm -rf ~/.cache/uv/
and run again. This is due to litellm using old Pydantic v1 config style in cached environments.
π― Why Hanzo MCP?
The Problem with Other MCPs
- Fragmented Experience: Install 10 different MCPs for 10 different tasks
- Inconsistent Interfaces: Each MCP has its own conventions and quirks
- Limited Scope: Most MCPs do one thing, leaving you to juggle multiple servers
- No Orchestration: No way to coordinate between different MCP servers
The Hanzo Way
- One Installation: 65+ professional tools out of the box
- Unified Philosophy: Consistent, opinionated interface following Unix principles
- MCP Orchestration: Install and control other MCP servers through Hanzo
- Swappable Opinions: Don't like our way? Load a different palette and change everything
π Features That Set Us Apart
π¨ Palette System - Opinions Are Just Configurations
# Don't like our shell tools? Swap the palette
palette_load(palette="minimal") # Just the essentials
palette_load(palette="pentesting") # Security focused tools
palette_load(palette="data-science") # Jupyter, pandas, numpy focused
palette_load(palette="your-custom") # Your tools, your way
π MCP Server Orchestration
# Add any MCP server dynamically
mcp_add(url="github.com/someone/their-mcp", alias="their")
# Use their tools through our unified interface
their_tool(action="whatever", params=...)
# Remove when done
mcp_remove(alias="their")
π οΈ 65+ Battle-Tested Tools
Intelligent Multi-Modal Search
- search: Combines grep, AST analysis, vector embeddings, and git history
- symbols: Find any code symbol across languages instantly
- git_search: Search through git history, branches, and commits
Advanced Development
- agent: Delegate complex tasks to specialized AI agents
- llm: Query multiple LLM providers with consensus
- jupyter: Full Jupyter notebook support
- neovim: Integrated Neovim for power users
File Operations That Just Work
- edit/multi_edit: Intelligent pattern-based editing
- read/write: Automatic encoding detection
- tree: Visual directory structures
- watch: Monitor file changes in real-time
Process & System Control
- run_command: Secure command execution with timeout
- processes: Monitor and manage system processes
- npx/uvx: Package runners with background support
And So Much More
- Database tools (SQL, Graph)
- Vector search and indexing
- Todo management
- Configuration management
- MCP server management
- Statistical analysis
- Batch operations
π― The Zen of Hanzo
- One Tool, One Purpose - Each tool does one thing exceptionally well
- Actions Over Tools - Complex tools support multiple actions, not multiple interfaces
- Parallel by Default - Run multiple operations concurrently
- Smart Fallbacks - Automatically choose the best available backend
- Secure by Design - Fine-grained permissions and audit trails
- Opinionated but Flexible - Strong defaults with palette customization
π Quick Start
Installation
# Install globally with uvx (recommended)
uvx hanzo-mcp
# Or install with pip
pip install hanzo-mcp
# Or install from source for development
git clone https://github.com/hanzoai/mcp
cd mcp
make install
Add to Claude Desktop
# Automatic installation
make install-desktop
# Or manual configuration
cat >> ~/Library/Application\ Support/Claude/claude_desktop_config.json << 'EOF'
{
"mcpServers": {
"hanzo": {
"command": "uvx",
"args": ["hanzo-mcp"]
}
}
}
EOF
Your First Session
- Open Claude Desktop
- Start with
search
to explore any codebase - Use
tree
to understand structure - Edit files with
edit
ormulti_edit
- Run commands with
run_command
- Add other MCP servers with
mcp_add
π¨ Palette System
Palettes let you completely transform Hanzo MCP's behavior:
# List available palettes
palette_list()
# Load a different personality
palette_load(palette="minimal") # Just core tools
palette_load(palette="academic") # Research and writing focused
palette_load(palette="devops") # Infrastructure and deployment
# Create your own
palette_create(
name="my-workflow",
tools=["read", "write", "edit", "search", "my-custom-tool"],
config={"editor": "vim", "search_backend": "ripgrep"}
)
π MCP Orchestration
Hanzo MCP can manage other MCP servers:
# Add any MCP server
mcp_add(url="github.com/modelcontextprotocol/servers/tree/main/postgres")
# List installed servers
mcp_stats()
# Use tools from other servers seamlessly
postgres_query(query="SELECT * FROM users")
# Remove when done
mcp_remove(alias="postgres")
π Advanced Features
Intelligent Search
# Multi-modal search across your codebase
results = search(
query="authentication",
include_git=True, # Search git history
include_vector=True, # Semantic search
include_ast=True, # AST symbol search
parallel=True # Search all modes concurrently
)
Agent Orchestration
# Delegate complex tasks to specialized agents
agent(
task="Refactor this codebase to use async/await",
files=["src/**/*.py"],
instructions="Maintain backwards compatibility"
)
Consensus LLM Queries
# Query multiple LLMs and get consensus
llm(
action="consensus",
prompt="Is this code secure?",
providers=["openai", "anthropic", "google"],
threshold=0.8
)
ποΈ Architecture
Built on modern Python with:
- FastMCP: High-performance MCP framework
- UV: Lightning-fast Python package management
- Parallel Execution: Concurrent operations by default
- Smart Backends: Automatic selection of best available tools
- Type Safety: Full type hints and validation
π€ Contributing
We welcome contributions! The codebase is designed for extensibility:
- Add a Tool: Drop a file in
hanzo_mcp/tools/
- Create a Palette: Define tool collections and configurations
- Improve Existing Tools: Each tool is independently testable
See for guidelines.
π Documentation
- Quick Start Guide - Get running in 5 minutes
- Tool Reference - Detailed documentation for all 65+ tools
- Palette System - Customize your experience
- MCP Orchestration - Control other MCP servers
- Best Practices - Tips from power users
π Why Developers Choose Hanzo MCP
"I replaced 12 different MCP servers with just Hanzo. The palette system means I can switch contexts instantlyβfrom web dev to data science to DevOps." - Power User
"The agent orchestration is incredible. I can delegate entire refactoring tasks and it just works." - Sr. Engineer
"Finally, an MCP that thinks like a developer. Smart defaults, great errors, and everything is parallel." - Tech Lead
π Stats
- 65+ Professional Tools
- 10x Faster than installing multiple MCPs
- 1 Unified interface to rule them all
- β Possibilities with the palette system
π License
MIT - Use it, extend it, make it yours.
π Links
The Zen of Hanzo MCP
One server. All tools. Your way.
uvx hanzo-mcp