Skip to content
    hazBasehazBaseDocs
    MCP INTEGRATION

    Use hazBase with your AI

    Connect your AI through MCP to search hazBase specifications and explore use-case configurations. You can also start the sample application, issue, allocate and transfer tokens, and retrieve the results.

    MCP10 toolsAPI / SDK reference

    Connect

    Use Node.js 22 or later and an AI client that supports MCP over stdio. Extract the sample containing the MCP server, then run the commands below to install dependencies and generate connection settings.

    Download the MCP server
    Run inside the extracted folder
    npm ci
    node config.mjs

    Add the printed mcpServers configuration to your AI client's MCP settings. If it provides command and args fields, enter those values. Once connected, ten tools prefixed with hazbase become available.

    The MCP server and sample environment run on your computer over stdio. Connect using the generated command and args; the documentation URL is not an MCP endpoint. The returned dashboard URL lets you inspect the AI’s actions in your browser.

    Your first request

    text
    Read the equipment blueprint, then start a sample environment for delivery robot A-001 with a cap of 100 units. Issue and allocate 10 units to operator, verify its balance and transaction receipt, add one operating note, and show the result and dashboard URL.
    Generate a prompt with your settings

    Available tools

    ToolPurpose
    hazbase_search_docsSearch SDK functions, types and methods.
    hazbase_read_docRead complete guides and design examples.
    hazbase_get_referenceRead version-pinned declarations, methods and source references.
    hazbase_get_blueprintRead use-case settings, expected behavior and supported scope.
    hazbase_create_sandboxStart a sample chain and dashboard on your computer, preserving any existing sandbox.
    hazbase_allocate_unitsIssue and allocate units. Repeating the call issues additional units.
    hazbase_transfer_unitsTransfer units between participants in the sample environment.
    hazbase_record_operationAppend an application operating note.
    hazbase_get_sandboxInspect balances, configuration and transaction records.
    hazbase_export_handoffExport settings, results and production integration requirements as JSON.

    Context available to the AI

    Use-case settings and supported scope are available as MCP Resources. The build-rwa-prototype prompt guides reference lookup, sample execution and result export. Reference data is bundled with the MCP server.

    text
    hazbase://blueprints
    hazbase://implementation-scope
    
    Prompt: build-rwa-prototype
    Arguments: blueprint, assetName

    Production integration

    The distributed MCP server operates the sample environment on your computer. Production issuance and transfers require a separate integration with user authentication, permissions, approvals, execution limits and audit records.

    Deployment and operations guide

    Official MCP documentation

    Connect your service to the API

    Test connectivity with the public information API. For production issuance, transfers and other operations, check each API’s authentication, permissions and operating requirements. The sample environment does not require an API access application.

    Start using the API