hanzo-mcp 0.8.2__py3-none-any.whl → 0.8.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hanzo-mcp might be problematic. Click here for more details.
- hanzo_mcp/__init__.py +15 -2
- hanzo_mcp/bridge.py +133 -127
- hanzo_mcp/cli.py +45 -21
- hanzo_mcp/compute_nodes.py +68 -55
- hanzo_mcp/config/settings.py +11 -0
- hanzo_mcp/core/base_agent.py +520 -0
- hanzo_mcp/core/model_registry.py +436 -0
- hanzo_mcp/dev_server.py +3 -2
- hanzo_mcp/server.py +4 -1
- hanzo_mcp/tools/__init__.py +61 -46
- hanzo_mcp/tools/agent/__init__.py +63 -52
- hanzo_mcp/tools/agent/agent_tool.py +12 -1
- hanzo_mcp/tools/agent/cli_tools.py +543 -0
- hanzo_mcp/tools/agent/network_tool.py +11 -55
- hanzo_mcp/tools/agent/unified_cli_tools.py +259 -0
- hanzo_mcp/tools/common/batch_tool.py +2 -0
- hanzo_mcp/tools/common/context.py +3 -1
- hanzo_mcp/tools/config/config_tool.py +121 -9
- hanzo_mcp/tools/filesystem/__init__.py +18 -0
- hanzo_mcp/tools/llm/__init__.py +44 -16
- hanzo_mcp/tools/llm/llm_tool.py +13 -0
- hanzo_mcp/tools/llm/llm_unified.py +911 -0
- hanzo_mcp/tools/shell/__init__.py +7 -1
- hanzo_mcp/tools/shell/auto_background.py +24 -0
- hanzo_mcp/tools/shell/bash_tool.py +14 -28
- hanzo_mcp/tools/shell/zsh_tool.py +266 -0
- hanzo_mcp-0.8.4.dist-info/METADATA +411 -0
- {hanzo_mcp-0.8.2.dist-info → hanzo_mcp-0.8.4.dist-info}/RECORD +31 -25
- hanzo_mcp-0.8.2.dist-info/METADATA +0 -526
- {hanzo_mcp-0.8.2.dist-info → hanzo_mcp-0.8.4.dist-info}/WHEEL +0 -0
- {hanzo_mcp-0.8.2.dist-info → hanzo_mcp-0.8.4.dist-info}/entry_points.txt +0 -0
- {hanzo_mcp-0.8.2.dist-info → hanzo_mcp-0.8.4.dist-info}/top_level.txt +0 -0
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: hanzo-mcp
|
|
3
|
-
Version: 0.8.2
|
|
4
|
-
Summary: The Zen of Hanzo MCP: One server to rule them all. The ultimate MCP that orchestrates all others.
|
|
5
|
-
Author-email: Hanzo Industries Inc <dev@hanzo.ai>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/hanzoai/mcp
|
|
8
|
-
Project-URL: Bug Tracker, https://github.com/hanzoai/mcp/issues
|
|
9
|
-
Project-URL: Documentation, https://mcp.hanzo.ai
|
|
10
|
-
Keywords: mcp,claude,hanzo,code,agent
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
|
-
Requires-Python: >=3.12
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
Requires-Dist: mcp>=1.9.4
|
|
17
|
-
Requires-Dist: fastmcp>=2.9.2
|
|
18
|
-
Requires-Dist: httpx>=0.28.1
|
|
19
|
-
Requires-Dist: uvicorn>=0.34.0
|
|
20
|
-
Requires-Dist: openai>=1.62.0
|
|
21
|
-
Requires-Dist: python-dotenv>=1.0.1
|
|
22
|
-
Requires-Dist: litellm>=1.73.2
|
|
23
|
-
Requires-Dist: grep-ast>=0.8.1
|
|
24
|
-
Requires-Dist: bashlex>=0.18
|
|
25
|
-
Requires-Dist: libtmux>=0.39.0
|
|
26
|
-
Requires-Dist: nbformat>=5.10.4
|
|
27
|
-
Requires-Dist: psutil>=6.0.0
|
|
28
|
-
Requires-Dist: pydantic>=2.9.2
|
|
29
|
-
Requires-Dist: pydantic-settings>=2.7.0
|
|
30
|
-
Requires-Dist: typing-extensions>=4.13.0
|
|
31
|
-
Requires-Dist: watchdog>=6.0.0
|
|
32
|
-
Requires-Dist: keyring>=24.0.0
|
|
33
|
-
Requires-Dist: ffind>=1.3.0
|
|
34
|
-
Provides-Extra: dev
|
|
35
|
-
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
36
|
-
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
37
|
-
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
38
|
-
Requires-Dist: black>=23.3.0; extra == "dev"
|
|
39
|
-
Requires-Dist: sphinx>=8.0.0; extra == "dev"
|
|
40
|
-
Requires-Dist: sphinx-rtd-theme>=3.0.0; extra == "dev"
|
|
41
|
-
Requires-Dist: myst-parser>=4.0.0; extra == "dev"
|
|
42
|
-
Requires-Dist: sphinx-copybutton>=0.5.0; extra == "dev"
|
|
43
|
-
Requires-Dist: mypy>=1.10.0; extra == "dev"
|
|
44
|
-
Requires-Dist: types-aiofiles>=23.2.0; extra == "dev"
|
|
45
|
-
Requires-Dist: types-psutil>=5.9.5; extra == "dev"
|
|
46
|
-
Requires-Dist: types-setuptools>=69.5.0; extra == "dev"
|
|
47
|
-
Provides-Extra: docs
|
|
48
|
-
Requires-Dist: sphinx>=8.0.0; extra == "docs"
|
|
49
|
-
Requires-Dist: sphinx-rtd-theme>=3.0.0; extra == "docs"
|
|
50
|
-
Requires-Dist: myst-parser>=4.0.0; extra == "docs"
|
|
51
|
-
Requires-Dist: sphinx-copybutton>=0.5.0; extra == "docs"
|
|
52
|
-
Provides-Extra: analytics
|
|
53
|
-
Requires-Dist: posthog>=3.0.0; extra == "analytics"
|
|
54
|
-
Provides-Extra: test
|
|
55
|
-
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
56
|
-
Requires-Dist: pytest-cov>=4.1.0; extra == "test"
|
|
57
|
-
Requires-Dist: pytest-mock>=3.10.0; extra == "test"
|
|
58
|
-
Requires-Dist: pytest-asyncio>=0.25.3; extra == "test"
|
|
59
|
-
Requires-Dist: twisted; extra == "test"
|
|
60
|
-
Provides-Extra: agents
|
|
61
|
-
Requires-Dist: hanzo-agents>=0.1.0; extra == "agents"
|
|
62
|
-
Provides-Extra: memory
|
|
63
|
-
Requires-Dist: hanzo-memory>=1.0.0; extra == "memory"
|
|
64
|
-
Provides-Extra: performance
|
|
65
|
-
Requires-Dist: ujson>=5.7.0; extra == "performance"
|
|
66
|
-
Requires-Dist: orjson>=3.9.0; extra == "performance"
|
|
67
|
-
Provides-Extra: publish
|
|
68
|
-
Requires-Dist: twine>=4.0.2; extra == "publish"
|
|
69
|
-
Requires-Dist: build>=1.0.3; extra == "publish"
|
|
70
|
-
|
|
71
|
-
# Hanzo AI - The Zen of Model Context Protocol
|
|
72
|
-
|
|
73
|
-
[](https://mcp.hanzo.ai)
|
|
74
|
-
[](https://pypi.org/project/hanzo-mcp/)
|
|
75
|
-
[](https://github.com/hanzoai/mcp/releases/latest/download/hanzo-mcp.dxt)
|
|
76
|
-
[](https://github.com/hanzoai/mcp/blob/main/LICENSE)
|
|
77
|
-
[](https://discord.gg/hanzoai)
|
|
78
|
-
|
|
79
|
-
## 🥷 The Complete AI Development Ecosystem via MCP
|
|
80
|
-
|
|
81
|
-
**One unified interface to orchestrate your entire development workflow.**
|
|
82
|
-
|
|
83
|
-
Hanzo AI is more than an MCP server—it's a comprehensive ecosystem of interconnected development tools designed for the AI era. From interactive notebooks with multi-language support to advanced debugging, from intelligent code search to multi-agent workflows, everything works together seamlessly through the Model Context Protocol.
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
# Install and rule your development world
|
|
87
|
-
uvx hanzo-mcp
|
|
88
|
-
|
|
89
|
-
# Or use our one-click Desktop Extension
|
|
90
|
-
# Download from releases and double-click to install
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
> **Note on Installation**: If uvx is not installed, Hanzo will automatically install it for you in your home directory. No manual setup required!
|
|
94
|
-
|
|
95
|
-
## 🌐 The Hanzo Ecosystem
|
|
96
|
-
|
|
97
|
-
### Integrated Development Environment
|
|
98
|
-
```mermaid
|
|
99
|
-
graph LR
|
|
100
|
-
A[Hanzo MCP] --> B[Interactive Notebooks]
|
|
101
|
-
A --> C[Code Intelligence]
|
|
102
|
-
A --> D[Multi-Agent System]
|
|
103
|
-
A --> E[Project Management]
|
|
104
|
-
|
|
105
|
-
B --> B1[Multi-Language REPL]
|
|
106
|
-
B --> B2[SoS Kernels]
|
|
107
|
-
B --> B3[Live Debugging]
|
|
108
|
-
|
|
109
|
-
C --> C1[LSP Integration]
|
|
110
|
-
C --> C2[AST Analysis]
|
|
111
|
-
C --> C3[Semantic Search]
|
|
112
|
-
|
|
113
|
-
D --> D1[Agent Networks]
|
|
114
|
-
D --> D2[Tool Orchestration]
|
|
115
|
-
D --> D3[Consensus Systems]
|
|
116
|
-
|
|
117
|
-
E --> E1[Git Integration]
|
|
118
|
-
E --> E2[Task Management]
|
|
119
|
-
E --> E3[Quality Control]
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### 🎯 Why Hanzo AI?
|
|
123
|
-
|
|
124
|
-
**The Problem with Fragmented Tools**
|
|
125
|
-
- Install 10 different tools that don't talk to each other
|
|
126
|
-
- Context switching between interfaces kills productivity
|
|
127
|
-
- No unified way to orchestrate complex workflows
|
|
128
|
-
- Missing the power of tool composition
|
|
129
|
-
|
|
130
|
-
**The Hanzo Solution**
|
|
131
|
-
- **Unified Ecosystem**: 70+ tools that work together seamlessly
|
|
132
|
-
- **Intelligent Orchestration**: Tools that understand context and collaborate
|
|
133
|
-
- **Interactive Development**: From REPL to debugging in one interface
|
|
134
|
-
- **Quality Built-in**: Automated review, testing, and best practices
|
|
135
|
-
- **Extensible Platform**: Add any MCP server or custom tool
|
|
136
|
-
|
|
137
|
-
## 🚀 Core Capabilities
|
|
138
|
-
|
|
139
|
-
### 📓 Interactive Development Environment
|
|
140
|
-
|
|
141
|
-
#### Multi-Language Notebooks with SoS
|
|
142
|
-
```python
|
|
143
|
-
# Work with multiple languages in one notebook
|
|
144
|
-
notebook(
|
|
145
|
-
action="create",
|
|
146
|
-
path="analysis.ipynb",
|
|
147
|
-
kernels=["python3", "R", "javascript", "bash"]
|
|
148
|
-
)
|
|
149
|
-
|
|
150
|
-
# Write and execute code interactively
|
|
151
|
-
notebook(
|
|
152
|
-
action="write",
|
|
153
|
-
cell_type="code",
|
|
154
|
-
content="""
|
|
155
|
-
# Python cell
|
|
156
|
-
data = load_dataset()
|
|
157
|
-
processed = clean_data(data)
|
|
158
|
-
""",
|
|
159
|
-
kernel="python3"
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
# Step through execution line by line
|
|
163
|
-
notebook(
|
|
164
|
-
action="step",
|
|
165
|
-
cell_id="cell_123",
|
|
166
|
-
lines=[1, 2, 3] # Execute specific lines
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
# Read results and outputs
|
|
170
|
-
result = notebook(
|
|
171
|
-
action="read",
|
|
172
|
-
cell_id="cell_123",
|
|
173
|
-
include_outputs=True
|
|
174
|
-
)
|
|
175
|
-
|
|
176
|
-
# Launch debugger for interactive debugging
|
|
177
|
-
debugger(
|
|
178
|
-
notebook="analysis.ipynb",
|
|
179
|
-
cell_id="cell_123",
|
|
180
|
-
breakpoint=15
|
|
181
|
-
)
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
#### Interactive REPL Sessions
|
|
185
|
-
```python
|
|
186
|
-
# Start multi-language REPL
|
|
187
|
-
repl(
|
|
188
|
-
languages=["python", "javascript", "go"],
|
|
189
|
-
project_dir="/path/to/project",
|
|
190
|
-
share_context=True # Share variables between languages
|
|
191
|
-
)
|
|
192
|
-
|
|
193
|
-
# Execute code with full project context
|
|
194
|
-
repl.execute("""
|
|
195
|
-
import project_module
|
|
196
|
-
result = project_module.process()
|
|
197
|
-
""", language="python")
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### 🧠 Advanced AI Tools
|
|
201
|
-
|
|
202
|
-
#### Multi-Agent Workflows
|
|
203
|
-
```python
|
|
204
|
-
# Delegate complex tasks to specialized agents
|
|
205
|
-
agent(
|
|
206
|
-
prompts=["Find all API endpoints", "Document each endpoint", "Generate OpenAPI spec"],
|
|
207
|
-
parallel=True # Run agents concurrently
|
|
208
|
-
)
|
|
209
|
-
|
|
210
|
-
# Get consensus from multiple LLMs
|
|
211
|
-
consensus(
|
|
212
|
-
prompt="Review this architecture decision",
|
|
213
|
-
providers=["openai", "anthropic", "google"],
|
|
214
|
-
threshold=0.8 # Require 80% agreement
|
|
215
|
-
)
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
#### Built-in Code Critic
|
|
219
|
-
```python
|
|
220
|
-
# Force high-quality standards with the critic tool
|
|
221
|
-
critic(
|
|
222
|
-
analysis="Review authentication implementation for security issues"
|
|
223
|
-
)
|
|
224
|
-
# The critic will:
|
|
225
|
-
# - Find potential bugs and edge cases
|
|
226
|
-
# - Ensure proper error handling
|
|
227
|
-
# - Verify test coverage
|
|
228
|
-
# - Check security implications
|
|
229
|
-
# - Suggest improvements
|
|
230
|
-
# - Enforce best practices
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
### 📝 Project Intelligence
|
|
234
|
-
|
|
235
|
-
#### Automatic Rules Discovery
|
|
236
|
-
```python
|
|
237
|
-
# Reads your project preferences automatically
|
|
238
|
-
rules() # Finds .cursorrules, .claude/code.md, etc.
|
|
239
|
-
# Understands your:
|
|
240
|
-
# - Coding standards
|
|
241
|
-
# - Project conventions
|
|
242
|
-
# - AI assistant preferences
|
|
243
|
-
# - Team guidelines
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
#### Unified Todo Management
|
|
247
|
-
```python
|
|
248
|
-
# Single tool for all task management
|
|
249
|
-
todo("Add authentication to API")
|
|
250
|
-
todo --action update --id abc123 --status in_progress
|
|
251
|
-
todo --action list --filter pending
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
### 🔍 Intelligent Code Intelligence
|
|
255
|
-
|
|
256
|
-
#### Unified Search Engine
|
|
257
|
-
```python
|
|
258
|
-
# One search to rule them all - automatically runs in parallel:
|
|
259
|
-
# - Text search with ripgrep
|
|
260
|
-
# - AST analysis for code structure
|
|
261
|
-
# - Vector search for semantic meaning
|
|
262
|
-
# - Git history search (integrated into git tool)
|
|
263
|
-
# - Symbol search with LSP
|
|
264
|
-
# - Memory search for past discussions
|
|
265
|
-
search("authentication flow")
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
#### Language Server Protocol (LSP) Integration
|
|
269
|
-
```python
|
|
270
|
-
# Full LSP support with jupyter-lsp integration
|
|
271
|
-
lsp(
|
|
272
|
-
action="initialize",
|
|
273
|
-
language="python",
|
|
274
|
-
project_dir="/path/to/project"
|
|
275
|
-
)
|
|
276
|
-
|
|
277
|
-
# Go to definition, find references, rename symbols
|
|
278
|
-
lsp.goto_definition("UserService.authenticate")
|
|
279
|
-
lsp.find_references("API_KEY")
|
|
280
|
-
lsp.rename_symbol("oldFunction", "newFunction")
|
|
281
|
-
|
|
282
|
-
# Get diagnostics and hover information
|
|
283
|
-
diagnostics = lsp.get_diagnostics("main.py")
|
|
284
|
-
info = lsp.hover("mysterious_function", line=42, col=15)
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
#### Git Integration (with built-in search)
|
|
288
|
-
```python
|
|
289
|
-
# All git operations in one tool
|
|
290
|
-
git("status")
|
|
291
|
-
git("diff", "--cached")
|
|
292
|
-
git("log", "--oneline", "-10")
|
|
293
|
-
|
|
294
|
-
# Git search is now part of the git tool
|
|
295
|
-
git("search", pattern="TODO", history=True)
|
|
296
|
-
git("blame", file="src/auth.py", line=42)
|
|
297
|
-
git("show", commit="abc123:src/main.py")
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### 🎨 Palette System - Opinions Are Just Configurations
|
|
301
|
-
```python
|
|
302
|
-
# Don't like our defaults? Switch instantly
|
|
303
|
-
palette --action activate python # Python development focused
|
|
304
|
-
palette --action activate javascript # Node.js/React optimized
|
|
305
|
-
palette --action activate devops # Infrastructure tools
|
|
306
|
-
palette --action activate academic # Research & documentation
|
|
307
|
-
|
|
308
|
-
# Create your own workflow
|
|
309
|
-
palette_create(
|
|
310
|
-
name="my-workflow",
|
|
311
|
-
tools=["read", "write", "edit", "search", "critic", "agent"],
|
|
312
|
-
env_vars={"EDITOR": "nvim", "SEARCH": "ripgrep"}
|
|
313
|
-
)
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
### 🔌 MCP Server Orchestration
|
|
317
|
-
```python
|
|
318
|
-
# Add any MCP server dynamically
|
|
319
|
-
mcp --action add --url "github.com/someone/their-mcp" --alias "their"
|
|
320
|
-
|
|
321
|
-
# Use their tools seamlessly
|
|
322
|
-
their_tool(action="whatever", params=...)
|
|
323
|
-
|
|
324
|
-
# Remove when done
|
|
325
|
-
mcp --action remove --alias "their"
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
## 🛠️ Comprehensive Tool Ecosystem
|
|
329
|
-
|
|
330
|
-
### 📝 Interactive Development
|
|
331
|
-
- **notebook** - Multi-language notebooks with SoS (read/write/step/debug)
|
|
332
|
-
- **repl** - Interactive multi-language REPL with shared context
|
|
333
|
-
- **debugger** - Full debugging support with breakpoints and stepping
|
|
334
|
-
- **lsp** - Language Server Protocol with jupyter-lsp integration
|
|
335
|
-
|
|
336
|
-
### 🔍 Code Intelligence
|
|
337
|
-
- **search** - Unified multi-modal search (text/AST/vector/git/memory)
|
|
338
|
-
- **symbols** - AST-aware navigation with tree-sitter
|
|
339
|
-
- **find** - Fast file/directory discovery
|
|
340
|
-
- **grep** - Pattern matching with ripgrep
|
|
341
|
-
- **ast** - Code structure analysis
|
|
342
|
-
|
|
343
|
-
### 📁 File Operations
|
|
344
|
-
- **read/write/edit/multi_edit** - Intelligent file operations
|
|
345
|
-
- **tree** - Visual directory structures
|
|
346
|
-
- **watch** - File monitoring with notifications
|
|
347
|
-
- **diff** - Visual comparisons
|
|
348
|
-
|
|
349
|
-
### 🤖 AI & Automation
|
|
350
|
-
- **agent** - Multi-agent task delegation
|
|
351
|
-
- **consensus** - Multi-LLM agreement and validation
|
|
352
|
-
- **think** - Structured reasoning workspace
|
|
353
|
-
- **critic** - Automated code review and quality
|
|
354
|
-
- **batch** - Parallel tool execution
|
|
355
|
-
|
|
356
|
-
### 🖥️ System & Process
|
|
357
|
-
- **bash** - Command execution with session management
|
|
358
|
-
- **npx/uvx** - Package runners with auto-install
|
|
359
|
-
- **process** - Background process management
|
|
360
|
-
- **git** - Complete git integration with search
|
|
361
|
-
|
|
362
|
-
### 📊 Data & Analytics
|
|
363
|
-
- **vector** - Semantic search and indexing
|
|
364
|
-
- **sql** - Database operations and queries
|
|
365
|
-
- **graph** - Graph database operations
|
|
366
|
-
- **stats** - Performance and usage analytics
|
|
367
|
-
|
|
368
|
-
### 🎯 Project Management
|
|
369
|
-
- **todo** - Unified task management
|
|
370
|
-
- **rules** - Project preferences discovery
|
|
371
|
-
- **palette** - Tool configuration presets
|
|
372
|
-
- **mcp** - Dynamic MCP server orchestration
|
|
373
|
-
|
|
374
|
-
## 🚀 Quick Start
|
|
375
|
-
|
|
376
|
-
### Installation Methods
|
|
377
|
-
|
|
378
|
-
#### 1. Via pip/uv (Recommended)
|
|
379
|
-
```bash
|
|
380
|
-
# Installs globally
|
|
381
|
-
uvx hanzo-mcp
|
|
382
|
-
|
|
383
|
-
# Don't have uv? No problem - we'll install it for you!
|
|
384
|
-
curl -LsSf https://pypi.org/simple/hanzo-mcp | python3
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
#### 2. Desktop Extension (One-Click)
|
|
388
|
-
1. Download `hanzo-mcp.dxt` from [latest release](https://github.com/hanzoai/mcp/releases/latest)
|
|
389
|
-
2. Double-click to install in Claude Desktop
|
|
390
|
-
3. Restart Claude Desktop
|
|
391
|
-
|
|
392
|
-
#### 3. Manual Configuration
|
|
393
|
-
```json
|
|
394
|
-
// Add to Claude Desktop config
|
|
395
|
-
{
|
|
396
|
-
"mcpServers": {
|
|
397
|
-
"hanzo": {
|
|
398
|
-
"command": "uvx",
|
|
399
|
-
"args": ["hanzo-mcp"],
|
|
400
|
-
"env": {
|
|
401
|
-
"HANZO_ALLOWED_PATHS": "/Users/you/projects"
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
## 🔗 Ecosystem Integration
|
|
409
|
-
|
|
410
|
-
### Everything Works Together
|
|
411
|
-
```python
|
|
412
|
-
# Example: AI-assisted debugging workflow
|
|
413
|
-
# 1. Find the bug
|
|
414
|
-
search("null pointer exception")
|
|
415
|
-
|
|
416
|
-
# 2. Open in notebook for investigation
|
|
417
|
-
notebook(
|
|
418
|
-
action="create",
|
|
419
|
-
path="debug_session.ipynb",
|
|
420
|
-
import_code="src/auth.py:42-58"
|
|
421
|
-
)
|
|
422
|
-
|
|
423
|
-
# 3. Set breakpoints and debug
|
|
424
|
-
debugger(
|
|
425
|
-
notebook="debug_session.ipynb",
|
|
426
|
-
breakpoints=[45, 52]
|
|
427
|
-
)
|
|
428
|
-
|
|
429
|
-
# 4. Get AI analysis
|
|
430
|
-
critic("Analyze this exception and suggest fixes")
|
|
431
|
-
|
|
432
|
-
# 5. Apply the fix
|
|
433
|
-
edit("src/auth.py", old="user.name", new="user?.name")
|
|
434
|
-
|
|
435
|
-
# 6. Verify with tests
|
|
436
|
-
bash("pytest tests/test_auth.py -v")
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
### Tool Composition Power
|
|
440
|
-
- **Search → Notebook → Debug** - Investigate issues interactively
|
|
441
|
-
- **Agent → Critic → Test** - Automated quality workflows
|
|
442
|
-
- **LSP → AST → Edit** - Intelligent refactoring
|
|
443
|
-
- **Git → Search → Todo** - Project management workflows
|
|
444
|
-
|
|
445
|
-
## 🏆 Why Developers Love Hanzo
|
|
446
|
-
|
|
447
|
-
### Smart Defaults
|
|
448
|
-
- **Auto-installs** missing dependencies and language servers
|
|
449
|
-
- **Discovers** project rules and preferences automatically
|
|
450
|
-
- **Parallel** operations by default for speed
|
|
451
|
-
- **Intelligent** fallbacks when tools aren't available
|
|
452
|
-
|
|
453
|
-
### Quality First
|
|
454
|
-
- **Built-in critic** for automated code review
|
|
455
|
-
- **Test enforcement** in all workflows
|
|
456
|
-
- **Security scanning** in operations
|
|
457
|
-
- **Best practices** enforced by default
|
|
458
|
-
|
|
459
|
-
### Truly Extensible
|
|
460
|
-
- **Palette system** for instant context switching
|
|
461
|
-
- **MCP orchestration** to add any server dynamically
|
|
462
|
-
- **Plugin architecture** for custom tools
|
|
463
|
-
- **Everything is an API** for maximum flexibility
|
|
464
|
-
|
|
465
|
-
## 📊 Performance
|
|
466
|
-
|
|
467
|
-
- **65-70 tools** available instantly
|
|
468
|
-
- **Parallel execution** reduces wait times by 80%
|
|
469
|
-
- **Smart caching** for repeated operations
|
|
470
|
-
- **Minimal dependencies** for fast startup
|
|
471
|
-
|
|
472
|
-
## 🤝 Contributing
|
|
473
|
-
|
|
474
|
-
We welcome contributions! The codebase is designed for extensibility:
|
|
475
|
-
|
|
476
|
-
1. **Add a Tool**: Drop a file in `hanzo_mcp/tools/`
|
|
477
|
-
2. **Create a Palette**: Define tool collections
|
|
478
|
-
3. **Share Workflows**: Contribute your configurations
|
|
479
|
-
|
|
480
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
481
|
-
|
|
482
|
-
## 📚 Documentation
|
|
483
|
-
|
|
484
|
-
- **[Installation Guide](https://mcp.hanzo.ai/install)** - All installation methods
|
|
485
|
-
- **[Tool Reference](https://mcp.hanzo.ai/tools)** - Complete tool documentation
|
|
486
|
-
- **[Palette System](https://mcp.hanzo.ai/palettes)** - Customize your workflow
|
|
487
|
-
- **[MCP Orchestration](https://mcp.hanzo.ai/orchestration)** - Extend with any MCP
|
|
488
|
-
- **[Best Practices](https://mcp.hanzo.ai/best-practices)** - Pro tips
|
|
489
|
-
|
|
490
|
-
## 🌟 Testimonials
|
|
491
|
-
|
|
492
|
-
> "The critic tool alone is worth it. My code quality improved overnight." - *Sr. Engineer at Fortune 500*
|
|
493
|
-
|
|
494
|
-
> "Finally, search that actually works. It knows what I mean, not just what I type." - *AI Researcher*
|
|
495
|
-
|
|
496
|
-
> "I threw away 15 different tools and just use Hanzo now. The palette system means I can switch from Python to DevOps to writing in seconds." - *Tech Lead*
|
|
497
|
-
|
|
498
|
-
## 📈 Project Status
|
|
499
|
-
|
|
500
|
-
- **Version**: 0.7.x (Production Ready)
|
|
501
|
-
- **Tools**: 70+ interconnected tools
|
|
502
|
-
- **Ecosystems**: Interactive notebooks, debugging, LSP, multi-agent
|
|
503
|
-
- **Languages**: Python, JavaScript, Go, R, Julia, Bash, and more via SoS
|
|
504
|
-
- **Community**: Active and growing
|
|
505
|
-
- **Updates**: Continuous improvements
|
|
506
|
-
|
|
507
|
-
## 🛡️ Security
|
|
508
|
-
|
|
509
|
-
- **Sandboxed execution** for all operations
|
|
510
|
-
- **Permission system** for file access
|
|
511
|
-
- **Audit trails** for compliance
|
|
512
|
-
- **No telemetry** without consent
|
|
513
|
-
|
|
514
|
-
## 🎯 The Zen of Hanzo
|
|
515
|
-
|
|
516
|
-
1. **One Tool, One Purpose** - Each tool masters one thing
|
|
517
|
-
2. **Quality Over Quantity** - Better to do it right
|
|
518
|
-
3. **Parallel When Possible** - Time is precious
|
|
519
|
-
4. **Smart Defaults** - It should just work
|
|
520
|
-
5. **Extensible Always** - Your workflow, your way
|
|
521
|
-
|
|
522
|
-
---
|
|
523
|
-
|
|
524
|
-
*Built with ❤️ by developers, for developers. Because life's too short for bad tools.*
|
|
525
|
-
|
|
526
|
-
**[Get Started Now →](https://mcp.hanzo.ai)**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|