mcp
v2.4.25Hanzo MCP Server - Unified tool surface with AI, cloud control, vector search, and multi-framework UI
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fs
Unified filesystem tool (HIP-0300). Actions: - read: Read file contents (returns hash) - write: Create new files only - stat: File metadata including hash - list: Directory listing - apply_patch: uri, old_text (must match exactly once), new_text. One call edits; no read is needed first. base_hash is optional: pass the hash read/stat returned to refuse the edit if the file changed since. - patch: Apply Rust-style patch format (Rust parity) - search_text: Text search - mkdir: Create directory - rm: Remove (requires confirm=true) IMPORTANT: apply_patch is the ONLY way to edit existing files…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
base_hash | string | apply_patch (optional): the hash read/stat returned; the edit is refused if the file changed since |
confirm | boolean | rm: required |
content | string | write: the new file's content |
cursor | string | list/search_text: the page after this cursor |
depth | number | list: levels |
destination | string | mv: where to |
glob | string | search_text: file glob |
input | string | patch: *** Begin Patch … *** End Patch |
limit | number | read: lines (2000); list: entries (100); search_text: matches (50) |
new_text | string | apply_patch (required): its replacement |
offset | number | read: first line, 0-based |
old_text | string | apply_patch (required): the text to replace; must match the file exactly once |
pattern | string | list: name glob; search_text: regex |
uri | string | Absolute path or file:// URI (path is accepted too) |
exec
Process execution, background jobs & package runners: exec, ps, kill, logs, wait, npx, uvx
| Parameter | Type | Description |
|---|---|---|
action * | string | Process action |
args | array | Package arguments for npx / uvx |
background | boolean | Run in background |
command | string | Command to execute |
cwd | string | Working directory |
env | object | Environment variables |
package | string | Package specifier for npx / uvx |
proc_id | string | Process ID for ps/kill/logs |
signal | string | Signal for kill |
tail | number | Lines from end for logs |
timeout | number | Timeout in ms |
code
Unified code intelligence: AST symbols (parse, serialize, symbols, outline, definition, search_symbol, references, summarize, metrics, exports, types, hierarchy, rename, grep_replace, transform), LSP (diagnostics, lsp), refactoring (refactor), JSON queries (jq), and Cloud RAG (search/rag_search, context/rag_context, ask/rag_ask, index/rag_index)
| Parameter | Type | Description |
|---|---|---|
action * | string | Code action |
filter | string | jq filter expression (action=jq) |
kind | string | Transform kind: rename, codemod |
language | string | Filter by language |
max_results | number | |
new_name | string | New name for rename |
old_name | string | Old name for transform rename |
path | string | File path (alias for uri) |
pattern | string | File glob pattern |
query | string | Symbol name or search query |
replacement | string | Replacement for grep_replace |
repo | string | Cloud repository slug (LSP / Cloud RAG) |
scope | string | Search scope (file, directory, project) |
text | string | Raw text input |
uri | string | File or directory path |
git
Git version control: status, diff, log, branch, commit, blame, stash, show, tag, remote, merge, rebase, cherry_pick, reset, clean, worktree, bisect, reflog, init, clone, fetch, pull, push, config, shortlog, apply, checkout
| Parameter | Type | Description |
|---|---|---|
action * | string | Git action |
all | boolean | |
author | string | Filter by author |
cherry | string | Commit SHA for cherry-pick |
create | boolean | Create new branch on checkout |
file | string | File path (diff, blame, log) |
files | array | Files to stage/add |
force | boolean | |
format | string | Log format (short, medium, full, fuller, oneline, format:...) |
graph | boolean | Show graph (log) |
index | number | Stash index |
key | string | Config key |
limit | number | Number of entries (log, reflog) |
lines | string | Line range (blame, e.g., 10,20) |
message | string | Commit/tag/stash message |
mode | string | Reset mode |
name | string | Branch/tag/remote/worktree name |
oneline | boolean | |
patch | string | Unified diff patch content (for apply) |
path | string | Repository path |
pattern | string | Clean pattern / grep pattern |
ref | string | Commit ref |
since | string | Since date (e.g., 1.week, 2024-01-01) |
staged | boolean | Staged changes (diff) |
stat | boolean | Show diffstat only |
sub_action | string | Sub-action: list, create, delete, checkout, add, remove, show, start, good, bad, run, push, pop, apply, drop |
target | string | Target branch/ref (merge, rebase, reset) |
until | string | Until date |
url | string | Remote URL (clone, remote add) |
value | string | Config value |
fetch
Network, live web search, markdown web reader & multimodal vision: get, request, fetch, head, download, open, search, read, crawl, vision
| Parameter | Type | Description |
|---|---|---|
action * | string | Network action |
body | string | Request body |
depth | number | Crawl depth |
headers | object | HTTP headers |
image | string | Image file path or URL (action=vision) |
limit | number | Max results/pages |
method | string | HTTP method |
output | string | Output file for download |
payment | x402 payment payload — base64 string sent as-is via X-PAYMENT, or a JSON object that will be base64-encoded | |
prompt | string | Vision prompt (action=vision) |
query | string | Search query |
timeout | number | |
url | string | URL |
workspace
Workspace discovery, roots, config, mode & host system info: detect, projects, config, system, mode, version, capabilities, help, schema
| Parameter | Type | Description |
|---|---|---|
action * | string | Workspace action |
key | string | Configuration key (action=config) |
name | string | Mode name (action=mode) |
path | string | Project root |
sub_action | string | Sub-action when routing to config, system, or mode |
value | Configuration value (action=config) |
browser
Drive a browser: the user's own, signed in, through the Hanzo extension (or native headless CDP + WebMCP when none is connected). Loop: snapshot, act on a ref, snapshot again when the page changes. snapshot interactive=true - button "Sign in" [ref=e2] click selector="@e2" fill selector="@e3" text="me@x.com" press key="Enter" read the page as markdown (outline=true, filter="…") screenshot annotate=true every ref boxed, label [N] = @eN selector takes a ref (@e2) or a CSS selector (including >>> for shadow roots). A stale ref, or a click o…
| Parameter | Type | Description |
|---|---|---|
action * | string | navigate, snapshot, click, fill, type, press, read, screenshot, evaluate, wait, tabs, help; help lists the rest |
annotate | boolean | screenshot: box every ref, label [N] = @eN |
args | object | Parameters of non-core actions (webmcp_*, lastpass_*, etc.), as help names them |
code | string | evaluate: JavaScript |
compact | boolean | snapshot: drop empty structure |
depth | integer | snapshot: tree depth limit |
filter | string | read: only sections that mention this |
interactive | boolean | snapshot: interactive elements only, flat |
key | string | press: Enter, Tab, Escape, ArrowDown, Control+a |
method | string | cdp: raw Chrome DevTools Protocol method name |
outline | boolean | read: headings only |
params | object | cdp: raw CDP method parameters |
selector | string | Element: a snapshot ref (@e2) or a CSS selector (including >>>) |
tab_id | string | Tab from tabs; default the active tab |
target_browser | string | chrome | firefox, when several are connected |
text | string | fill/type: the text; wait: text to appear |
timeout | integer | wait: milliseconds |
topic | string | help: one topic |
url | string | navigate / lastpass_*: the URL |
computer
Native OS desktop GUI control & GIMP automation: screenshot, click, move, type, key/press, hotkey, scroll, window/list_windows/focus_window, info, and gimp.
| Parameter | Type | Description |
|---|---|---|
action * | string | Desktop GUI or GIMP action |
amount | number | Scroll delta (scroll) |
args | array | GIMP PDB positional args (action=gimp) |
gimp_action | string | GIMP sub-action when action="gimp" |
height | number | Image height (action=gimp new_image) |
image_id | number | GIMP image id (action=gimp) |
key | string | Key name to press (key, press) |
keys | array | Hotkey combination (hotkey) |
path | string | Output file path (screenshot) or image path (gimp) |
procedure | string | GIMP PDB procedure (action=gimp) |
text | string | Text to type (type) |
title | string | Window title substring (focus_window) |
width | number | Image width (action=gimp new_image) |
x | number | Screen X coordinate (click, move, scroll) |
y | number | Screen Y coordinate (click, move, scroll) |
ui
Unified tool for UI component operations - browse, search, install, and manage UI components from Hanzo and other registries
| Parameter | Type | Description |
|---|---|---|
method * | string | The operation to perform |
block | string | Block name |
category | string | Filter by category |
component | string | Component name (alias: name) |
components | array | List of components for composition |
depth | number | Directory traversal depth (default: 3) |
description | string | Description for composition |
file | string | File path (for read_file, relative to hanzo/ui root) |
framework | string | UI framework to use (default: hanzo) |
include_files | boolean | Include all files when fetching blocks (default: true) |
name | string | Component or block name (alias for component/block) |
overwrite | boolean | Overwrite existing files during installation |
path | string | Directory path for structure |
query | string | Search query (alias: search) |
search | string | Search query (alias for query) |
kai
Kai — Hanzo's unified decision model and verified action engine. One tool for calibrated decisions (/v1/decisions: decide, choice, score, noul), verified zero-LLM repository actions (run, plan, list, triggers), typed context compaction (compact), deterministic tool & candidate ranking (tool_select, next_action), pre-execution command policy (command_guard), prompt-injection screening (injection_screen), structured field extraction (extract), build/CI failure classification & loop-breaking recovery (log_triage, recover), and single-pass trajectory steps (agent_step).
| Parameter | Type | Description |
|---|---|---|
action | string | Kai operation: decide | choice | score | noul | run | plan | list | triggers | compact | tool_select | next_action | command_guard | injection_screen | extract | log_triage | recover | agent_step |
approve | boolean | run / plan: Grant approval for consequential actions (push, remote, outside workspace, stop process) |
ask | boolean | run / plan: Ask Kai when several actions or values remain (default true) |
available_tools | array | agent_step: Candidate tool specifications [{name, description, parameters}] |
cache | string | run / plan: Directory for action proofs and reusable memos |
candidates | array | next_action: Candidate actions [{action_id, tool, description, parameters?, preconditions_satisfied?}] |
command | string | command_guard: Shell command line to classify (allow | ask | deny) |
criteria | object | array | choice: {label: desc} or [label, ...]; score: [level0, level1, ...]; noul: {"true": ..., "false": ...} |
cwd | string | run / plan: Working directory (default: server cwd) |
error_category | string | recover: Failure class from log_triage |
failure_fingerprint | object | recover: {tool, error_snippet, attempt_count, last_action?} |
goal | string | next_action / agent_step: Overall task objective |
instructions | string | object | array | choice / score / noul: What Kai answers |
keep_threshold | number | compact: Confidence threshold for keeping tool outputs (default 0.5) |
limit | number | tool_select: Maximum ranked tools to return (default 5) |
logs | string | log_triage: Build, test, or CI log tail |
max_abstain | number | run / plan: Most probability Kai may give to abstaining (default 0.6) |
messages | array | compact: Conversation messages to compact |
min_margin | number | run / plan: Least lead of Kai's pick over the next real option (default 0.1) |
min_p | number | run / plan: Least probability of Kai's pick among real options (default 0) |
model | string | Decision model (default kai) |
policy | string | command_guard: Floor verdict (default allow) |
preserve_recent | number | compact: Number of recent messages to keep verbatim (default 4) |
prove | boolean | run / plan: Record a proof for each action whose verifier passes |
questions | object | decide: Question name -> {type: choice|score|noul, instructions?, criteria?}; 1 to 100 questions |
request | string | run / plan / triggers: The chore in the user's words |
schema | object | extract: Field extraction schema {field: {type: choice|score|noul, description?, options?, levels?}} |
state | string | object | array | The case to decide about (decide, choice, score, noul, next_action) |
task | string | tool_select: What the agent is about to do |
text | string | object | injection_screen / extract: Untrusted text or evidence object |
tools | array | tool_select: Candidate tools [{name, description?, parameters?}] |
trajectory | array | agent_step: Prior steps [{step_index, action, tool_name, arguments, observation, is_error}] |
truncate_chars | number | compact: Max characters retained for truncated outputs (default 400) |
think
Structured reasoning, multi-voice consensus, Enso LLM routing & sub-agent delegation: think, critic, review, consensus, llm, query, models, limits, feedback, agent, summarize, classify, embed, explain, translate, compare, chain
| Parameter | Type | Description |
|---|---|---|
action * | string | Reasoning or LLM action |
categories | array | Classification categories |
code | string | Code to analyze (critic) |
context | string | Additional context |
format | string | Output format: bullets, paragraph, json |
language | string | Programming or natural language |
maxLength | number | Max summary length in words |
maxTokens | number | |
model | string | |
models | array | Model IDs for consensus |
prompt | string | Prompt for llm/query |
question | string | Question for reasoning / consensus |
steps | array | Chain steps |
system | string | System prompt |
targetLanguage | string | Target language for translation |
task | string | Task for agent delegation |
temperature | number | |
text | string | Text to summarize/classify/translate/explain |
texts | array | Texts to compare |
thought | string | What to think about / critique |
plan
Execution plans with DAG dependencies: create, show, update, list, next, archive, add_step, remove_step, estimate, visualize, clone, cancel, notes, progress
| Parameter | Type | Description |
|---|---|---|
action * | string | Plan action |
after | string | Insert after step ID (add_step) |
dependencies | array | Step dependencies (add_step) |
description | string | Step description (add_step) |
filter | string | |
goal | string | |
id | string | Plan ID (or "latest") |
limit | number | |
name | string | |
output | string | Step result |
status | string | |
stepId | string | |
steps | array | |
tags | array | |
text | string | Notes text |
memory
Persistent key-value memory with search, tags, namespaces, TTL, facts KB: store, recall, list, delete, search, stats, clear, export, import, merge, tag, untag, namespaces, history, update, manage, facts, summarize, help
| Parameter | Type | Description |
|---|---|---|
action * | string | Memory action |
append | boolean | Append to existing value |
content | string | Alias for value (also used for facts and summarize) |
data | object | Key-value map for bulk import, or manage operations object |
fact_action | string | Sub-action for facts |
file | string | File path for export/import |
id | string | Alias for key |
kb | string | Knowledge base name for facts |
key | string | Memory key |
limit | number | |
metadata | object | |
namespace | string | |
query | string | Search query (full-text across keys, values, tags) |
scope | string | Alias for namespace |
sort | string | |
tag | string | Filter/assign tag |
tags | array | |
topic | string | Topic for summarize action |
ttl | string | Expiry ISO date (auto-delete after) |
value | string | Content to store |
tasks
Task tracking: add, list, update, delete, stats, search, batch, archive, move, prioritize, assign, subtasks, notes, export, import
| Parameter | Type | Description |
|---|---|---|
action * | string | |
assignee | string | |
content | string | |
due | string | Due date (ISO or YYYY-MM-DD) |
file | string | File path for export/import |
id | string | |
ids | array | Multiple IDs (batch) |
limit | number | |
parent | string | Parent task ID (subtasks) |
priority | string | |
project | string | |
query | string | Search query |
sort | string | |
status | string | |
tag | string | |
tags | array | |
text | string | Note text |
tracker
Hanzo Cloud work-item tracker (/v1/tracker): boards (list org boards), issues (list/filter board issues), create (open a work item; defaults source=agent and links session:<id>), update (move status, assign, or relink).
| Parameter | Type | Description |
|---|---|---|
action * | string | Tracker action: boards | issues | create | update |
assignee | string | |
description | string | Work item description |
extRef | string | External anchor when not a session |
key | string | Board key, e.g. ENG (required for issues, create, update) |
kind | string | |
labels | array | |
number | number | Issue number within the board, e.g. 14 for ENG-14 (required for update) |
priority | string | |
repo | string | Git repository slug |
session | string | Agent session ID to link via extRef session:<id> |
source | string | |
status | string | |
title | string | Work item title (required for create) |
coding
Autonomous coding runs on Hanzo Cloud (/v1/agent/coding): start {repo, prompt} returns {session, branch}; poll progress {session}; inspect changes, artifacts, tree, blob; steer, pull, merge, extend, or stop.
| Parameter | Type | Description |
|---|---|---|
action * | string | Coding run action: start | progress | changes | artifacts | tree | blob | steer | pull | merge | extend | stop |
after | string | Continue an earlier coding session on the same branch (start) |
base | string | Base branch (start, pull) |
body | string | Pull request description (pull) |
branch | string | Branch name agent/<name> (start) |
draft | boolean | Open pull request as draft (pull) |
effort | string | Reasoning effort level (start) |
issue | string | number | Issue reference (#464 or owner/name#464) |
mode | string | build (default) edits and pushes; plan reads and returns a plan |
model | string | Model override for coding run (start) |
path | string | Directory or file path in the run repository (tree, blob) |
project | string | Project key |
prompt | string | Task instructions for the autonomous coding run (start; alias: task) |
pull | boolean | Open pull request automatically when start completes |
repo | string | Repository slug (start) |
seconds | number | Additional runtime seconds (extend) |
session | string | Session ID returned by start (aliases: id, sessionId) |
text | string | Steering instructions or stop reason (steer, stop; alias: message) |
timeoutSeconds | number | Maximum run duration in seconds (start) |
title | string | Pull request title (pull) |
research
Hanzo Science & Research tool (/v1/research evidence plane + /v1/ask deep cited synthesis): studies, runs, start, status, ledger, artifacts, and search.
| Parameter | Type | Description |
|---|---|---|
action | string | Research action: studies | runs | start | status | ledger | artifacts | search |
benchmark | string | Filter runs/ledger by benchmark ID |
body | object | Payload for start or ledger write |
completion | string | |
content_b64 | string | Base64-encoded artifact bytes to upload (artifacts) |
id | string | Study, experiment, or run ID (status, runs, studies) |
kind | string | Target kind for start/artifacts (study, experiment, run, snapshot, report) |
mode | string | Answer mode for action=search (research or retired deep) |
project | string | Project sub-scope |
query | string | Question to research (action=search; alias: q) |
sha256 | string | Content-addressed artifact SHA-256 (artifacts) |
system | string | Filter runs by system under test |
skills
Discover, inspect, detect, list, and install agent skills from hanzoskills.com (/search.json & /skills/<slug>/SKILL.md) and Hanzo Cloud (/v1/tool/skills) into ~/.agents/skills/<slug>/SKILL.md.
| Parameter | Type | Description |
|---|---|---|
action * | string | Skill operation: search | detect | get | install | list |
category | string | Optional category filter for action=search (e.g. "hanzo") |
limit | number | Maximum results to return (default 10) |
name | string | Alias for slug |
path | string | Workspace directory for action=detect (default: current directory) |
query | string | Search words for action=search (e.g. "kai decisions" or "kubernetes deploy") |
remote | boolean | For action=list: also include remote catalog and org /v1/tool/skills entries |
slug | string | Skill slug (^[a-z0-9][a-z0-9_-]{0,63}$) for get or install (alias: name) |
hanzo
Hanzo Cloud platform router: resource names a subsystem (auth, iam, kms/vault, connectors, platform, compute, billing, s3, social, and all 120+ fleet services), action one of its operations, args its arguments. No resource lists the subsystems; no action lists the resource's actions; resource "describe" with args {subsystem, op} says what an operation takes.
| Parameter | Type | Description |
|---|---|---|
action | string | The operation to run. |
args | object | The operation's own arguments. |
resource | string | The fleet subsystem to act on (alias: service), or describe. |
service | string | Alias for resource. |