accueil / serveurs / Finance & Paiement / io.github.Travisswop/swop
io.github.Travisswop/swop
serveur MCP (Model Context Protocol) · swop-commerce 0.2.2
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.Travisswop/swop est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.Travisswop/swop » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 27 outils
- swop_add_link≈ 435 tokens
Add 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.
Paramètres, retour & exemple (7)
Paramètresurl· string · requis
The link to add (any URL, or mailto:/tel:)style· string · optionnel · solid | glass
Info-bar card style (default solid)title· string · optionnel
Override the label/titledisplayAs· string · optionnel · icon | button | infobar
Omit first to get a placement suggestion; then set to place itbuttonName· string · optionnel
Info-bar button text (e.g. "Pay", "Book")description· string · optionnel
Info-bar description linesmartsiteId· string · optionnel
Specific SmartSite id (default: primary)
Exemple d'appel{"name": "swop_add_link", "arguments": {"url": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_create_checkout≈ 818 tokens
Take 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.
Paramètres, retour & exemple (7)
Paramètresitems· array · requis
The cart. Ids only — prices come from the cataloguebuyerName· string · optionnel
Buyer's name (required for physical items)offerCard· boolean · optionnel
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 · optionnel
Buyer's email, for the receipt (required for physical items)buyerPhone· string · optionnel
Buyer's phone, for the courierdescription· string · optionnel
What this checkout is forshippingAddress· object · optionnel
Delivery address. Required when any item is a physical product
Exemple d'appel{"name": "swop_create_checkout", "arguments": {"items": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_create_feed_post≈ 458 tokens
Publish 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.
Paramètres, retour & exemple (5)
Paramètresimages· array · optionnel
Images: https URLs, data:image/...;base64 URIs, or base64. On confirm, pass the hosted URLs from the previewcaption· string · optionnel
Post text. Hashtags and @handle.swop.id mentions work as in the appconfirm· boolean · optionnel
true ONLY after the user explicitly approved the previewpreviewId· string · optionnel
From the preview stepsmartsiteId· string · optionnel
Post as this SmartSite (default: primary). Ids from swop_get_my_profile
Exemple d'appel{"name": "swop_create_feed_post", "arguments": {"images": [], "caption": "texte", "confirm": true, "previewId": "texte", "smartsiteId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_create_product≈ 756 tokens
Start 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.
Paramètres, retour & exemple (15)
Paramètresname· string · requis
Product nameimage· string · requis
Primary product image URL (required)nftType· string · optionnel · phygital | menu | collectible | subscription | membership | coupon
Fine-grained type; overrides productType. phygital/menu are physical, the rest digitalkeywords· array · optionnel
Search keywordspriceUsd· number · requis
Price in USD (settles in USDC)variants· array · optionnel
Buyer-selectable options. Replaces the existing set when given.mintLimit· integer · optionnel
Inventory available, default 1description· string · requis
Product description (required)extraImages· array · optionnel
Additional image URLs, shown after the primary oneproductType· string · optionnel · physical | digital | in_person_checkout
physical (ships), digital (default), or in_person_checkoutshippingCost· number · optionnel
Flat shipping cost in USDrequiresShipping· boolean · optionnel
Physical goods: collect a shipping addressroyaltyRecipient· string · optionnel
Wallet receiving royaltiesroyaltyPercentage· number · optionnel
Resale royalty percentdigitalDeliveryNote· string · optionnel
Digital goods: what the buyer receives after purchase
Exemple d'appel{"name": "swop_create_product", "arguments": {"name": "texte", "image": "texte", "priceUsd": 1, "description": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_feature_product≈ 261 tokens
Show 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.
Paramètres, retour & exemple (3)
ParamètrestemplateId· string · requis
The product/template id from swop_create_productsmartsiteId· string · optionnel
Specific SmartSite id (default: primary)carouselTitle· string · optionnel
Optional heading for the product section
Exemple d'appel{"name": "swop_feature_product", "arguments": {"templateId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_checkout≈ 210 tokens
Read 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.
Paramètres, retour & exemple (1)
ParamètresintentId· string · requis
The intentId returned by swop_create_checkout
Exemple d'appel{"name": "swop_get_checkout", "arguments": {"intentId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_help≈ 234 tokens
Answer "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.
Paramètres, retour & exemple (1)
Paramètresquery· string · requis
The question in plain words, e.g. "how do claim links work" or "what are Goldman credits". Max 240 characters.
Exemple d'appel{"name": "swop_get_help", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_my_balances≈ 116 tokens
Current 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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_get_my_balances", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_my_orders≈ 110 tokens
Recent marketplace orders for the linked Swop account, both sides: sales of your products and your purchases. Shows payment, escrow/settlement, and fulfillment status.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_get_my_orders", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_my_profile≈ 128 tokens
The 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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_get_my_profile", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_my_smartsite≈ 180 tokens
Get 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.
Paramètres, retour & exemple (1)
ParamètressmartsiteId· string · optionnel
Specific SmartSite id (default: primary)
Exemple d'appel{"name": "swop_get_my_smartsite", "arguments": {"smartsiteId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_product_link≈ 195 tokens
Get 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.
Paramètres, retour & exemple (2)
Paramètressku· string · requis
Product sku/id from swop_get_storehandle· string · requis
Seller swop.id, e.g. "travis.swop.id"
Exemple d'appel{"name": "swop_get_product_link", "arguments": {"sku": "texte", "handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_get_store≈ 252 tokens
See 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.
Paramètres, retour & exemple (1)
Paramètreshandle· string · requis
The seller swop.id, e.g. "travis.swop.id"
Exemple d'appel{"name": "swop_get_store", "arguments": {"handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_list_embed_origins≈ 111 tokens
Show 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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_list_embed_origins", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_list_my_products≈ 134 tokens
List 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).
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_list_my_products", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_list_my_tokens≈ 156 tokens
Community 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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_list_my_tokens", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_list_webhooks≈ 139 tokens
Show 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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "swop_list_webhooks", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_lookup_identity≈ 162 tokens
Resolve 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.
Paramètres, retour & exemple (1)
Paramètreshandle· string · requis
Exact swop.id handle, e.g. "travis.swop.id"
Exemple d'appel{"name": "swop_lookup_identity", "arguments": {"handle": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_register_embed_origin≈ 229 tokens
Allow 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.
Paramètres, retour & exemple (2)
Paramètreslabel· string · optionnel
A note to recognise it laterorigin· string · requis
Bare origin, e.g. https://acme.com
Exemple d'appel{"name": "swop_register_embed_origin", "arguments": {"origin": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_register_webhook≈ 305 tokens
Get 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.
Paramètres, retour & exemple (3)
Paramètresurl· string · requis
https URL to POST events to (http allowed for localhost only)label· string · optionnel
A name for this endpointevents· array · optionnel
Which events to send. Default: both
Exemple d'appel{"name": "swop_register_webhook", "arguments": {"url": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_remove_embed_origin≈ 155 tokens
Remove 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.
Paramètres, retour & exemple (1)
Paramètresid· string · requis
Origin id from swop_list_embed_origins
Exemple d'appel{"name": "swop_remove_embed_origin", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_remove_link≈ 231 tokens
Remove 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.
Paramètres, retour & exemple (3)
ParamètresitemId· string · requis
The item id from swop_get_my_smartsitecontentType· string · requis · socialTop | socialLarge | infoBar | marketPlace
The kind of item to removesmartsiteId· string · optionnel
Specific SmartSite id (default: primary)
Exemple d'appel{"name": "swop_remove_link", "arguments": {"itemId": "texte", "contentType": "socialTop"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_remove_webhook≈ 134 tokens
Stop sending events to one of the linked account's webhook URLs. Pending deliveries to it are dropped. Confirm with the user first.
Paramètres, retour & exemple (1)
Paramètresid· string · requis
Webhook id from swop_list_webhooks
Exemple d'appel{"name": "swop_remove_webhook", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_search_identities≈ 193 tokens
Search 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.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Max results, default 8query· string · requis
Handle or name fragment, at least 2 characters (e.g. "travis")
Exemple d'appel{"name": "swop_search_identities", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_test_webhook≈ 148 tokens
POST 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.
Paramètres, retour & exemple (1)
Paramètresid· string · requis
Webhook id from swop_list_webhooks
Exemple d'appel{"name": "swop_test_webhook", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_update_my_smartsite≈ 416 tokens
Edit 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.
Paramètres, retour & exemple (10)
Paramètresbio· string · optionnel
New bio textname· string · optionnel
New display namefontColor· string · optionnel
Primary font hex colorfontFamily· string · optionnel
Font family namethemeColor· string · optionnel
Accent/theme hex colorsmartsiteId· string · optionnel
Specific SmartSite id (default: primary)headerFormat· string · optionnel · centered | left | cover | hero | orbit | card | bar
Header layout stylebackgroundImg· string · optionnel
Background/wallpaper image URLbackgroundColor· string · optionnel
Solid background hex, e.g. "#0b0b0f"backgroundGradient· array · optionnel
Gradient hex stops, e.g. ["#5b3df5","#0b0b0f"] (clears the solid color)
Exemple d'appel{"name": "swop_update_my_smartsite", "arguments": {"bio": "texte", "name": "texte", "fontColor": "texte", "fontFamily": "texte", "themeColor": "texte", "smartsiteId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - swop_update_product≈ 629 tokens
Edit 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.
Paramètres, retour & exemple (15)
Paramètresname· string · optionnel
New product nameimage· string · optionnel
New primary image URLstatus· string · optionnel · active | archived
Set 'archived' to unlistkeywords· array · optionnel
Replaces the keywordspriceUsd· number · optionnel
New price in USD (settles in USDC)variants· array · optionnel
Buyer-selectable options. Replaces the existing set when given.mintLimit· integer · optionnel
New inventory availableproductId· string · requis
The product id from swop_list_my_productsdescription· string · optionnel
New descriptionextraImages· array · optionnel
Replaces the additional images. Requires image, since the full list is rewrittenshippingCost· number · optionnel
Flat shipping cost in USDrequiresShipping· boolean · optionnel
Collect a shipping addressroyaltyRecipient· string · optionnel
Wallet receiving royaltiesroyaltyPercentage· number · optionnel
Resale royalty percentdigitalDeliveryNote· string · optionnel
What a buyer receives
Exemple d'appel{"name": "swop_update_product", "arguments": {"productId": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».