mcp

v2.4.25
@hanzo/mcp Checked 4 hours ago Published 7 days ago

Hanzo 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…

ParameterTypeDescription
action *string
base_hashstringapply_patch (optional): the hash read/stat returned; the edit is refused if the file changed since
confirmbooleanrm: required
contentstringwrite: the new file's content
cursorstringlist/search_text: the page after this cursor
depthnumberlist: levels
destinationstringmv: where to
globstringsearch_text: file glob
inputstringpatch: *** Begin Patch … *** End Patch
limitnumberread: lines (2000); list: entries (100); search_text: matches (50)
new_textstringapply_patch (required): its replacement
offsetnumberread: first line, 0-based
old_textstringapply_patch (required): the text to replace; must match the file exactly once
patternstringlist: name glob; search_text: regex
uristringAbsolute path or file:// URI (path is accepted too)

exec

Process execution, background jobs & package runners: exec, ps, kill, logs, wait, npx, uvx

ParameterTypeDescription
action *stringProcess action
argsarrayPackage arguments for npx / uvx
backgroundbooleanRun in background
commandstringCommand to execute
cwdstringWorking directory
envobjectEnvironment variables
packagestringPackage specifier for npx / uvx
proc_idstringProcess ID for ps/kill/logs
signalstringSignal for kill
tailnumberLines from end for logs
timeoutnumberTimeout 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)

ParameterTypeDescription
action *stringCode action
filterstringjq filter expression (action=jq)
kindstringTransform kind: rename, codemod
languagestringFilter by language
max_resultsnumber
new_namestringNew name for rename
old_namestringOld name for transform rename
pathstringFile path (alias for uri)
patternstringFile glob pattern
querystringSymbol name or search query
replacementstringReplacement for grep_replace
repostringCloud repository slug (LSP / Cloud RAG)
scopestringSearch scope (file, directory, project)
textstringRaw text input
uristringFile 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

ParameterTypeDescription
action *stringGit action
allboolean
authorstringFilter by author
cherrystringCommit SHA for cherry-pick
createbooleanCreate new branch on checkout
filestringFile path (diff, blame, log)
filesarrayFiles to stage/add
forceboolean
formatstringLog format (short, medium, full, fuller, oneline, format:...)
graphbooleanShow graph (log)
indexnumberStash index
keystringConfig key
limitnumberNumber of entries (log, reflog)
linesstringLine range (blame, e.g., 10,20)
messagestringCommit/tag/stash message
modestringReset mode
namestringBranch/tag/remote/worktree name
onelineboolean
patchstringUnified diff patch content (for apply)
pathstringRepository path
patternstringClean pattern / grep pattern
refstringCommit ref
sincestringSince date (e.g., 1.week, 2024-01-01)
stagedbooleanStaged changes (diff)
statbooleanShow diffstat only
sub_actionstringSub-action: list, create, delete, checkout, add, remove, show, start, good, bad, run, push, pop, apply, drop
targetstringTarget branch/ref (merge, rebase, reset)
untilstringUntil date
urlstringRemote URL (clone, remote add)
valuestringConfig value

fetch

Network, live web search, markdown web reader & multimodal vision: get, request, fetch, head, download, open, search, read, crawl, vision

ParameterTypeDescription
action *stringNetwork action
bodystringRequest body
depthnumberCrawl depth
headersobjectHTTP headers
imagestringImage file path or URL (action=vision)
limitnumberMax results/pages
methodstringHTTP method
outputstringOutput file for download
paymentx402 payment payload — base64 string sent as-is via X-PAYMENT, or a JSON object that will be base64-encoded
promptstringVision prompt (action=vision)
querystringSearch query
timeoutnumber
urlstringURL

workspace

Workspace discovery, roots, config, mode & host system info: detect, projects, config, system, mode, version, capabilities, help, schema

ParameterTypeDescription
action *stringWorkspace action
keystringConfiguration key (action=config)
namestringMode name (action=mode)
pathstringProject root
sub_actionstringSub-action when routing to config, system, or mode
valueConfiguration 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…

ParameterTypeDescription
action *stringnavigate, snapshot, click, fill, type, press, read, screenshot, evaluate, wait, tabs, help; help lists the rest
annotatebooleanscreenshot: box every ref, label [N] = @eN
argsobjectParameters of non-core actions (webmcp_*, lastpass_*, etc.), as help names them
codestringevaluate: JavaScript
compactbooleansnapshot: drop empty structure
depthintegersnapshot: tree depth limit
filterstringread: only sections that mention this
interactivebooleansnapshot: interactive elements only, flat
keystringpress: Enter, Tab, Escape, ArrowDown, Control+a
methodstringcdp: raw Chrome DevTools Protocol method name
outlinebooleanread: headings only
paramsobjectcdp: raw CDP method parameters
selectorstringElement: a snapshot ref (@e2) or a CSS selector (including >>>)
tab_idstringTab from tabs; default the active tab
target_browserstringchrome | firefox, when several are connected
textstringfill/type: the text; wait: text to appear
timeoutintegerwait: milliseconds
topicstringhelp: one topic
urlstringnavigate / 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.

ParameterTypeDescription
action *stringDesktop GUI or GIMP action
amountnumberScroll delta (scroll)
argsarrayGIMP PDB positional args (action=gimp)
gimp_actionstringGIMP sub-action when action="gimp"
heightnumberImage height (action=gimp new_image)
image_idnumberGIMP image id (action=gimp)
keystringKey name to press (key, press)
keysarrayHotkey combination (hotkey)
pathstringOutput file path (screenshot) or image path (gimp)
procedurestringGIMP PDB procedure (action=gimp)
textstringText to type (type)
titlestringWindow title substring (focus_window)
widthnumberImage width (action=gimp new_image)
xnumberScreen X coordinate (click, move, scroll)
ynumberScreen Y coordinate (click, move, scroll)

ui

Unified tool for UI component operations - browse, search, install, and manage UI components from Hanzo and other registries

ParameterTypeDescription
method *stringThe operation to perform
blockstringBlock name
categorystringFilter by category
componentstringComponent name (alias: name)
componentsarrayList of components for composition
depthnumberDirectory traversal depth (default: 3)
descriptionstringDescription for composition
filestringFile path (for read_file, relative to hanzo/ui root)
frameworkstringUI framework to use (default: hanzo)
include_filesbooleanInclude all files when fetching blocks (default: true)
namestringComponent or block name (alias for component/block)
overwritebooleanOverwrite existing files during installation
pathstringDirectory path for structure
querystringSearch query (alias: search)
searchstringSearch 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).

ParameterTypeDescription
actionstringKai operation: decide | choice | score | noul | run | plan | list | triggers | compact | tool_select | next_action | command_guard | injection_screen | extract | log_triage | recover | agent_step
approvebooleanrun / plan: Grant approval for consequential actions (push, remote, outside workspace, stop process)
askbooleanrun / plan: Ask Kai when several actions or values remain (default true)
available_toolsarrayagent_step: Candidate tool specifications [{name, description, parameters}]
cachestringrun / plan: Directory for action proofs and reusable memos
candidatesarraynext_action: Candidate actions [{action_id, tool, description, parameters?, preconditions_satisfied?}]
commandstringcommand_guard: Shell command line to classify (allow | ask | deny)
criteriaobject | arraychoice: {label: desc} or [label, ...]; score: [level0, level1, ...]; noul: {"true": ..., "false": ...}
cwdstringrun / plan: Working directory (default: server cwd)
error_categorystringrecover: Failure class from log_triage
failure_fingerprintobjectrecover: {tool, error_snippet, attempt_count, last_action?}
goalstringnext_action / agent_step: Overall task objective
instructionsstring | object | arraychoice / score / noul: What Kai answers
keep_thresholdnumbercompact: Confidence threshold for keeping tool outputs (default 0.5)
limitnumbertool_select: Maximum ranked tools to return (default 5)
logsstringlog_triage: Build, test, or CI log tail
max_abstainnumberrun / plan: Most probability Kai may give to abstaining (default 0.6)
messagesarraycompact: Conversation messages to compact
min_marginnumberrun / plan: Least lead of Kai's pick over the next real option (default 0.1)
min_pnumberrun / plan: Least probability of Kai's pick among real options (default 0)
modelstringDecision model (default kai)
policystringcommand_guard: Floor verdict (default allow)
preserve_recentnumbercompact: Number of recent messages to keep verbatim (default 4)
provebooleanrun / plan: Record a proof for each action whose verifier passes
questionsobjectdecide: Question name -> {type: choice|score|noul, instructions?, criteria?}; 1 to 100 questions
requeststringrun / plan / triggers: The chore in the user's words
schemaobjectextract: Field extraction schema {field: {type: choice|score|noul, description?, options?, levels?}}
statestring | object | arrayThe case to decide about (decide, choice, score, noul, next_action)
taskstringtool_select: What the agent is about to do
textstring | objectinjection_screen / extract: Untrusted text or evidence object
toolsarraytool_select: Candidate tools [{name, description?, parameters?}]
trajectoryarrayagent_step: Prior steps [{step_index, action, tool_name, arguments, observation, is_error}]
truncate_charsnumbercompact: 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

ParameterTypeDescription
action *stringReasoning or LLM action
categoriesarrayClassification categories
codestringCode to analyze (critic)
contextstringAdditional context
formatstringOutput format: bullets, paragraph, json
languagestringProgramming or natural language
maxLengthnumberMax summary length in words
maxTokensnumber
modelstring
modelsarrayModel IDs for consensus
promptstringPrompt for llm/query
questionstringQuestion for reasoning / consensus
stepsarrayChain steps
systemstringSystem prompt
targetLanguagestringTarget language for translation
taskstringTask for agent delegation
temperaturenumber
textstringText to summarize/classify/translate/explain
textsarrayTexts to compare
thoughtstringWhat 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

ParameterTypeDescription
action *stringPlan action
afterstringInsert after step ID (add_step)
dependenciesarrayStep dependencies (add_step)
descriptionstringStep description (add_step)
filterstring
goalstring
idstringPlan ID (or "latest")
limitnumber
namestring
outputstringStep result
statusstring
stepIdstring
stepsarray
tagsarray
textstringNotes 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

ParameterTypeDescription
action *stringMemory action
appendbooleanAppend to existing value
contentstringAlias for value (also used for facts and summarize)
dataobjectKey-value map for bulk import, or manage operations object
fact_actionstringSub-action for facts
filestringFile path for export/import
idstringAlias for key
kbstringKnowledge base name for facts
keystringMemory key
limitnumber
metadataobject
namespacestring
querystringSearch query (full-text across keys, values, tags)
scopestringAlias for namespace
sortstring
tagstringFilter/assign tag
tagsarray
topicstringTopic for summarize action
ttlstringExpiry ISO date (auto-delete after)
valuestringContent to store

tasks

Task tracking: add, list, update, delete, stats, search, batch, archive, move, prioritize, assign, subtasks, notes, export, import

ParameterTypeDescription
action *string
assigneestring
contentstring
duestringDue date (ISO or YYYY-MM-DD)
filestringFile path for export/import
idstring
idsarrayMultiple IDs (batch)
limitnumber
parentstringParent task ID (subtasks)
prioritystring
projectstring
querystringSearch query
sortstring
statusstring
tagstring
tagsarray
textstringNote 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).

ParameterTypeDescription
action *stringTracker action: boards | issues | create | update
assigneestring
descriptionstringWork item description
extRefstringExternal anchor when not a session
keystringBoard key, e.g. ENG (required for issues, create, update)
kindstring
labelsarray
numbernumberIssue number within the board, e.g. 14 for ENG-14 (required for update)
prioritystring
repostringGit repository slug
sessionstringAgent session ID to link via extRef session:<id>
sourcestring
statusstring
titlestringWork 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.

ParameterTypeDescription
action *stringCoding run action: start | progress | changes | artifacts | tree | blob | steer | pull | merge | extend | stop
afterstringContinue an earlier coding session on the same branch (start)
basestringBase branch (start, pull)
bodystringPull request description (pull)
branchstringBranch name agent/<name> (start)
draftbooleanOpen pull request as draft (pull)
effortstringReasoning effort level (start)
issuestring | numberIssue reference (#464 or owner/name#464)
modestringbuild (default) edits and pushes; plan reads and returns a plan
modelstringModel override for coding run (start)
pathstringDirectory or file path in the run repository (tree, blob)
projectstringProject key
promptstringTask instructions for the autonomous coding run (start; alias: task)
pullbooleanOpen pull request automatically when start completes
repostringRepository slug (start)
secondsnumberAdditional runtime seconds (extend)
sessionstringSession ID returned by start (aliases: id, sessionId)
textstringSteering instructions or stop reason (steer, stop; alias: message)
timeoutSecondsnumberMaximum run duration in seconds (start)
titlestringPull 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.

ParameterTypeDescription
actionstringResearch action: studies | runs | start | status | ledger | artifacts | search
benchmarkstringFilter runs/ledger by benchmark ID
bodyobjectPayload for start or ledger write
completionstring
content_b64stringBase64-encoded artifact bytes to upload (artifacts)
idstringStudy, experiment, or run ID (status, runs, studies)
kindstringTarget kind for start/artifacts (study, experiment, run, snapshot, report)
modestringAnswer mode for action=search (research or retired deep)
projectstringProject sub-scope
querystringQuestion to research (action=search; alias: q)
sha256stringContent-addressed artifact SHA-256 (artifacts)
systemstringFilter 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.

ParameterTypeDescription
action *stringSkill operation: search | detect | get | install | list
categorystringOptional category filter for action=search (e.g. "hanzo")
limitnumberMaximum results to return (default 10)
namestringAlias for slug
pathstringWorkspace directory for action=detect (default: current directory)
querystringSearch words for action=search (e.g. "kai decisions" or "kubernetes deploy")
remotebooleanFor action=list: also include remote catalog and org /v1/tool/skills entries
slugstringSkill 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.

ParameterTypeDescription
actionstringThe operation to run.
argsobjectThe operation's own arguments.
resourcestringThe fleet subsystem to act on (alias: service), or describe.
servicestringAlias for resource.