Pay-to-open short links for humans and AI agents, charged in USDC over x402 v2.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Manage agent keys for bots that have no wallet (signed in as the owner with the sign_in token; SIGN-IN-WITH-X is refused, even for list). action=list (default) | create (name, dailyCap, expiresInDays, networks; the key is returned once) | revoke (id). A key can only create links; they belong to your wallet.
Key id (revoke)
Session token (Bearer) when the MCP connection cannot carry an Authorization header
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://urlgate.xyz/mcp
Manage agent keys for bots that have no wallet (signed in as the owner with the sign_in token; SIGN-IN-WITH-X is refused, even for list). action=list (default) | create (name, dailyCap, expiresInDays, networks; the key is returned once) | revoke (id). A key can only create links; they belong to your wallet.
| Argument | Type | Description |
|---|---|---|
| id | string | Key id (revoke) |
| name | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| action | string | |
| dailyCap | integer | |
| networks | array | |
| expiresInDays | integer |
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Key id (revoke)"
},
"name": {
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"action": {
"enum": [
"list",
"create",
"revoke"
],
"type": "string"
},
"dailyCap": {
"type": "integer"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"expiresInDays": {
"type": "integer"
}
}
}Buy (or extend by) 30 days of Premium (5.00 USDC). Call without a signature to get the x402 requirements; nothing renews automatically. Credited to the signed-in wallet, else the payer. Payment is ONE signature (no platform-fee leg): sign an accepts[] entry and call again with params._meta["x402/payment"] (PaymentPayload) or paymentSignature (base64). Settlement comes back in result._meta["x402/payment-response"].
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| paymentSignature | string | MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta["x402/payment"], which wins when both are sent. Omit on the first call to get the payment requirements. |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"paymentSignature": {
"type": "string",
"description": "MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta[\"x402/payment\"], which wins when both are sent. Omit on the first call to get the payment requirements."
}
}
}Create a paid short link. Signed in (sign_in token / Bearer; SIGN-IN-WITH-X does not count) or with an agent key (token = ugk_…): FREE within your daily quota (10 a day, 100 on Premium; see get_started), the link and its earnings are your wallet's (an agent key's owner). Anonymous, over quota, or free creation paused: 0.01 USDC via x402: the call returns isError with the PaymentRequired and a code (anonymous, free_quota_exhausted, …) plus nextSteps in _meta["urlgate/payment-error"]; call again with the payment. Limits: 429 rate_limited, 409 duplicate_link, 403 domain_blocked. Payment is ONE signature (no platform-fee leg): sign an accepts[] entry and call again with params._meta["x402/payment"] (PaymentPayload) or paymentSignature (base64). Settlement comes back in result._meta["x402/payment-response"].
| Argument | Type | Description |
|---|---|---|
| url* | string | |
| price* | string | USDC, e.g. "0.25". Minimum 0.01, max 6 decimals |
| title | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| wallet | string | |
| afterPay | string | |
| networks | array | |
| shortcode |
Dismiss the "Premium ends soon" reminder for the current period.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Public metadata for a link: price, title, description, options, status. Never reveals the destination.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
}
}
}Owner view of one of your links, including destination, options and which premium options you can use.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}A receipt by id: paid at, amount, fee, explorer links, permanent URL.
| Argument | Type | Description |
|---|---|---|
| id* | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}FREE, call this first. Returns JSON: pricing and limits, your tier and today's free-link quota (limit / used / remaining / resetsAt) when signed in or using an agent key, the three ways to create links (own wallet = free daily quota, earnings to you; agent key from a human = free within the key cap, earnings to the owner; anonymous or over quota = 0.01 USDC via x402), and nextSteps (sign_in, use_agent_key, pay_0.01, upgrade, create_link, compat_check).
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Analytics for one of your links, including the agent vs human split of sales (payerKinds) per day and in total (range 7d / 30d; 90d / all and referrer/country/buyer breakdowns need premium).
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| range | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"range": {
"enum": [
"7d",
"30d",
"90d",
"all"
],
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Audit trail for one of your links: 402 shown, paid, re-opened, edits, status changes. IP addresses are truncated.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| type | string | |
| limit | integer | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| cursor | string |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"type": {
"type": "string"
},
"limit": {
"type": "integer"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"cursor": {
"type": "string"
}
}
}Manage the allowlist / promo codes of one of your links (premium). action=list|create|revoke.
| Argument | Type | Description |
|---|---|---|
| id | integer | Grant id (revoke) |
| code* | string | Short code, e.g. "Gp1qJx" |
| kind | string | |
| note | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| action | string | |
| wallet | string | |
| expiresAt | string | |
| promoCode | string | |
| discountPct | integer | |
| maxRedemptions | integer |
Payments for one of your links (buyer, amount, fee, tx links, payerKind agent/human/unknown). Optional payerKind filter.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| payerKind | string |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"payerKind": {
"enum": [
"agent",
"human",
"unknown"
],
"type": "string"
}
}
}QR code for a link as SVG markup.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
}
}
}Availability of a link: active / paused / expired / sold_out / removed_by_seller / removed_by_admin, with the reason code and public note.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
}
}
}Payment networks this deployment accepts right now (CAIP-2), the USDC contract on each, which is the default, and the mode (mainnet on production, testnet on preview). A link's networks must be a non-empty subset of these.
No arguments.
{
"type": "object",
"properties": {}
}Premium plan (price, period, features) and your membership: tier, state, period end, days left, renewal reminder.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Your totals and daily earnings across all your links.
| Argument | Type | Description |
|---|---|---|
| range | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"range": {
"enum": [
"7d",
"30d",
"90d",
"all"
],
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Links you created: destination, options, status (with reason and when it changed), clicks, 402 views, sales, free unlocks, unique payers, gross, platform fees, earnings, conversion, failed payments, agent vs human sales, last sale and abuse report count.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Your points: confirmed vs pending (7-day review), items with state and reason, not-eligible events, rank, adjustments.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Your display preferences. Without arguments: read them. With theme (green | blue | system, or null to reset): save the colour scheme the URLGate website uses for your wallet.
| Argument | Type | Description |
|---|---|---|
| theme | string | null | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"theme": {
"enum": [
"green",
"blue",
"system",
null
],
"type": [
"string",
"null"
]
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Links you paid for, newest first, with access state (open / expired / unavailable + reason), receipt and tx links.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Open a paid link. Without a payment signature you get the x402 v2 payment requirements; send them back signed to get the destination. Already paid, or your own link (signed in as that wallet: token, or a SIGN-IN-WITH-X header signed over this link's challenge)? You get the destination directly. Taken-down links return status 410 with a machine-readable reason. PAYMENT TAKES TWO SIGNATURES: (1) call without payment → isError result whose structuredContent is the x402 PaymentRequired; (2) sign one accepts[] entry (main leg, to the creator) AND the extensions["platform-fee"].accepts[] entry on the same network (0.3% fee leg, to URLGate), same wallet; (3) call again with both: params._meta["x402/payment"] + params._meta["x402/payment-fee"] (PaymentPayload objects) or the arguments paymentSignature + paymentSignatureFee (base64). Only the main leg → refused with fee_leg_missing before anything is charged. Balance must cover BOTH legs (else insufficient_funds, charged:false). If an earlier payment settled only one leg, the result has code partial_payment, partial { paid, owed } and accepts[] with ONLY the owed leg: sign that one and send it alone (fee owed: x402/payment-fee or paymentSignatureFee). Settlement comes back in result._meta["x402/payment-response"]. Test your client for free first with payment_compat_check. The preview testnet test link REQUIRES a wallet with Base Sepolia testnet + test USDC. If your wallet can't use testnet, follow the production path: run payment_compat_check on production (verify-only, no funds move) and, if you meet the two-signature requirements, proceed with the real paid tools.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| promo | string | Promo code |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
How to pay for and open a link over HTTP x402 v2 (returns the exact URL and steps).
| Argument | Type | Description |
|---|---|---|
| code* | string |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
}
}
}FREE, verify-only check that your x402 client can pay URLGate before you spend anything. Call without payment → isError result with a two-leg PaymentRequired (main accepts[] entry + extensions["platform-fee"] entry; tiny amounts, 30 s validBefore). Sign BOTH with the same wallet and call again with _meta["x402/payment"] + _meta["x402/payment-fee"] (or paymentSignature + paymentSignatureFee). Both legs are verified, NEVER settled; you get verdict ok | fee_leg_missing | main_leg_missing | wrong_network | bad_signature | amount_mismatch (or requirement_mismatch, payer_mismatch, expired, insufficient_funds, facilitator_unavailable). Signatures sent here can never pay for anything. The preview testnet test link REQUIRES a wallet with Base Sepolia testnet + test USDC. If your wallet can't use testnet, follow the production path: run payment_compat_check on production (verify-only, no funds move) and, if you meet the two-signature requirements, proceed with the real paid tools. Testnet path: 1. wallet on Base Sepolia with test USDC; 2. payment_compat_check on the preview deployment; 3. sign both legs, call again; 4. verdict ok = ready. Production path: 1. payment_compat_check on production (verify-only, no funds move); 2. sign both legs, call again; 3. verdict ok = proceed with the real paid tools.
| Argument | Type | Description |
|---|---|---|
| paymentSignature | string | MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta["x402/payment"], which wins when both are sent. Omit on the first call to get the payment requirements. |
| paymentSignatureFee | string | FEE leg (open_link only, REQUIRED when the requirements have extensions["platform-fee"]): base64 x402 v2 PaymentPayload for the extensions["platform-fee"].accepts[] entry on the same network, signed by the same wallet (same as PAYMENT-SIGNATURE-FEE). Fallback for params._meta["x402/payment-fee"]. Without it the call is refused with fee_leg_missing and nothing is charged. Sent ALONE when a partial payment owes only the platform fee (code partial_payment). |
Public top-100 leaderboard ranked by confirmed (final) points only, ties to the earliest earner. Each row also shows pending: points whose review is still open (not voided, confirmed or expired), never used for rank. Banned wallets are excluded. Wallets are shortened. Page with limit (max 100) and offset or page.
| Argument | Type | Description |
|---|---|---|
| page | integer | |
| limit | integer | |
| offset | integer |
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"minimum": 1
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
}
}Your rank on the public leaderboard plus confirmed and pending points. rank is null when you have no confirmed points, opted out, or are banned (reason says which).
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}How points are earned, the caps, and every not-eligible reason.
No arguments.
{
"type": "object",
"properties": {}
}FREE. Alias of get_started: creation fee, free daily quota (Free / Premium / new wallets), global ceiling, agent-key limits, per-minute limits, Premium perks, and your remaining free links today when signed in or using an agent key.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Redeem a URLGate premium code for the signed-in wallet. Adds the code’s cycles (30 days each) on top of your current period. Each wallet can use a code once; invalid, expired, withdrawn and used-up codes all return invalid_code.
| Argument | Type | Description |
|---|---|---|
| code* | string | The premium code, e.g. "ABCD-EFGH-JKMN-PQRS" (case, spaces and dashes ignored) |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The premium code, e.g. \"ABCD-EFGH-JKMN-PQRS\" (case, spaces and dashes ignored)"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}Report a link to URLGate moderators (scam / phishing, malware, illegal content, copyright, spam, child sexual abuse or exploitation). One report per reporter per link.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| string | optional, for follow-up | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| reason* | string | |
| wallet | string | optional 0x… contact wallet |
| details | string |
{
"type": "object",
"required": [
"code",
"reason"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"email": {
"type": "string",
"description": "optional, for follow-up"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"reason": {
"enum": [
"scam_phishing",
"malware",
"illegal",
"dmca",
"spam",
"child_sexual_exploitation",
"other"
],
"type": "string"
},
"wallet": {
"type": "string",
"description": "optional 0x… contact wallet"
},
"details": {
"type": "string",
"maxLength": 2000
}
}
}List your sessions/tokens (action=list) or revoke them (action=revoke with scope current|all or a jti).
| Argument | Type | Description |
|---|---|---|
| jti | string | |
| scope | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| action | string |
{
"type": "object",
"properties": {
"jti": {
"type": "string"
},
"scope": {
"enum": [
"current",
"all"
],
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"action": {
"enum": [
"list",
"revoke"
],
"type": "string"
}
}
}Pause, resume, remove or restore one of your links. Buyers who already paid keep access while paused.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| note | string | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| action* | string |
{
"type": "object",
"required": [
"code",
"action"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"note": {
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"action": {
"enum": [
"pause",
"resume",
"remove",
"restore"
],
"type": "string"
}
}
}Hide or show your wallet on the public leaderboard (points keep accruing).
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| hideFromLeaderboard* | boolean |
{
"type": "object",
"required": [
"hideFromLeaderboard"
],
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"hideFromLeaderboard": {
"type": "boolean"
}
}
}Sign in with a wallet. Step 1: {address} → message to sign (EIP-191). Step 2: {message, signature} → token; pass it as Authorization: Bearer on the MCP connection (or as `token` on each tool call). This token is what every account change needs: a SIGN-IN-WITH-X header only re-opens paid links and reads (GET /api/v2/auth/siwx/challenge).
| Argument | Type | Description |
|---|---|---|
| address | string | |
| chainId | integer | |
| message | string | |
| signature | string |
{
"type": "object",
"properties": {
"address": {
"type": "string"
},
"chainId": {
"type": "integer"
},
"message": {
"type": "string"
},
"signature": {
"type": "string"
}
}
}FREE. The fees, prices, quotas, periods and limits in force right now, as JSON (the values every URLGate page and doc is rendered from). Personal quota usage: get_started.
No arguments.
{
"type": "object",
"properties": {}
}Edit one of your links. Free: price, title, description, afterPay, networks. Premium: receiptMessage, expiresAt, maxUses, accessTtlSeconds, destinationUrl after the first sale. null clears an option.
| Argument | Type | Description |
|---|---|---|
| code* | string | Short code, e.g. "Gp1qJx" |
| price | string | USDC, minimum 0.01 (a link already priced below it keeps its price until changed) |
| title | string | null | |
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
| maxUses | integer | null | |
| afterPay | string | |
| networks | array | null | |
| expiresAt | string | null | |
| description | string | null | |
| destinationUrl | string | |
Verify the hash chain of the points ledger.
No arguments.
{
"type": "object",
"properties": {}
}The wallet this connection is signed in as, with tier and membership.
| Argument | Type | Description |
|---|---|---|
| token | string | Session token (Bearer) when the MCP connection cannot carry an Authorization header |
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 23, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| string |
| Custom code (premium) |
| description | string |
| paymentSignature | string | MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta["x402/payment"], which wins when both are sent. Omit on the first call to get the payment requirements. |
{
"type": "object",
"required": [
"url",
"price"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"price": {
"type": "string",
"description": "USDC, e.g. \"0.25\". Minimum 0.01, max 6 decimals"
},
"title": {
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"wallet": {
"type": "string"
},
"afterPay": {
"enum": [
"receipt",
"redirect"
],
"type": "string"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"shortcode": {
"type": "string",
"description": "Custom code (premium)"
},
"description": {
"type": "string"
},
"paymentSignature": {
"type": "string",
"description": "MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta[\"x402/payment\"], which wins when both are sent. Omit on the first call to get the payment requirements."
}
}
}{
"type": "object",
"required": [
"code"
],
"properties": {
"id": {
"type": "integer",
"description": "Grant id (revoke)"
},
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"kind": {
"enum": [
"wallet",
"promo"
],
"type": "string"
},
"note": {
"type": "string"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"action": {
"enum": [
"list",
"create",
"revoke"
],
"type": "string"
},
"wallet": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"promoCode": {
"type": "string"
},
"discountPct": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"maxRedemptions": {
"type": "integer"
}
}
}| paymentSignature |
| string |
| MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta["x402/payment"], which wins when both are sent. Omit on the first call to get the payment requirements. |
| paymentSignatureFee | string | FEE leg (open_link only, REQUIRED when the requirements have extensions["platform-fee"]): base64 x402 v2 PaymentPayload for the extensions["platform-fee"].accepts[] entry on the same network, signed by the same wallet (same as PAYMENT-SIGNATURE-FEE). Fallback for params._meta["x402/payment-fee"]. Without it the call is refused with fee_leg_missing and nothing is charged. Sent ALONE when a partial payment owes only the platform fee (code partial_payment). |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"promo": {
"type": "string",
"description": "Promo code"
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"paymentSignature": {
"type": "string",
"description": "MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta[\"x402/payment\"], which wins when both are sent. Omit on the first call to get the payment requirements."
},
"paymentSignatureFee": {
"type": "string",
"description": "FEE leg (open_link only, REQUIRED when the requirements have extensions[\"platform-fee\"]): base64 x402 v2 PaymentPayload for the extensions[\"platform-fee\"].accepts[] entry on the same network, signed by the same wallet (same as PAYMENT-SIGNATURE-FEE). Fallback for params._meta[\"x402/payment-fee\"]. Without it the call is refused with fee_leg_missing and nothing is charged. Sent ALONE when a partial payment owes only the platform fee (code partial_payment)."
}
}
}{
"type": "object",
"properties": {
"paymentSignature": {
"type": "string",
"description": "MAIN leg: base64 x402 v2 PaymentPayload for an accepts[] entry (same as the PAYMENT-SIGNATURE header). Fallback for params._meta[\"x402/payment\"], which wins when both are sent. Omit on the first call to get the payment requirements."
},
"paymentSignatureFee": {
"type": "string",
"description": "FEE leg (open_link only, REQUIRED when the requirements have extensions[\"platform-fee\"]): base64 x402 v2 PaymentPayload for the extensions[\"platform-fee\"].accepts[] entry on the same network, signed by the same wallet (same as PAYMENT-SIGNATURE-FEE). Fallback for params._meta[\"x402/payment-fee\"]. Without it the call is refused with fee_leg_missing and nothing is charged. Sent ALONE when a partial payment owes only the platform fee (code partial_payment)."
}
}
}| receiptMessage |
| string | null |
| accessTtlSeconds | integer | null |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Short code, e.g. \"Gp1qJx\""
},
"price": {
"type": "string",
"description": "USDC, minimum 0.01 (a link already priced below it keeps its price until changed)"
},
"title": {
"type": [
"string",
"null"
]
},
"token": {
"type": "string",
"description": "Session token (Bearer) when the MCP connection cannot carry an Authorization header"
},
"maxUses": {
"type": [
"integer",
"null"
]
},
"afterPay": {
"enum": [
"receipt",
"redirect"
],
"type": "string"
},
"networks": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"description": {
"type": [
"string",
"null"
]
},
"destinationUrl": {
"type": "string",
"format": "uri"
},
"receiptMessage": {
"type": [
"string",
"null"
]
},
"accessTtlSeconds": {
"type": [
"integer",
"null"
]
}
}
}