Protocol and reference
MCP tools
The eight tools of the px402 connector.
Endpoint: https://devnet.mcp.px402.tech/mcp. OAuth 2.1 with PKCE. Hosted agents only, on devnet.
| Tool | Scopes | What it does |
|---|---|---|
catalog_search | wallet:read | Paid routes and prices. Input: query?, limit? (1-50) |
wallet_list | wallet:read | Your hosted agents: status, caps, spend, allowed providers |
balance | wallet:read | One agent’s private and public USDC |
caps_get | wallet:read | Caps, spend and allowed providers |
history | wallet:read | Payments, newest first. Amounts only with includeAmounts |
caps_tighten | wallet:read, wallet:pay | Lower caps or remove providers |
revoke | wallet:read, wallet:pay | Stop an agent for good and sign out every connection |
pay | wallet:read, wallet:pay | One paid call |
pay
| Input | Meaning |
|---|---|
agent | Id or label |
url | The exact https URL of a paid route |
idempotencyKey | 16 to 64 of A-Z a-z 0-9 _ -. New for each intended payment, the same when retrying |
method, body, contentType | Optional. Method defaults to GET; body up to 32 KiB |
maxPriceBase | Optional. Defaults to the route’s listed price |
Result status | Meaning |
|---|---|
served | Paid and answered. The provider’s response is under untrusted |
replayed | This key was already used. Nothing new was paid, and the response is not kept |
pending | Still running past the deadline. Check history; do not pay again |
revoke leaves any funds in the agent until you withdraw them in the web app.