Swapper

Monero swap MCP server for AI agents

Give any MCP client Monero (XMR) ⇄ USDC swaps on Arbitrum One, with no account and no API key. Your agent can run the whole swap: quote, order, payment from its wallet and tracking. Swapper never holds or moves funds: a wallet signs the deposit, and the swap provider holds it only while the swap executes.

MCP endpointhttps://xmrtousdc.xyz/mcp

Claude Code, in one line:

claude mcp add --transport http swapper https://xmrtousdc.xyz/mcp

Then ask your agent: "Get me 1 XMR at my Monero address." It can run the whole swap: check what you need, quote, open the order, pay it from its wallet once Swapper's checks pass (or hand you the exact deposit), and track it.

Connect your client

Pick your client. Every setup below points at the same endpoint and needs no account, OAuth or API key.

Claude Code

Terminal

claude mcp add --transport http swapper https://xmrtousdc.xyz/mcp

Add --scope user to use it in every project. Run /mcp inside Claude Code to check the connection.

Or share it with your team in .mcp.json at the project root:

{
  "mcpServers": {
    "swapper": {
      "type": "http",
      "url": "https://xmrtousdc.xyz/mcp"
    }
  }
}

Checked against the vendor's docs on 2026-10-08.

Claude (claude.ai and Claude Desktop)

Custom connector

  1. Customize → Connectors → + Add → Add custom connector.
  2. Name: Swapper. Remote MCP server URL: https://xmrtousdc.xyz/mcp. Continue.
  3. Authentication: No sign in. Click Add.
  4. In a chat: + → Connectors → switch Swapper on.

Connectors added on claude.ai also appear in Claude Desktop. Team and Enterprise: an Owner adds it under Organization settings → Connectors (Add → Custom → Web), then members click Connect. Free plans allow one custom connector.

Checked against the vendor's docs on 2026-10-07.

ChatGPT

ChatGPT on the web, Plugins

  1. Open chatgpt.com/plugins, select +, then Add custom MCP server.
  2. Name: Swapper. Server URL: https://xmrtousdc.xyz/mcp.
  3. Authentication: No authentication. Accept the risk notice, then Create as a plugin.
  4. Install the plugin, start a new chat, type @ and pick Swapper.

Open ChatGPT Plugins

ChatGPT asks you to confirm write actions by default (here create_swap, create_support_ticket, request_agent_key and submit_feedback); you can let it remember your choice for the rest of a conversation. Workspace policies can restrict custom MCP servers.

Checked against the vendor's docs on 2026-10-08.

Cursor

~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project)

{
  "mcpServers": {
    "swapper": {
      "url": "https://xmrtousdc.xyz/mcp"
    }
  }
}

Install in Cursor (opens the app)

Checked against the vendor's docs on 2026-10-07.

VS Code

.vscode/mcp.json in your workspace

{
  "servers": {
    "swapper": {
      "type": "http",
      "url": "https://xmrtousdc.xyz/mcp"
    }
  }
}

VS Code also reads a portable .mcp.json at the workspace root (top-level mcpServers, the format shown for Claude Code). For all workspaces, run MCP: Open User Configuration.

Checked against the vendor's docs on 2026-10-07.

Codex CLI

Terminal

codex mcp add swapper --url https://xmrtousdc.xyz/mcp

Or in ~/.codex/config.toml:

[mcp_servers.swapper]
url = "https://xmrtousdc.xyz/mcp"

Checked against the vendor's docs on 2026-10-07.

Gemini CLI

Terminal

gemini mcp add --transport http swapper https://xmrtousdc.xyz/mcp

Writes the project's .gemini/settings.json; add -s user for every project.

Or in ~/.gemini/settings.json (httpUrl = Streamable HTTP):

{
  "mcpServers": {
    "swapper": {
      "httpUrl": "https://xmrtousdc.xyz/mcp"
    }
  }
}

Checked against the vendor's docs on 2026-10-07.

Devin Desktop (formerly Windsurf)

Cascade panel: ... (Actions) menu → MCPs → Open MCP config file

{
  "mcpServers": {
    "swapper": {
      "serverUrl": "https://xmrtousdc.xyz/mcp"
    }
  }
}

Its docs place the file at ~/.config/devin/mcp_config.json (macOS, Linux) or %APPDATA%\devin\mcp_config.json (Windows).

Checked against the vendor's docs on 2026-10-07.

Stdio-only clients (mcp-remote)

Any client that can only start local commands, e.g. Claude Desktop's claude_desktop_config.json

{
  "mcpServers": {
    "swapper": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://xmrtousdc.xyz/mcp"
      ]
    }
  }
}

mcp-remote runs locally and bridges stdio to the remote endpoint (Streamable HTTP first, SSE as fallback). Needs Node.js 18 or newer.

Checked against the vendor's docs on 2026-10-07.

Any Streamable HTTP client

Point it at the endpoint; no auth header

curl -sS https://xmrtousdc.xyz/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Stateless: every message is a POST that gets a JSON response (a JSON-RPC batch holds at most 10 messages, before 2026-07-28 only). No session and no server stream (a GET for an SSE stream returns 405). Protocol versions 2026-07-28 (per-request _meta, server/discover) and 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 (initialize).

What your agent can do

get_funding_options → get_quote → create_swap (next.arguments) → only if payable: paymentCheck.safeToSend, then the wallet signs once → get_swap_status (long-poll) → done

Nothing on Swapper's side waits for a person; whether an agent checks with you before creating an order or paying follows your instructions and your client's settings. Swapper's checks decide whether a payment may be sent.

ToolAccessWhat it does
get_quote
direction + amount or receiveAmount; to, chain optional; or requoteOf
read-onlyEstimate a swap. amount = what the user sends; receiveAmount = what they want to get ("get me 1 XMR": direction u2x, receiveAmount "1"). Returns quoteId, acceptUntil and expiresInSec (300 s), terms (an estimate: the provider publishes no minimum), target, prerequisites and next.arguments for create_swap. Creates nothing.
create_swap
quoteId (+ to if the quote had none); idempotencyKey optional (default q_<quoteId>)
writesWith get_quote's next.arguments. One order per quote; a retry with the same arguments returns the same order. Returns payable, the deposit, deposit.payment (wallet URI, unsigned ERC-20 transaction with chainId) while payable is true, destination and trackUrl. Moves no funds.
get_swap_status
orderId; waitSec 0-25, sinceState, verify, payment
read-onlyLive state and payable: call it before funding or showing a deposit again. With payment (the unsigned transaction, URI or calldata the wallet will sign; never a signed transaction), paymentCheck.safeToSend says whether it sends exactly the deposit: sign only then. With waitSec it long-polls until the state changes; stop at terminal: true.
get_funding_options
direction (default u2x); from {chain, asset}, amount optional
read-only, offlineWhat the sender needs: native USDC plus ETH for gas on Arbitrum One (u2x), or XMR in the user's own wallet (x2u). With from (and amount), one ordered checklist: quote first, fund, then re-quote.
list_swaps
idempotencyKey or sessionId
read-onlyFind orders after a crash or in a new conversation, by the create_swap idempotencyKey (or a sessionId); REST- and MCP-created orders alike. Returns state (from the provider's list, can lag), send amount, createdAt and trackUrl; addresses are redacted. Then get_swap_status for the live state and payable.
plan_swap
none required; direction, amount or receiveAmount, to
read-only, offlineValidate a partial request and get the next missing input (a question for the user when the agent does not have it).
get_capabilities
none
read-onlyDirections, chains, defaults, validation rules and polling policy, plus the live provider minimums (limits.minSwapUsd), quote window and idempotency window it reads from the Swapper API (cached 60 s; null with a note when the API is unreachable).
create_support_ticket
message; orderId, category, sessionId, walletAddress optional; ticketId + replyToken to follow up
writesOpen a ticket for a failed or stuck swap, or ask a question; returns the ticketId and a replyToken for reading the answer. Never include seed phrases or keys.
get_support_ticket
ticketId, replyToken
read-onlyRead Support's answer on a ticket you opened: status, who is awaited and the conversation.
request_agent_key
agentName, contact, purpose (all optional)
writesOptional. Issues a key that identifies the agent; quotes made with it (get_quote agentKey) and the orders created from them use the agent fee shown in swapper://trust. Stores the name and contact given; the operator sees them.
submit_feedback
rating (1-5); comment, orderId, publishable, agentName optional
writesOptional, after a swap: a rating and a comment. A comment marked publishable is shown after operator review.

Amounts are human decimal strings with digits and one dot ("0.5" XMR, "250" USDC), never atomic units, commas, spaces or unit names. direction is x2u (send XMR, the default for an amount quote) or u2x (send USDC); receiveAmount requires it, so "get me 1 XMR" is {"direction":"u2x","receiveAmount":"1"}. Results are lean: structuredContent holds ok, operation, state, a userMessage to show the user, a next hint with the exact next call (tool is null when there is nothing left to call) and the tool's decision fields such as quoteId, payable and trackUrl; pass detail: "full" to add the full data. Every result, errors included, matches the tool's outputSchema.

Prompts

Ready-made playbooks your client can start from. Each one walks the model through the whole swap: funding check, quote, order, checked payment and tracking. Whether it checks with you before creating the order or paying follows your instructions and your client's settings.

PromptArgumentsWhat it does
swap_usdc_to_xmrxmrAmount, moneroAddress, usdcAmount (all optional; xmrAmount or usdcAmount)Buy XMR with native USDC on Arbitrum One: funding check, quote (by XMR wanted or USDC spent), order, checked payment, tracking.
swap_xmr_to_usdcxmrAmount, arbitrumAddress (optional)Sell XMR for native USDC on Arbitrum One: quote, order, checked deposit, tracking.
get_xmr_for_goalgoal (required)Turn a goal such as "get me 1 XMR" into a settled USDC to XMR swap in as few steps as possible.

Claude Code lists them as /swapper:swap_usdc_to_xmr and so on; typing the long form with space-separated arguments also works (here xmrAmount = 1):

/mcp__swapper__swap_usdc_to_xmr 1

VS Code: /swapper.swap_usdc_to_xmr in chat. Other clients show MCP prompts in their prompt or slash-command menu. Or just ask in plain words: "get me 1 XMR".

From "get me 1 XMR" to a settled swap

One goal, four Swapper tools. In this example the user told the agent not to check back; the agent's wallet signs only after Swapper's checks pass.

  1. You

    Get me 1 XMR, sent to my wallet 84aB…q1Lr. Pay with the USDC in your Arbitrum One wallet; no need to check with me.

  2. Tool callget_funding_options {"direction":"u2x"}

    → needs native USDC (0xaf88…5831) and a little ETH for gas, both on Arbitrum One

  3. Tool callget_quote {"direction":"u2x","receiveAmount":"1","to":"84aB…q1Lr"}

    → quoteId q_7f3a…, send 312.47 USDC, estimate 1.0004 XMR, no published minimum (terms.receive.minimum: null), valid 300 s (acceptUntil 14:32 UTC), next.arguments { quoteId, quoteIntentDigest }

  4. Tool callcreate_swap {"quoteId":"q_7f3a…","quoteIntentDigest":"9c0e…"}

    → orderId ord_9c1e…, payable: true, deposit: exactly 312.47 USDC to 0x51c2…9e0d by 16:29 UTC, deposit.payment.eip681 = ethereum:0xaf88…5831@42161/transfer?address=0x51c2…9e0d&uint256=312470000, trackUrl https://xmrtousdc.xyz/#order=ord_9c1e…

  5. Agent check

    destination is 84aB…q1Lr, the address you gave; 312.47 USDC is within its spending limit

  6. Tool callget_swap_status {"orderId":"ord_9c1e…","payment":"{\"to\":\"0xaf88…5831\",\"value\":\"0x0\",\"data\":\"0xa9059cbb…\",\"chainId\":42161}"}

    → payable: true, paymentCheck.safeToSend: true (chain 42161, native USDC, the deposit address, exactly 312470000 atomic units)

  7. The agent's wallet, not Swapper

    signs and sends deposit.payment.tx {to, value, data, chainId} once, exactly as returned

  8. Tool callget_swap_status {"orderId":"ord_9c1e…","waitSec":25,"sinceState":"waiting_for_funding"}

    → deposit_detected; repeated with sinceState = the last state: swap_processing, then completed, received 1.0002 XMR, evidence.payout (the payout transaction the provider reports)

  9. Agent

    Done: I sent 312.47 USDC for order ord_9c1e… and the provider reports 1.0002 XMR sent to 84aB…q1Lr. Check your Monero wallet to confirm it arrived.

Illustrative values: live quotes vary and nothing is guaranteed until settlement. idempotencyKey defaults to q_<quoteId>, so a retry of create_swap with the same arguments returns the same order; each quote opens at most one order. Without a wallet tool, the agent shows the deposit (or deposit.payment.eip681 as a link or QR code) and you pay from your own wallet. Here the user said not to check back; whether an agent confirms with you first follows your instructions and your client's settings, and Swapper's API does not require it.

Safety model

Paying from an agent? Read Agent wallets: pay a deposit safely.

Verify, don't trust

Swapper never holds your funds: the provider (Wagyu) holds them from your deposit until the payout or a refund. Here is what you, your agent or your wallet can check without taking our word for it, and what each check does not prove.

QuestionHow to checkWhat it does not prove
Is this order yours?get_swap_status names the payout address (destination) on every payable order. Check it is your own address before funding; an agent compares it with the address it was given.Only this comparison catches an order that is not yours: a genuine order created by someone else passes every other check.
Is the transfer exactly the deposit?Pass the unsigned transaction your wallet is about to sign to get_swap_status (orderId plus payment: transaction JSON, payment URI, calldata or an unsigned raw transaction; never a signed one). paymentCheck.safeToSend is true only if chain, token, recipient and amount all match the deposit. Over REST: POST /api/v1/agent/swap/payment-check, send only if data.paymentCheck.safeToSend is true.That the order is yours, or that the provider will complete the swap.
Did Swapper issue these instructions?Swapper's API can sign each order's deposit instructions (Ed25519, deposit.attestation), and the MCP server withholds any payment whose signature does not verify (payableReason: attestation_unverified). You can check a signature offline with the verifier (/swapper-verify.js, also swapper://verifier; Node, no dependencies) and a key you pinned in advance. Signing turns on once a public key is published; until then deposit.attestation is null.A signature proves what Swapper stated, not that the provider will execute the swap, nor that the signing key was never stolen.
Which code answers you?https://xmrtousdc.xyz/mcp/provenance.json (also the resource swapper://provenance) lists the SHA-256 of every file the MCP server loaded at startup, the git commit it compares them with and whether they match.It is the server's own report, to compare with the source at that commit: it cannot prove what runs on the server.
Who do you trust for what?swapper://trust lists each party (the provider, Circle, Arbitrum One, the Monero network, Swapper's servers, your agent and your wallet), what each is trusted for, and the data Swapper keeps. Fees: Swapper earns an integrator fee, already included in the quoted rate (currently 1%; each quote states it as quote.integratorFee); nothing is added on top of the quote apart from the network fee.Provider custody, solvency and screening, and anything else not listed here: those are statements you take on trust.

Resources

URIContents
swapper://capabilitiesDirections, chains, limits, defaults, validation rules and quote policy (JSON).
swapper://lifecycleOrder states, payable, terminal outcomes, long-polling and late-settlement rules.
swapper://fees-limitsWhat is and is not known about fees, minimums and precision.
swapper://troubleshootingError codes and the safe recovery for each.
swapper://fundingHow to get the send asset; same data as get_funding_options (JSON).
swapper://trustWho is trusted for what: custody (Swapper never holds funds), the provider, Circle, fees, data kept, attestation status, unknowns (JSON).
swapper://provenanceSelf-reported hashes of the MCP server's code and its git commit: a claim to compare with the source, not a proof (JSON).
swapper://verifierThe exact swapper-verify.js the MCP server uses: check deposit.attestation and a payment yourself with Node, no dependencies (JavaScript).
swapper://keysThe exact attestation key set the MCP server checks deposit.attestation against (JSON). Pin a key you obtained elsewhere: a key set served next to a signature proves nothing on its own.

In Claude Code, reference one with @swapper:swapper://funding.

Troubleshooting

SymptomWhat to do
Claude Code shows no Swapper toolsRun claude mcp list, or /mcp inside Claude Code. In .mcp.json an entry with a url but no "type": "http" is read as a stdio server and skipped.
Your client logs 405 for GET /mcpExpected: the server is stateless and offers no event stream, so every call is a POST with a JSON-RPC body. Spec-compliant clients carry on over POST.
Claude connector cannot connectClaude connects from Anthropic's cloud, not from your device, so local or private URLs fail. Use https://xmrtousdc.xyz/mcp exactly and choose No sign in: there is no OAuth.
Your client only runs local commandsUse the mcp-remote bridge (Node.js 18+), shown under Stdio-only clients.
geo_blocked (HTTP 451)The service is not available in the region the request comes from. Stop; do not retry. Through a hosted connector (claude.ai, ChatGPT) that region can be the connector's cloud, not yours.
rate_limited (HTTP 429)Wait retryAfterSec, then retry the same call. Long-poll get_swap_status instead of polling fast.
Amount rejected (reason ambiguous_amount)Use digits and one dot: "1.5", not "1,5", "1 500" or "1.5 XMR". Ask the user when unsure; never guess.
Address rejected (error.reason)bad_checksum or bad_monero_checksum: a typo, copy the address again. wrong_network: not a Monero mainnet address. token_contract or zero_address: not a wallet. wrong_direction: a Monero address for x2u or an 0x address for u2x, so switch direction.
destination_requiredThe quote had no destination: pass to with create_swap, or quote again with to.
quote_expired or quote_mismatchQuote again (requoteOf the old quoteId keeps its inputs), check the new terms, and create with the new quote's next.arguments.
quote_already_used (HTTP 409)That quote already opened an order under another key (error.details.orderId; null while that first create's outcome is still unknown, so retry it with its own key). Check that order with get_swap_status instead of creating another; a new order needs a new quote.
below_provider_minimum (HTTP 422)The quote is below the provider's minimum (error.details.minimumSwapUsd). Quote a larger amount; terms.belowProviderMinimum and capabilities limits.minSwapUsd show it before you create.
target_not_reached (HTTP 422)No send amount met receiveAmount within 5 provider quotes. error.details.bestSendAmount and bestEstimate show the closest; quote again.
order_outcome_unknown (HTTP 503)Retry create_swap with the same idempotencyKey: it returns the original order once the provider's answer is known (error.details.resolvesAt). This may take up to 10 minutes; then idempotency_unresolved closes the key: nothing under it can ever be funded, so a new order (a new quote and a new key) cannot be paid twice.
state queued (REST: HTTP 202)The provider's order limits are reached and the create waits its turn (queue.position, queue.etaSec). No order exists yet: fund nothing. Call create_swap again with the same arguments (same idempotencyKey) after queue.pollAfterSec; it returns the order once Swapper has created it. queue_requote_needed: the quote expired while waiting and the price moved; queue_full and queue_timeout: try again later.
signed_transactionA payment check got a signed transaction. Pass the unsigned one (transaction JSON, URI or calldata); a signed transaction is never needed.
upstream_mismatch (HTTP 502)The provider's order did not match the quote-bound request, so no deposit was issued. Fund nothing and do not retry; open a support ticket.
payable is falseNever ask for a deposit. payableReason: status_unavailable (call get_swap_status again), upstream_mismatch (no deposit at all: fund nothing), unverified_origin (not opened by create_swap from a quote: never fund it; create your own order), deposit_seen (already sent: track it), not_waiting, reconfirm_required (this order can't be funded: quote again with requoteOf and create a new order), expiry_unknown, expired (the deposit window closed), expiring (under 10 minutes left), attestation_unverified (MCP only: Swapper's signature on the deposit did not verify: fund nothing, open a ticket), replay_check_status (a list: call get_swap_status).
basis rejected (reason minimum_not_published)The provider publishes no minimum receive amount, so basis "minimum" cannot apply. Quote without basis (only the estimate can meet a receiveAmount target) and tell the user nothing is guaranteed.
next.action is contact_supportThe provider needs an action on the order that Swapper cannot take (attention kind action_required, such as a refund address, or coinflip_lost). Open a ticket with create_support_ticket and the orderId; never share seed phrases or private keys.
Status error with lastKnownThe provider is unreachable; the order is unaffected. error.details.lastKnown.state is the last state seen. Do not create another order or send again; retry later.
Sent the wrong token or networkThe order does not detect it: only native USDC on Arbitrum One (or XMR on Monero) counts. Contact support with the transaction hash; recovery is not guaranteed.
Lost the orderIdCall list_swaps with the idempotencyKey used for create_swap (its default is q_<quoteId>; REST: GET /api/v1/agent/swap/orders?idempotencyKey=). It finds REST- and MCP-created orders; then get_swap_status shows the live state and payable.

Test the endpoint from a terminal:

curl -sS https://xmrtousdc.xyz/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

More for builders

Open the swap app →