Hanzo MCP
OfficialThe Hanzo MCP server is a universal development tool enabling Claude to interact with projects through advanced code understanding, modification, and management capabilities.
Universal Development Operations: Use the
devtool to perform file operations, execute commands, analyze projects, manage notebooks, and interact with vector stores.Code Understanding & Modification: Read, create, modify, and edit files and their content within repositories.
Complex Reasoning: Leverage the
thinktool for brainstorming and analysis without making repository changes.Server Management: Control MCP servers with
run_mcp(list, start, stop, restart) and manage external servers (list, enable, disable).Auto-Detection Configuration: Toggle auto-detection of external servers.
Sub-Agent Delegation: Assign tasks to concurrent sub-agents for efficient processing.
Supports code discovery and project analysis, enabling understanding of project structure, dependencies, and frameworks in Git repositories
Enables reading and editing Jupyter notebooks with full cell and output handling capabilities
Provides enhanced command execution in shell environments with improved error handling and security controls
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hanzo MCPlist all UI components in my current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@hanzo/mcp
The canonical Model Context Protocol server for the Hanzo AI Cloud — one action-routed tool surface every Hanzo agent runs on.
Quick start
npm install -g @hanzo/mcp
hanzo-mcp serveRelated MCP server: code-context
What this is
@hanzo/mcp is the canonical MCP server for the Hanzo platform. It collapses a 260+ tool catalog into 13 HIP-0300 action-routed tools (fs, exec, code, git, fetch, workspace, ui, plus optional think, memory, hanzo, plan, tasks, mode) served over the MCP stdio / streamable-http transports.
Every Hanzo agent speaks this same tool surface. The Python SDK (hanzo-mcp on PyPI) and the Rust crate (hanzo-mcp::brain) mirror it 1-to-1, so a tool name and its action schema are identical across all three runtimes.
Implements:
HIP-0300 — Unified MCP Tools
HIP-0106 — Unified Cloud Binary (
mcpsubsystem)
Tool surface (HIP-0300)
13 canonical tools organized by axis. Each tool uses action-routed dispatch — one tool name, many verbs.
Core tools (7)
Tool | Axis | Key actions |
| Bytes + paths | read, write, stat, list, mkdir, rm, mv, apply_patch, search_text |
| Execution | run, background, ps, kill, logs |
| Symbols + semantics | parse, search, transform, summarize |
| Diffs + history | status, diff, log, commit, branch, stash |
| HTTP | get, post, put, delete, download |
| Project context | info, config, env, dependencies |
| UI components | list_components, fetch_component, search, install |
Optional tools (6)
Tool | Purpose |
| Structured reasoning |
| Persistent storage |
| Hanzo platform surface (iam, kms, paas, commerce) |
| Task planning |
| Task tracking |
| Developer modes |
Community tools (opt-in)
Third-party descriptors that shell out to externally-installed binaries. Off by default; enable individually.
Tool | Source | Purpose |
| Deploy zk-OCR relayer to a target chain | |
| Probe deployed relayer addresses | |
| Poll matching contract events | |
| Compress blob with Solana-tuned compressor |
Enable with hanzo-mcp serve --enable-community-cryptuon. See src/tools/community/cryptuon/ for descriptors and per-tool env overrides (e.g. $CRYPTUON_TESSERACT_DEPLOY).
Usage
CLI
# Default: HIP-0300 unified surface (13 tools)
hanzo-mcp serve
# Legacy individual tools (read_file, write_file, bash, …)
hanzo-mcp serve --legacy
# UI extensions
hanzo-mcp serve --enable-ui --enable-desktop
# Disable specific tools
hanzo-mcp serve --disable-tools plan,tasks
# List available tools
hanzo-mcp list-tools
# Install for Claude Desktop
hanzo-mcp install-desktopProgrammatic
import { getConfiguredTools } from '@hanzo/mcp';
// HIP-0300 unified surface (default)
const tools = getConfiguredTools({ unified: true });
// Legacy individual tools
const legacy = getConfiguredTools({ enableLegacy: true });
// With UI extensions
const withUI = getConfiguredTools({
unified: true,
enableUI: true,
enableDesktop: true,
});Client configuration
Claude Desktop / Cursor / Code
Add to .mcp.json:
{
"mcpServers": {
"hanzo": {
"command": "npx",
"args": ["-y", "--package=@hanzo/mcp", "hanzo-mcp", "serve"]
}
}
}Why
--package=? Without it,npx -y @hanzo/mcp serveresolvesserveas a separate npm package (the unrelated static-file server) and runs that instead ofhanzo-mcp. The--package=form binds npx to the right binary. This matters on every platform — Windows, macOS, and Linux.
Troubleshooting
If MCP "doesn't work" in Claude Desktop, Claude Code, Cursor, or any other client:
Verify the stdio handshake from the command line:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"t","version":"1"}}}' \ | npx -y --package=@hanzo/mcp@latest hanzo-mcp serveA working install prints a JSON-RPC response with
"serverInfo":{"name":"hanzo-mcp","version":"…"}within ~10 s. Silence (or a long hang) means the wrong binary is running.Turn on debug logging by setting
HANZO_MCP_DEBUG=1in the client's MCP server env block. Stderr will then include the resolved CLI path, cwd, argv, and PATH prefix — usually enough to tell whether a strayservebinary, a wrongnpxarg form, or a port conflict is shadowing the server."hanzo": { "command": "npx", "args": ["-y", "--package=@hanzo/mcp", "hanzo-mcp", "serve"], "env": { "HANZO_MCP_DEBUG": "1" } }In Claude Desktop the stderr lands in
~/Library/Logs/Claude/mcp-server-hanzo.log(macOS) or%APPDATA%\Claude\logs\mcp-server-hanzo.log(Windows).Rerun the installer to overwrite a stale (2.4.1 or earlier) config:
npx -y --package=@hanzo/mcp@latest hanzo-mcp install --claude-desktopThen restart Claude Desktop.
Windows specifics.
npx.cmdshells out tocmd.exefor arg parsing, which is sensitive to quoting. If the JSON config uses single quotes anywhere, switch to double quotes.CI invariants. The protocol-level contract is exercised on every push to main, on native Linux amd64 + arm64 (Hanzo self-hosted runners, no QEMU), via
scripts/smoke-mcp.mjsand an e2e test against the published npm package using the same npx invocation shipped to clients. If MCP works locally but fails for you, open an issue with theHANZO_MCP_DEBUG=1log attached.
Architecture
Claude Desktop / Cursor / Code -> stdio MCP transport
|
hanzo-mcp serve
|
+-------------------+-------------------+
| |
HIP-0300 unified tools legacy individual tools (--legacy)
fs / exec / code / git / read_file, write_file, bash, …
fetch / workspace / ui +
optional think / memory /
hanzo / plan / tasks / mode
|
TS runtime (today) | Rust runtime (latency-sensitive)
|
Go runtime under hanzoai/cloud (HIP-0106 in flight)Source layout:
src/tools/unified/ # HIP-0300 action-routed tools (fs, exec, code, fetch, workspace, hanzo)
src/tools/ # Individual tools (git, think, memory, tasks, plan, mode, …)
rust/src/tools/ # Rust native tools (exec, git, fetch, code, computer, …)The Rust runtime provides native performance for latency-sensitive operations (<5 ms clicks, <2 ms keypress, <50 ms screenshots).
Python SDK parity
The Python implementation (hanzo-mcp on PyPI) exposes the same 13 HIP-0300 tools via entry-point discovery from hanzo-tools-* packages. Tool names and action schemas are identical across both runtimes.
pip install hanzo-mcpLicense
MIT
Hanzo — the Open AI Cloud
Open source · every language · on-chain settlement. hanzo.ai · docs.hanzo.ai
SDKs in every language — Python (flagship) · TypeScript · Go · Rust · C++ · Swift · Kotlin · umbrella
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.15304MIT
- AlicenseAqualityCmaintenanceAn MCP server that provides dynamic codebase context to Claude Code through tools like hybrid search, recent changes, and symbol definitions, enhancing AI-assisted coding with local RAG.8MIT
- AlicenseNot gradedqualityAmaintenanceEnterprise-grade MCP server integrating Claude AI capabilities, enabling AI-powered conversations, file operations, and system tools via the Model Context Protocol.1Apache 2.0
- AlicenseAqualityCmaintenanceAn MCP server that lets Claude Code recall the context of past conversations from any project on demand.5492MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hanzoai/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server