/ docsGitHub ↗
Browse documentation
EXPERIMENTAL · LOCAL-FIRST

Evaluate carefully. Live-provider paths are experimental and are not money-grade production infrastructure.

Core MCP tool set#

Hubu exposes one supported tool set through hubu-unified-mcp. Identity, spending authority, policy and budget reads, approval prompts, and recovery are available without adopting Gongbu. Managed execution is optional.

Backend availability determines tool discovery. The Hubu catalog follows the agent route allowlist. Owner reads and administration use the admin portal, CLI, or owner HTTP API. At runtime, tools/list returns the currently callable tools, and hubu_unified_capabilities reports the router's routing_revision plus every public tool's owner, availability and reason code. See the unified MCP reference for schemas, configuration and transport behavior. Tools removed in earlier releases, and their replacements, are listed in the v0.2.2 changelog.

Supported tools#

Hubu and Gongbu mean a compatible, available backend. Gongbu permits reads while degraded; creating execution requires a ready Gongbu and available Hubu. Store means the persistent MCP operation store is available. It records operation identity and recovery state across restarts for retries, status and approval resume. Hubu owns financial state; Gongbu owns managed execution.

Prerequisites below describe availability. Credential scopes, request validation, and server-side owner confirmation still apply. With an agent's own credential (v0.3.1), the Hubu reads return only that agent's account and the one policy that applies to it, and an id from another account answers like one that does not exist. The owner and the shared v0.3.0 agent credential keep the owner's whole view.

Discovery and support#

Tool Prerequisites Purpose
hubu_unified_capabilities None Inspect backend compatibility, availability and supported tools
hubu_feedback_guidance None Offline support discovery
hubu_prepare_feedback None Offline reviewed preview; never submits

Identity and registration#

Tool Prerequisites Purpose
hubu_list_agents Hubu Identity discovery
hubu_registration_guidance Hubu Machine-readable registration protocol
hubu_register_agent Hubu Submit reviewed registration

Policy#

Tool Prerequisites Purpose
hubu_show_policy Hubu View current policy content and assignments

Choose an optional policy_id or agent_id. Omit both to use the default selection. Policy YAML export and history require the owner surface.

Budgets#

Tool Prerequisites Purpose
hubu_list_budgets Hubu Budget visibility

Spend authority#

Tool Prerequisites Purpose
hubu_authorize_spend Hubu + store Reserve authority for external or managed execution
hubu_submit_spend Hubu + store Execute a synchronous mock payment; no Gongbu or provider work

Managed execution#

Tool Prerequisites Purpose
gongbu_list_execution_targets Gongbu Approved targets, scope and pricing
gongbu_list_reference_images Gongbu The operator's reference images and their pinned edit tokens
hubu_submit_governed_execution Hubu + Gongbu + store Optional managed execution; internally composes primitives
gongbu_create_execution Gongbu + Hubu + store Continue an existing authorization into managed execution
gongbu_get_execution Gongbu Read execution status by ID, including when the MCP store is unavailable
gongbu_list_artifacts Gongbu Recover output IDs
gongbu_get_artifact Gongbu Retrieve original output
hubu_save_artifact Hubu + Gongbu + store + allowlisted folder Save a chosen output and its receipt into a human-allowlisted folder

Provider-contract diagnostics and guarded-FLUX attestation are not MCP tools; they remain available through authenticated Gongbu operator endpoints.

Approval, status and resume#

Tool Prerequisites Purpose
hubu_get_spend_approval Hubu Immutable approval review
hubu_prompt_spend_approval Hubu Raise the Mac confirmation dialog after the owner says to approve in chat
hubu_operation_status store Observe a public operation handle in the MCP store
hubu_resume_operation Hubu + store Resume the stored, approved intent

Resuming a stored governed-execution intent also requires ready Gongbu.

Ledger and authorization records#

Tool Prerequisites Purpose
hubu_list_ledger Hubu Canonical recorded spend, agent-budget filters and coverage
hubu_list_authorization_records Hubu Paginated authorization discovery
hubu_get_authorization_record Hubu Public authorization record inspection

Backend outages can reduce discovery. The current inventory is maintained in the routing fixture, Hubu catalog and Gongbu catalog.

Specialist workflows#

hubu_submit_governed_execution is the preferred ordinary path when an agent has both spend authorization intent and an execution request. The primitive Hubu and Gongbu tools remain available for recovery, diagnostics, and backward compatibility.

gongbu_create_execution consumes an already-issued authorization continuation. hubu_submit_governed_execution starts a composite authorization/execution request; it does not replace continuation of an existing authorization.

hubu_resume_operation resumes an approved pending normalized operation—primitive spend or composite—by its public handle without requiring the original harness call identity.

gongbu_get_execution reads a known execution ID even when the persistent MCP operation store is unavailable. hubu_operation_status requires that store and a public operation handle. Both are useful recovery paths.

hubu_submit_spend executes a synchronous mock payment, with Hubu policy, approval and budget accounting. It does not invoke Gongbu or a provider. It remains supported for demos and exact-call recovery; it is not an alias for real execution or standalone authorization. Ambiguous original calls can require redelivery with the same trusted harness identity and unchanged arguments. Approval resume alone does not replace that path.

Authority, approval and recovery#

hubu_authorize_spend can reserve budget and return an opaque continuation. External executors use the authenticated executor contract to resolve, claim and settle or release that operation. Read-only validation alone is insufficient before irreversible provider work. Executor credentials and private operation keys are not model-authored tool arguments.

Inspect the review with hubu_get_spend_approval. After the owner says to approve in chat, hubu_prompt_spend_approval raises the Mac confirmation dialog. After confirmation, hubu_resume_operation continues the same stored immutable intent. Resuming standalone authorization must not start Gongbu. Exact replay must not create a second logical operation or duplicate payment/hold. A terminal denial requires a new logical invocation for corrected work.

A standalone authorization's status comes from Hubu. Any executor may consume the continuation through Hubu's executor API without the router seeing it, so hubu_operation_status reads the operation's Hubu authorization record instead of its own store. That applies to an allowed hubu_authorize_spend operation that was never handed to Gongbu:

Hubu authorization record state terminal replacement_safe
authorized, unclaimed authorized no yes
claimed by an executor executing no no
settled settled, with exact cost and budget charge yes no
released released yes no
expired, never claimed expired yes yes, as a new operation
claim lease expired reconciliation_required no no

The result carries authority: {source: "hubu_authorization_record", verified}. An executor's claim can outlive the authorization itself, so the router never reports such an operation as terminal from its own token expiry. If Hubu cannot be reached, or returns a status the router cannot interpret, the result is state: "unverified". It is non-terminal and never replacement-safe. The router does not write financial state; Hubu remains the only writer. See Use Hubu with your own executor. Gongbu-managed and governed operations keep their managed-execution status. Ambiguous billing requires evidence-based reconciliation. Claim discovery and both reconciliation tools remain available, with their existing human gates and separate reconciliation capability.

The single tool set does not change the separate Hubu/Gongbu processes, credentials, databases or failure domains. Capabilities and discovery follow backend availability and emit list-change notifications.

Edit this page on GitHub ↗Canonical source: docs/mcp-tool-consolidation.md