buyforme-mcp
v1.0.3BuyForMe: pay any x402 URL (USD or EUR) with ArisPay delegated custody.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_user
Cold-start in one call: create an ArisPay user account plus the master funding account. Safe to re-run — it recovers the existing account instead of creating duplicates.
| Parameter | Type | Description |
|---|---|---|
email * | string | Email for the new ArisPay account. |
name | string | Human name. Falls back to the email local-part. |
create_wallet
Create a sub-wallet / spending profile. Sub-wallets draw from the master funding account and enforce per-transaction, daily, and monthly spend limits.
| Parameter | Type | Description |
|---|---|---|
daily * | integer | Daily spend cap in cents. |
monthly * | integer | Monthly spend cap in cents. |
name * | string | Human name for this sub-wallet, e.g. 'Daily' or 'Travel'. |
perTx * | integer | Per-transaction spend cap in cents. |
allowedDomains | array | If provided, restrict this sub-wallet to paying only these domains. |
list_wallets
List all sub-wallets under this account.
fund_wallet
Add money to the master funding account so a sub-wallet can spend. rail='card' mints a hosted card-setup URL. rail='europ' needs an operator-configured handoff host (BUYFORME_URL); without one it returns a structured FUNDING_HANDOFF_UNAVAILABLE error that lists alternatives, including permissionless x402 via PAYAGENT_PRIVATE_KEY.
| Parameter | Type | Description |
|---|---|---|
rail * | string | Funding rail: 'europ' for SEPA/EURØP, 'card' for debit/credit card. |
wallet * | string | Name of a sub-wallet (used only for handoff context). |
amount | number | Optional preset amount in dollars. |
get_balance
Show the master funding-account balance(s) and a sub-wallet's spend limits. If no wallet is named, lists all sub-wallets.
| Parameter | Type | Description |
|---|---|---|
wallet | string | Optional sub-wallet name. Omit to list all sub-wallets. |
pay_merchant
Pay a merchant from the master wallet through a sub-wallet. For balance-rail payments (from FundingAccount), merchantId is required. For card-rail payments, the user must have a verified card on file.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Amount in cents. |
memo * | string | Human-readable memo, e.g. 'T-shirt from getwatta.com'. |
merchantUrl * | string | Canonical merchant URL for this payment. |
wallet * | string | Name of the sub-wallet to spend through. |
currency | string | Currency code. Default: USD. |
merchantId | string | Required for balance-rail payments to a registered merchant. |
rail | string | Force balance or card rail. Default: server picks based on available funding. |
pay_api
Advanced: make an HTTP request to an x402-protected API, paying with USDC on Base. Signs locally when PAYAGENT_PRIVATE_KEY is set (self-custody, no ArisPay account needed); otherwise pays via delegated signing with server-enforced limits. This is a separate rail from the wallet-centric balance/card flows.
| Parameter | Type | Description |
|---|---|---|
url * | string | The full URL of the API endpoint to call. |
agent | string | Optional name of a stored x402 payer agent. |
body | string | |
headers | object | |
method | string |
create_agent
Advanced: provision an x402 payer agent with its own Base USDC wallet. Use create_wallet instead unless you specifically need to pay x402-protected HTTP resources.
| Parameter | Type | Description |
|---|---|---|
daily * | integer | Daily spend cap in cents. |
monthly * | integer | Monthly spend cap in cents. |
name * | string | Local identifier for this x402 agent. |
perTx * | integer | Per-transaction spend cap in cents. |
agentType | string | |
allowedDomains | array | |
network | string |
fund_agent
Advanced: get the USDC deposit address for an x402 payer agent.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of a locally-stored x402 agent. |
get_balance_agent
Advanced: on-chain USDC balance for an x402 payer agent.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of a locally-stored x402 agent. |
list_agents
Advanced: list x402 payer agents with on-chain wallets.
| Parameter | Type | Description |
|---|---|---|
withBalance | boolean | Fetch on-chain USDC balance per agent. |
rename_agent
Advanced: rename an x402 payer agent.
| Parameter | Type | Description |
|---|---|---|
name * | string | Current local name of the x402 agent. |
newName * | string | New name. |
discover_paid_api
Search the ArisPay marketplace for paid APIs by capability or plain-language intent, optionally budget-bounded (integer cents). Read-only — costs nothing and needs no API key. Returns ranked candidates with endpoint URL, price in cents, health and verification flags. Follow up with pay_api to actually call one, or inspect_paid_api to see a URL's exact payment requirements first.
| Parameter | Type | Description |
|---|---|---|
query * | string | Capability or plain-language intent, e.g. 'flight search'. |
budgetCentsMax | integer | Maximum acceptable price in INTEGER CENTS (500 = $5.00). Free listings always pass. |
category | string | Optional category filter (inference, data, media, search, social, infrastructure, trading, other). |
limit | integer | Max results (default 5, max 20). |
inspect_paid_api
Fetch an x402-protected URL WITHOUT paying to see its price, asset, network, and payment requirements. Read-only, never pays — no payment header, no auth, no API key. Use before pay_api to know what a resource costs.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to inspect. Expected to return HTTP 402 with an x402 challenge. |
create_enduser
Platform mode: register an end-customer under your account.
| Parameter | Type | Description |
|---|---|---|
externalId * | string | Your own stable id for this customer. |
email | string | |
findOrCreate | boolean |
attach_card_for_user
Platform mode: mint a hosted card-entry URL for an end-user.
| Parameter | Type | Description |
|---|---|---|
userId * | string | ArisPay-internal end-user id. |
agentName | string | Optional x402 agent name to scope the session to. |
set_user_limits
Platform mode: set per-(user, agent) spend caps.
| Parameter | Type | Description |
|---|---|---|
agentName * | string | |
userId * | string | |
allowedMcc | array | |
blockedMcc | array | |
daily | integer | |
monthly | integer | |
perTx | integer |
get_user_status
Platform mode: report an end-user's card and wallet readiness.
| Parameter | Type | Description |
|---|---|---|
userId * | string |
check_wallet
Legacy diagnostic for x402 payer agents. Also derives the deposit address when PAYAGENT_PRIVATE_KEY (local self-custody key) is set. Use get_balance for wallet-centric balances.
| Parameter | Type | Description |
|---|---|---|
agent | string | Optional name of a locally-stored x402 agent. |