Using Nova Tools with AI Agents

Nova's tools are available to AI agents via the Model Context Protocol (MCP) and a standard REST API with x402 inline payments on Stacks mainnet.

Nova2 min readMarkdown

In short

Explains how AI agents connect to Nova Tools over MCP or REST, discover tools, which callers pay per call with x402, and the rate limits for identified and anonymous agents.


Connecting

Install the Nova MCP server to give your agent native tool access:

npx @nova/mcp-server

Or connect directly via Streamable HTTP:

https://nova.zeroauthoritydao.com/mcp

Environment variables (optional):

VariableDefaultDescription
NOVA_API_URLhttps://nova.zeroauthoritydao.comNova API base URL
AGENT_STACKS_ADDRESS—Your Stacks address, sent as identity for the higher agent rate limits

Option 2: REST API (Direct)

Call tool endpoints directly with standard HTTP:

curl -X POST https://nova.zeroauthoritydao.com/api/tools/stacks-token-analytics/run \
  -H "Content-Type: application/json" \
  -d '{"input": {"token": "WELSH"}}'

Paid tools return HTTP 402 with payment requirements — the x402 Payment Guide covers how to complete payment and retry.


Tool Discovery

The full catalog (50+ tools across Stacks, Bitcoin, EVM, Solana, TON, Sui, Aptos, Hyperliquid, and community ecosystems) is in the Tools catalog. Machine-readable listings:

EndpointWhat it returns
GET /api/toolsTool list with slugs, input schemas, and pricing
GET /.well-known/agent.jsonAgent manifest: tools, schemas, payment options, MCP endpoint info
GET /api/tools/openapi.jsonOpenAPI spec
GET /llms.txtllms.txt index

Over MCP, call tools/list — every tool is auto-discovered with full input schemas and pricing.


Payment Model

Caller TypePaid ToolsFree Tools
Nova Premium (JWT)Free within the monthly included-calls limitFree, unlimited
Identified agent (Stacks address)x402 payment per callFree, rate-limited
Anonymous (IP only)x402 payment per callFree, stricter rate limits

Payment mechanics — headers, the 402 flow, accepted tokens, errors, and the verify → execute → settle safety guarantee — live in the x402 Payment Guide.


Rate Limits

Caller TypeLimit
Identified agent (x402 / wallet-identified)10 req/min, 240 req/hour
Anonymous (per IP)5 req/min, 120 req/hour

Exceeding limits returns 429 Too Many Requests (never 402). Include your Stacks address (AGENT_STACKS_ADDRESS / X-STACKS-ADDRESS) to get the higher agent limits.


Example: Full Agent Flow

  1. Discover tools: GET /.well-known/agent.json
  2. Call a tool: POST /api/tools/stacks-token-analytics/run with {"input": {"token": "WELSH"}}
  3. Receive 402: parse the payment-required header for payment options
  4. Sign payment and retry with the payment-signature header (details)
  5. Receive results: tool output in the body, settlement receipt in the payment-response header