io.github.Travisswop/swop
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Sell to people and AI agents: create products, a storefront, and USDC payment links from chat.
| Author | io.github.Travisswop |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 252 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"swop": {
"url": "https://mcp.swopme.co/mcp/commerce",
"transport": "streamable-http"
}
}
}
Measured tools (27)
swop_search_identitiesread-onlySearch Swop user identities (swop.ids) by handle or display name. Returns handle, display name, avatar, and public EVM/Solana wallet addresses. Use this to find a user or resolve a name to a wallet address.
Parameters:
query(required) — string — Handle or name fragment, at least 2 characters (e.g. "travis")limit— integer — Max results, default 8
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
swop_lookup_identityread-onlyResolve an exact swop.id handle (e.g. "travis.swop.id") to its profile: display name, avatar, and public EVM/Solana wallet addresses. Case-insensitive exact match; use swop_search_identities for fuzzy search.
Parameters:
handle(required) — string — Exact swop.id handle, e.g. "travis.swop.id"
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
swop_get_helpread-onlyAnswer "what can I do with Swop?" (returns the plain-language list of what this connection can do for the user) and look up Swop's own how-to answers on payment previews, funded claim links, Goldman AI credits, companion pairing and saved context. Use it when the user asks what Swop can do or how a feature works; for their own data use the swop_get_my_* tools instead. Returns the closest curated answer, or says the topic is not covered.
Parameters:
query(required) — string — The question in plain words, e.g. "how do claim links work" or "what are Goldman credits". Max 240 characters.
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_get_my_profileread-onlyThe linked user's own Swop account: name, email, and SmartSites (handle, bio). Use swop_lookup_identity or swop_search_identities for anyone else's profile. If no Swop account is connected, the call fails asking the user to connect it.
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_get_my_balancesread-onlyCurrent wallet balance snapshot for the linked Swop account (total USD and per-asset breakdown). For tokens or merchant Bucks the account has launched, use swop_list_my_tokens instead.
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_get_my_ordersread-onlyRecent marketplace orders for the linked Swop account, both sides: sales of your products and your purchases. Shows payment, escrow/settlement, and fulfillment status.
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_list_my_tokensread-onlyCommunity tokens and merchant Bucks the linked account has launched on Base, with live balances (for the overall wallet total use swop_get_my_balances). Read-only. Merchant Bucks are STORE CREDIT (isStoreCredit: true, 2 decimals) — never add them into a portfolio or cash total. An empty list means nothing has been launched yet, not an error.
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_get_my_smartsiteread-onlyGet the linked account's current SmartSite so you can see it BEFORE editing: name, bio, appearance (background/theme), the links already on it (icons, buttons, info bars, with their item ids for removal), product tiles, and a viewUrl to preview it. ALWAYS call this before adding or changing things so edits stay additive.
Parameters:
smartsiteId— string — Specific SmartSite id (default: primary)
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_update_my_smartsiteEdit the linked account's SmartSite: display name, bio, and appearance (background color, a gradient of hex stops, a background image URL, theme/font color, font family, or header layout). Pass only what you want to change. For adding links/buttons/info bars use swop_add_link; for products use swop_create_product / swop_feature_product.
Parameters:
bio— string — New bio textname— string — New display namefontColor— string — Primary font hex colorfontFamily— string — Font family namethemeColor— string — Accent/theme hex colorsmartsiteId— string — Specific SmartSite id (default: primary)headerFormat— string — Header layout stylebackgroundImg— string — Background/wallpaper image URLbackgroundColor— string — Solid background hex, e.g. "#0b0b0f"backgroundGradient— array — Gradient hex stops, e.g. ["#5b3df5","#0b0b0f"] (clears the solid color)
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_add_linkAdd a link to the linked account's SmartSite, with smart placement. TWO STEPS: (1) call with just the url — the tool detects what kind of link it is (payment like Venmo/PayPal/Cash App, social, contact, website) and returns a recommendation with a text preview of each layout: a small ICON in the icon row, a link BUTTON tile, or a full-width INFOBAR call-to-action card. Show the user the message + previews and ask which they want. (2) call again with the same url plus displayAs = 'icon' | 'button' | 'infobar' to place it. You can override title / buttonName / description / style ('solid' | 'glass') for an info bar. Returns a viewUrl to preview the result.
Parameters:
url(required) — string — The link to add (any URL, or mailto:/tel:)style— string — Info-bar card style (default solid)title— string — Override the label/titledisplayAs— string — Omit first to get a placement suggestion; then set to place itbuttonName— string — Info-bar button text (e.g. "Pay", "Book")description— string — Info-bar description linesmartsiteId— string — Specific SmartSite id (default: primary)
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_remove_linkdestructiveRemove a link/icon/info-bar/product tile from the SmartSite. Get the item's id and contentType from swop_get_my_smartsite (icons → 'socialTop', buttons → 'socialLarge', info bars → 'infoBar', product tiles → 'marketPlace'). Confirm with the user first.
Parameters:
contentType(required) — string — The kind of item to removeitemId(required) — string — The item id from swop_get_my_smartsitesmartsiteId— string — Specific SmartSite id (default: primary)
Hints: read-only no · destructive yes · idempotent not declared · open-world no
swop_create_feed_postPublish a PUBLIC post to the Swop feed as the linked account's SmartSite: a caption plus up to 4 images. Each image may be an https URL, a data:image/...;base64 URI, or bare base64 (PNG/JPEG/GIF/WebP, max 5 MB; keep inline images under ~3 MB total so the request fits). TWO-STEP like swop_send: call WITHOUT confirm to get a preview — Swop hosts the images and returns who it posts as, the exact caption, the hosted image URLs and a previewId. Show the user that exact caption and every image and get an explicit yes. Then call again with the SAME caption and smartsiteId, the `images` array exactly as the preview returned it, the previewId, and confirm: true. Any change after the preview is refused — preview again. Each preview publishes at most once: re-confirming it returns the same post (duplicate: true). Never confirm before the user has seen the preview.
Parameters:
images— array — Images: https URLs, data:image/...;base64 URIs, or base64. On confirm, pass the hosted URLs from the previewcaption— string — Post text. Hashtags and @handle.swop.id mentions work as in the appconfirm— boolean — true ONLY after the user explicitly approved the previewpreviewId— string — From the preview stepsmartsiteId— string — Post as this SmartSite (default: primary). Ids from swop_get_my_profile
Hints: read-only no · destructive no · idempotent not declared · open-world yes
swop_create_productStart selling something in one call: creates a product that people can buy on the linked account's Swop SmartSite and AI agents can buy in USDC over x402, with no store setup, payment processor, or verification needed. To change an existing product use swop_update_product instead. name, description and image are all REQUIRED by the backend. Confirm name and price with the user before creating. Then call swop_feature_product to show it on the SmartSite and swop_get_product_link to share it.
Parameters:
name(required) — string — Product namedescription(required) — string — Product description (required)priceUsd(required) — number — Price in USD (settles in USDC)image(required) — string — Primary product image URL (required)nftType— string — Fine-grained type; overrides productType. phygital/menu are physical, the rest digitalkeywords— array — Search keywordsvariants— array — Buyer-selectable options. Replaces the existing set when given.mintLimit— integer — Inventory available, default 1extraImages— array — Additional image URLs, shown after the primary oneproductType— string — physical (ships), digital (default), or in_person_checkoutshippingCost— number — Flat shipping cost in USDrequiresShipping— boolean — Physical goods: collect a shipping addressroyaltyRecipient— string — Wallet receiving royaltiesroyaltyPercentage— number — Resale royalty percentdigitalDeliveryNote— string — Digital goods: what the buyer receives after purchase
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_create_checkoutTake payment on the seller's own website: creates a checkout for a cart of the linked account's OWN products, so a buyer pays there instead of being sent to Swop. For a single shareable link use swop_get_product_link instead. Prices come from the seller's catalogue and must NOT be sent — a price in the request is rejected. Shipping is charged automatically for physical products, and for those the buyer's name, email and delivery address are REQUIRED (the call is refused otherwise, naming what is missing). Rails: USDC on Solana always; set offerCard when the seller is card-enabled and every item is a physical good — then the response has cardOffered: true and paymentRequest is null until the buyer picks a rail on the seller's page via the public URLs POST /api/v5/checkout-intents/{intentId}/card-payment-intents (Stripe client secret for a Payment Element) or POST .../select-crypto (publishes the Solana Pay request). Otherwise paymentRequest is returned at once (a solana: URL the buyer's wallet opens, also fine as a QR code). Settlement is automatic once the payment lands — nothing to confirm; poll swop_get_checkout for status. Show the buyer the products, quantities and total before creating.
Parameters:
items(required) — array — The cart. Ids only — prices come from the cataloguebuyerName— string — Buyer's name (required for physical items)offerCard— boolean — Offer card as well as USDC. Only takes effect when the seller is card-enabled and every item is physical; otherwise the checkout is USDC-onlybuyerEmail— string — Buyer's email, for the receipt (required for physical items)buyerPhone— string — Buyer's phone, for the courierdescription— string — What this checkout is forshippingAddress— object — Delivery address. Required when any item is a physical product
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_get_checkoutread-onlyRead back a checkout created with swop_create_checkout: its status (active, pending_payment, paid, settled, expired, cancelled), the payment request if one is published, and the line items. Poll this after the buyer has been shown the payment to learn when it lands — paid means the buyer's money arrived; settled means the seller has been paid out. Only the linked account's own checkouts are visible.
Parameters:
intentId(required) — string — The intentId returned by swop_create_checkout
Hints: read-only yes · destructive not declared · idempotent not declared · open-world no
swop_list_webhooksread-onlyShow the webhook endpoints Swop notifies when the linked account gets paid, and the events available. Two events: checkout.paid (the buyer's money arrived and an order exists) and payout.released (Swop released the seller's money — for a card sale that can be days later). Use before adding or removing one.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world no
swop_register_webhookGet notified the moment the user gets paid. Register an https URL that Swop will POST a signed JSON event to when the linked account gets paid (checkout.paid) and paid out (payout.released). Returns a signing secret ONCE — tell the user to store it now; it cannot be retrieved again. Deliveries carry a Swop-Signature header: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the secret>; failed deliveries retry for about 15 hours. Confirm the exact URL with the user first.
Parameters:
url(required) — string — https URL to POST events to (http allowed for localhost only)label— string — A name for this endpointevents— array — Which events to send. Default: both
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_test_webhookPOST a signed 'ping' event to one of the linked account's webhooks right now and report the HTTP status the endpoint returned. Use to confirm an integration before relying on it.
Parameters:
id(required) — string — Webhook id from swop_list_webhooks
Hints: read-only no · destructive no · idempotent not declared · open-world yes
swop_remove_webhookdestructiveStop sending events to one of the linked account's webhook URLs. Pending deliveries to it are dropped. Confirm with the user first.
Parameters:
id(required) — string — Webhook id from swop_list_webhooks
Hints: read-only no · destructive yes · idempotent not declared · open-world no
swop_list_embed_originsread-onlyShow which websites may currently display the linked account's Swop checkout in a frame. Use before adding or removing one so the user can see what is already allowed.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world no
swop_register_embed_originAllow ONE website to display the linked account's Swop checkout inside a frame. This is a security setting: only registered origins can ever frame the checkout, so a leaked API key still cannot put it on someone else's site. Give a bare origin — scheme and host only, https (http allowed for localhost), no wildcards, no path. Confirm the exact origin with the user first.
Parameters:
origin(required) — string — Bare origin, e.g. https://acme.comlabel— string — A note to recognise it later
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_remove_embed_origindestructiveRemove a website from the list allowed to frame the linked account's checkout. Takes an id from swop_list_embed_origins. Afterwards that site can no longer display the checkout.
Parameters:
id(required) — string — Origin id from swop_list_embed_origins
Hints: read-only no · destructive yes · idempotent not declared · open-world no
swop_feature_productShow an existing product on the linked account's SmartSite as a tile visitors can buy from. Pass the templateId returned by swop_create_product (or the id from swop_list_my_products). Each call ADDS a new tile and never replaces existing ones, so check swop_get_my_smartsite first to avoid duplicates; remove a tile with swop_remove_link. The product must belong to the linked account.
Parameters:
templateId(required) — string — The product/template id from swop_create_productsmartsiteId— string — Specific SmartSite id (default: primary)carouselTitle— string — Optional heading for the product section
Hints: read-only no · destructive no · idempotent not declared · open-world no
swop_list_my_productsread-onlyList the linked account's OWN products (each with its id, name, price, inventory, and status); to browse another seller's products use swop_get_store. Use the id with swop_update_product (to edit or unlist) or swop_feature_product (to show it on the SmartSite).
Hints: read-only yes · destructive no · idempotent not declared · open-world no
swop_update_productdestructiveEdit one of the linked account's products, or unlist it. Pass its productId (from swop_list_my_products) plus ONLY the fields to change — anything omitted keeps its current value. To unlist it, set status to 'archived'. Confirm price and name changes with the user first.
Parameters:
productId(required) — string — The product id from swop_list_my_productsname— string — New product nameimage— string — New primary image URLstatus— string — Set 'archived' to unlistkeywords— array — Replaces the keywordspriceUsd— number — New price in USD (settles in USDC)variants— array — Buyer-selectable options. Replaces the existing set when given.mintLimit— integer — New inventory availabledescription— string — New descriptionextraImages— array — Replaces the additional images. Requires image, since the full list is rewrittenshippingCost— number — Flat shipping cost in USDrequiresShipping— boolean — Collect a shipping addressroyaltyRecipient— string — Wallet receiving royaltiesroyaltyPercentage— number — Resale royalty percentdigitalDeliveryNote— string — What a buyer receives
Hints: read-only no · destructive yes · idempotent not declared · open-world no
swop_get_product_linkread-onlyGet one link that sells to everyone: a person who opens it sees a product page with a Buy button, and an AI agent that requests it gets an x402 USDC payment challenge. Use this to share a product in chat, a social post, or a message.
Parameters:
handle(required) — string — Seller swop.id, e.g. "travis.swop.id"sku(required) — string — Product sku/id from swop_get_store
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
swop_get_storeread-onlySee what any swop.id sells and buy it: lists the products a swop.id sells on their SmartSite, with USDC prices and each product's x402 buyUrl (for the linked account's own catalogue use swop_list_my_products). An agent with an x402-capable wallet purchases by GETting the buyUrl: the first request returns HTTP 402 with payment instructions (exact USDC amount, network, pay-to address), and retrying with a signed X-PAYMENT header completes the purchase and returns a receipt. Always show the user the product, price, and seller and get their confirmation before paying.
Parameters:
handle(required) — string — The seller swop.id, e.g. "travis.swop.id"
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.