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.
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 servernpm ci
node config.mjsAdd 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.
Your first request
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.Available tools
| Tool | Purpose |
|---|---|
hazbase_search_docs | Search SDK functions, types and methods. |
hazbase_read_doc | Read complete guides and design examples. |
hazbase_get_reference | Read version-pinned declarations, methods and source references. |
hazbase_get_blueprint | Read use-case settings, expected behavior and supported scope. |
hazbase_create_sandbox | Start a sample chain and dashboard on your computer, preserving any existing sandbox. |
hazbase_allocate_units | Issue and allocate units. Repeating the call issues additional units. |
hazbase_transfer_units | Transfer units between participants in the sample environment. |
hazbase_record_operation | Append an application operating note. |
hazbase_get_sandbox | Inspect balances, configuration and transaction records. |
hazbase_export_handoff | Export 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.
hazbase://blueprints
hazbase://implementation-scope
Prompt: build-rwa-prototype
Arguments: blueprint, assetNameProduction 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 guideConnect 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