pico-casper-mcp
v1.0.1Let an AI agent buy content and API calls on Casper, paying per call in CSPR over x402.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wallet_status
The agent wallet: Casper account public key, live on-chain CSPR balance, spend cap, and funding instructions if empty.
discover_content
List paid content available on this Pico deployment: id, title, teaser description, USD price, creator. Use get_quote for the exact CSPR amount.
get_quote
Fetch the HTTP 402 payment requirements for one content item: recipient key, exact CSPR/motes amount at the live rate, and transfer memo.
| Parameter | Type | Description |
|---|---|---|
linkId * | string | Content id from discover_content |
params | object | Query parameters for an API endpoint, e.g. { deployHash: "abc..." } |
pay_and_unlock
Pay for a content item with the agent's own CSPR (native transfer on Casper), wait for on-chain verification, and return the unlocked content URL. Hard-capped at 25 CSPR per item (MCP_MAX_SPEND_CSPR).
| Parameter | Type | Description |
|---|---|---|
linkId * | string | Content id from discover_content |
params | object | Query parameters for an API endpoint, from get_quote's resource.params |