Skip to content

This demo runs on a simulated chain with a demo wallet. Simulated demo. Use a real NEAR wallet on testnetReal wallet on testnet

Bid with your AI agent

Connect your agent to Sealround’s local MCP server. Read the sale rules first, then approve the price limit, spending limit and deposit cap for a sealed bid.

Connect your client

Open a local copy of Sealround with Node 24 and pnpm 12.3.4. Run pnpm install --frozen-lockfile from the repository root, then add this read-only testnet setup.

Run this from the repository root, then use /mcp to check the connection.

Claude Code · Read-only setup
claude mcp add --env SEALROUND_NETWORK=testnet --env SEALROUND_CONTRACT=sealround.itzbeast.testnet --transport stdio sealround -- node apps/web/node_modules/tsx/dist/cli.mjs apps/web/scripts/mcp/server.ts

Claude Code MCP documentation

Approve a deposit cap

  1. Ask the agent to call sealround_list_sales, then read the sale’s rules with sealround_get_sale.
  2. For a write, configure a dedicated testnet account’s local key file through SEALROUND_KEY_FILE. Use a private config and keep the key file off chat and source control. Set SEALROUND_RELAYER_URL if you have a testnet relayer.
  3. Review the sale ID, max_price, max_spend, and max_deposit before approving sealround_place_bid. Approve direct gas fees separately if the relayer cannot sponsor the call.

max_deposit caps the public deposit on one call. Cross-sale spending has no cumulative cap. Price and spend limits stay sealed, with the recovery file on your machine.

MCP settings and tool reference

Recorded sealed bid

Captured from a completed local MCP sandbox run.

Sandbox
Deposit above cap refused
5 test USDC requested under a 4.999999 cap. The tool returned over_budget. No transaction was sent, and the account’s balance and nonce stayed the same.
Sealed bid accepted
Sale mcp-tee recorded bid index 0 with a 5 test USDC deposit and a 246-byte ciphertext. The relayer paid gas.

Sandbox transaction BmY8XmF1xp1TNjQFP8CMxWEHxrjai1JwbmD5QKzcJnyT

91 checks passed · . The test confirmed the receipt before tearing down the local chain.

Read the public log