Skip to content

Developers

These docs are for people installing Assay in an AI client, calling tools from their own code, connecting an API as a provider or building their own integration. Start with the path for your role; the setup pages include the required web actions.

Install assay-mcp to give your AI one connection to tools whose descriptions, prices and provider quality you can inspect before paying. Connect a local AI client and sign in through your browser. Use the published package @goassay-ai/mcp.

Continue through How paying works and Spending limits when you want paid calls. Your payment key stays on your computer; you approve its spending permission in your wallet. Hosted connectors (claude.ai, ChatGPT, and connectors added in Claude Desktop) make free calls only.

Call tools from your own server or script with the Assay SDK: @goassay-ai/sdk for Node, goassay for Python. Start with the SDK quickstart. Free calls need only an API key. Paid calls are signed by a payment key you hold: you pass the SDK a signer, and it never stores keys. A person approves that key once; Turn on paid calls from a server covers it. Paid calls go through a payment channel: one signed running total per channel instead of one on-chain payment per call, so the on-chain cost per call is much lower. See Channel payments.

For another language, Integrate without the SDK explains MCP over HTTP and the paid-call protocol, with the public spec and test vectors.

Earn from your API by serving tools and backing paid tools with stake. Start with API key or signature to choose how your endpoint authenticates Assay requests. That page leads to two alternatives: put the ready-made verifier in a Cloudflare Worker, or verify in your Node, Python or Go service.

The provider setup pages cover request authentication. Under the hood explains how Assay measures returned results, how those checks affect payment and what stake backs. Read the receipt’s check results rather than treating a settled payment as proof of correctness.

Payments and stake use USDG on Robinhood Chain. The hosted MCP connection is https://mcp.goassay.ai/.

  • Smart contracts — escrow, stake, permissions and events.
  • MCP tools — discovery, calling tools and result metadata.