Swop MCP

MCP serverCommerce & finance

Lets your agent create products, set up a storefront, and generate USDC payment links from chat.

Use Swop MCP in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Swop MCP and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the swop search identities tool from Swop MCP

Details

Available today. Use it from your connected AI after setup.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Swop MCPStart free
About this server

Sell to people and AI agents: create products, a storefront, and USDC payment links from chat.

Install Swop MCP

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user swop-mcp 'https://mcp.swopme.co/mcp/commerce'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.swopme.co/mcp/commerce

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=swop-mcp&config=eyJ1cmwiOiJodHRwczovL21jcC5zd29wbWUuY28vbWNwL2NvbW1lcmNlIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.swopme.co/mcp/commerce

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add swop-mcp --url 'https://mcp.swopme.co/mcp/commerce'

    Run it once, then sign in with codex mcp login swop-mcp if the server asks for an account.

From the project's README

As published by travisswop/swop-mcp in README.md.

Sell to people and AI agents, paid in USDC, from any MCP client.

Connect: https://mcp.swopme.co/mcp/commerce (Streamable HTTP) Public tools need no account; account tools use OAuth 2.1 (dynamic client registration, PKCE). Registry: io.github.Travisswop/swop

  • Create products and get one link: people see a Buy page, agents get an x402 USDC challenge
  • Feature products on your Swop SmartSite
  • Checkout on your own site with signed webhooks (checkout.paid, payout.released)
  • Browse and buy from any swop.id's store
  • Orders, SmartSite editing, swop.id lookup

Sellers are agent-payable in USDC as soon as they add a product, with no verification step.

Setup for Claude, ChatGPT, Cursor and Grok: docs/add-swop-to-your-ai.md

claude mcp add --transport http swop https://mcp.swopme.co/mcp/commerce

Tools (/mcp/commerce)

Public, no account:

  • swop_search_identities, swop_lookup_identity: swop.id → profile + wallet addresses
  • swop_get_store: any seller's products with USDC prices and an x402 buy URL for each
  • swop_get_product_link: the one link that sells a product to people and agents

Sell (scope commerce.write):

  • swop_create_product, swop_update_product, swop_list_my_products, swop_feature_product

Checkout on your own site (scope commerce.write):

  • swop_create_checkout, swop_get_checkout
  • swop_register_webhook, swop_list_webhooks, swop_test_webhook, swop_remove_webhook (HMAC-signed checkout.paid / payout.released)
  • swop_register_embed_origin, swop_list_embed_origins, swop_remove_embed_origin

SmartSite storefront (scope smartsite.write):

  • swop_get_my_smartsite, swop_update_my_smartsite, swop_add_link, swop_remove_link
  • swop_create_feed_post: public post as the linked SmartSite, caption + up to 4 images. Two-step: preview returns a sealed previewId; confirm resends the identical content, and each preview publishes at most once. The backend hosts the images; this server uploads nothing.

Account (scopes profile.read, wallet.read):

  • swop_get_my_profile, swop_get_my_orders, swop_get_my_balances, swop_list_my_tokens (store-credit "Bucks")

The commerce endpoint has no tools that send funds. Its OAuth metadata (/.well-known/oauth-protected-resource/mcp/commerce) advertises only profile.read wallet.read smartsite.write commerce.write.

Full endpoint (/mcp)

https://mcp.swopme.co/mcp stays live for existing Swop users. It is the commerce set plus wallet and market tools (sends, x402 payments, swaps, perps and prediction-market data); the money-moving ones need the owner to turn on AI spending, with caps, in the Swop app. New setups should use /mcp/commerce. The same OAuth link works on both endpoints.

Run

npm install
npm run dev          # Streamable HTTP on :8788 (POST /mcp and /mcp/commerce), stateless JSON mode
npm run dev:stdio    # stdio transport for local clients
npm run build && npm start
npm run smoke        # endpoint smoke test (in-process); `npm run smoke -- https://mcp.swopme.co` for prod

Env: SWOP_API_BASE (default https://apps.apiswop.co), PREDICTIONS_API_BASE (default https://polymarket.apiswop.co), PUBLIC_BASE_URL (default https://mcp.swopme.co), PORT (default 8788).

Local test with Claude Code:

claude mcp add swop --transport http http://localhost:8788/mcp/commerce

Deploy

Stateless Vercel function (project swop-mcp), served at mcp.swopme.co (never swop.tech). Deployed only with vercel deploy --prod; a git push does not ship it. Registry entry: server.json, published with mcp-publisher publish.

Where this fits

The AI-assistant edge of the platform. Exposes Swop to anything that speaks MCP, reaching the same API every first-party client uses.

graph LR
    ai["Claude / ChatGPT / Cursor"] --> mcp["<b>swop-mcp</b>"]
    mcp --> api["swop-app-backend<br/>apps.apiswop.co"]

The identity rule that matters here: crypto payment is never KYC-gated. An agent can pay a seller in USDC with no verification step. Verification gates the card scope only — never ask a crypto path for identity.

For the cross-repo map, see swop-app-backend/docs/ECOSYSTEM.md.

License

MIT — see LICENSE.

Ask Swop read connectors

The full /mcp endpoint now exposes swop_get_token_price, swop_get_sports, and swop_get_help, using the same verified adapters as Ask Swop in the app and Messages. All three require the linked account's profile.read scope and cannot transfer funds. swop_get_help is also available on /mcp/commerce; prices and sports remain on the full endpoint. Exact token contracts and network names are preserved. Provider failures and ambiguous assets return an explanation rather than an invented price, score or market.

Run npm run build && node scripts/test-assistant-connectors.mjs for protocol, authentication, input-validation and endpoint-isolation checks.

Tools it offers (26)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • swop_search_identities
  • swop_lookup_identity
  • swop_get_my_profile
  • swop_get_my_balances
  • swop_get_my_orders
  • swop_list_my_tokens
  • swop_get_my_smartsite
  • swop_update_my_smartsite
  • swop_add_link
  • swop_remove_link
  • swop_create_feed_post
  • swop_create_product
  • swop_create_checkout
  • swop_get_checkout
  • swop_list_webhooks
  • swop_register_webhook
  • swop_test_webhook
  • swop_remove_webhook
  • swop_list_embed_origins
  • swop_register_embed_origin
  • swop_remove_embed_origin
  • swop_feature_product
  • swop_list_my_products
  • swop_update_product
  • swop_get_product_link
  • swop_get_store

Signals

Last commit
Sep 2026
Advanced
Delivery
swop MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-travisswop-swop
Source
github.com/travisswop/swop-mcp
Hosted endpoint
https://mcp.swopme.co/mcp/commerce