Integration

Spree Commerce integration

Spree Commerce is an open-source Rails commerce platform; this is its Admin API v3, the back-office REST surface of a self-hosted store. Manage the catalog (products with bulk tag, category, collection, channel and status operations, variants, option types, categories and collections including product membership and merchandising order, media uploads), sales (orders end to end: line items, discounts, fees, gift cards and store credit applied to an order, approve, complete, cancel, resume, confirmation resend; fulfillments with fulfil, split, cancel, resume, mark delivered and shipping-label purchase; payments with capture and void; refunds), customers (records, tags, addresses, store credits, customer groups and bulk group membership), promotions with their rules, actions and coupon codes, pricing (price lists with activation, prices with bulk upsert and bulk delete), inventory stock locations, and store settings including tax rates. The host is part of the credential because every install is its own deployment. Authentication is a secret admin API key sent as the x-spree-api-key header, or a JWT bearer token.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Spree Commerce.Built from the 150 Spree Commerce tools below, on the connection you add once.

What you can do with Spree Commerce

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Product, 8 operations

  • add_product_to_categoryAdd product to categoryPOSTAgents: ask firstAdd a product to a category.
  • add_product_to_collectionAdd product to collectionPOSTAgents: ask firstAdd a product to a collection.
  • create_productCreate productPOSTAgents: ask firstCreate a product.
  • delete_productDelete productDELETEAgents: ask firstDelete a product.
  • get_productGet productGETAgents: ask firstGet a product.
  • list_category_productsList category productsGETAgents: ask firstList category products.
  • list_collection_productsList collection productsGETAgents: ask firstList collection products.
  • list_productsList productsGETAgents: ask firstList products.

Categorie, 4 operations

  • create_categoryCreate categoryPOSTAgents: ask firstCreate a category.
  • delete_categoryDelete categoryDELETEAgents: ask firstDelete a category.
  • get_categoryGet categoryGETAgents: ask firstGet a category.
  • list_categoriesList categoriesGETAgents: ask firstList categories.

Collection, 4 operations

  • create_collectionCreate collectionPOSTAgents: ask firstCreate a collection.
  • delete_collectionDelete collectionDELETEAgents: ask firstDelete a collection.
  • get_collectionGet collectionGETAgents: ask firstGet a collection.
  • list_collectionsList collectionsGETAgents: ask firstList collections.

Customer, 4 operations

  • create_customerCreate customerPOSTAgents: ask firstCreate a customer.
  • delete_customerDelete customerDELETEAgents: ask firstDelete a customer.
  • get_customerGet customerGETAgents: ask firstShow a customer.
  • list_customersList customersGETAgents: ask firstList customers.

Customer group, 4 operations

  • create_customer_groupCreate customer groupPOSTAgents: ask firstCreate a customer group.
  • delete_customer_groupDelete customer groupDELETEAgents: ask firstDelete a customer group.
  • get_customer_groupGet customer groupGETAgents: ask firstGet a customer group.
  • list_customer_groupsList customer groupsGETAgents: ask firstList customer groups.

Item, 4 operations

  • add_order_itemAdd order itemPOSTAgents: ask firstAdd an item.
  • get_order_itemGet order itemGETAgents: ask firstShow an item.
  • list_order_itemsList order itemsGETAgents: ask firstList order items.
  • remove_order_itemRemove order itemDELETEAgents: ask firstRemove an item.

Option type, 4 operations

  • create_option_typeCreate option typePOSTAgents: ask firstCreate an option type.
  • delete_option_typeDelete option typeDELETEAgents: ask firstDelete an option type.
  • get_option_typeGet option typeGETAgents: ask firstGet an option type.
  • list_option_typesList option typesGETAgents: ask firstList option types.

Order, 4 operations

  • create_orderCreate orderPOSTAgents: ask firstCreate a draft order.
  • delete_orderDelete orderDELETEAgents: ask firstDelete a draft order.
  • get_orderGet orderGETAgents: ask firstShow an order.
  • list_ordersList ordersGETAgents: ask firstList orders.

Price, 4 operations

  • create_priceCreate pricePOSTAgents: ask firstCreate a price.
  • delete_priceDelete priceDELETEAgents: ask firstDelete a price.
  • get_priceGet priceGETAgents: ask firstGet a price.
  • list_pricesList pricesGETAgents: ask firstList prices.

Price list, 4 operations

  • create_price_listCreate price listPOSTAgents: ask firstCreate a price list.
  • delete_price_listDelete price listDELETEAgents: ask firstDelete a price list.
  • get_price_listGet price listGETAgents: ask firstGet a price list.
  • list_price_listsList price listsGETAgents: ask firstList price lists.

Promotion, 4 operations

  • create_promotionCreate promotionPOSTAgents: ask firstCreate a promotion.
  • delete_promotionDelete promotionDELETEAgents: ask firstDelete a promotion.
  • get_promotionGet promotionGETAgents: ask firstShow a promotion.
  • list_promotionsList promotionsGETAgents: ask firstList promotions.

Stock location, 4 operations

  • create_stock_locationCreate stock locationPOSTAgents: ask firstCreate a stock location.
  • delete_stock_locationDelete stock locationDELETEAgents: ask firstDelete a stock location.
  • get_stock_locationGet stock locationGETAgents: ask firstGet a stock location.
  • list_stock_locationsList stock locationsGETAgents: ask firstList stock locations.

Store credit, 4 operations

  • add_order_store_creditAdd order store creditPOSTAgents: ask firstApply customer's store credit to an order.
  • create_customer_store_creditCreate customer store creditPOSTAgents: ask firstIssue a store credit to a customer.
  • delete_customer_store_creditDelete customer store creditDELETEAgents: ask firstDelete a store credit.
  • list_customer_store_creditsList customer store creditsGETAgents: ask firstList customer store credits.

Tax rate, 4 operations

  • create_tax_rateCreate tax ratePOSTAgents: ask firstCreate a tax rate.
  • delete_tax_rateDelete tax rateDELETEAgents: ask firstDelete a tax rate.
  • get_tax_rateGet tax rateGETAgents: ask firstGet a tax rate.
  • list_tax_ratesList tax ratesGETAgents: ask firstList tax rates.

Variant, 4 operations

  • create_variantCreate variantPOSTAgents: ask firstCreate a variant.
  • delete_variantDelete variantDELETEAgents: ask firstDelete a variant.
  • get_variantGet variantGETAgents: ask firstGet a variant.
  • list_variantsList variantsGETAgents: ask firstList product variants.

Addresse, 3 operations

  • create_customer_addressCreate customer addressPOSTAgents: ask firstCreate a customer address.
  • delete_customer_addressDelete customer addressDELETEAgents: ask firstDelete a customer address.
  • list_customer_addressesList customer addressesGETAgents: ask firstList customer addresses.

Fulfillment, 3 operations

  • create_fulfillmentCreate fulfillmentPOSTAgents: ask firstCreate a fulfillment.
  • get_fulfillmentGet fulfillmentGETAgents: ask firstShow a shipment.
  • list_fulfillmentsList fulfillmentsGETAgents: ask firstList fulfillments.

Media, 3 operations

  • attach_product_mediaAttach product mediaPOSTAgents: ask firstPlace a library file on a product.
  • create_mediaCreate mediaPOSTAgents: ask firstUpload a file to the library.
  • list_mediaList mediaGETAgents: ask firstList media.

Payment, 3 operations

  • create_order_paymentCreate order paymentPOSTAgents: ask firstCreate a payment.
  • get_order_paymentGet order paymentGETAgents: ask firstShow a payment.
  • list_order_paymentsList order paymentsGETAgents: ask firstList payments.

Promotion action, 3 operations

  • create_promotion_actionCreate promotion actionPOSTAgents: ask firstCreate an action on a promotion.
  • delete_promotion_actionDelete promotion actionDELETEAgents: ask firstDelete an action from a promotion.
  • list_promotion_actionsList promotion actionsGETAgents: ask firstList actions for a promotion.

Promotion rule, 3 operations

  • create_promotion_ruleCreate promotion rulePOSTAgents: ask firstCreate a rule on a promotion.
  • delete_promotion_ruleDelete promotion ruleDELETEAgents: ask firstDelete a rule from a promotion.
  • list_promotion_rulesList promotion rulesGETAgents: ask firstList rules for a promotion.

Bulk add tag, 2 operations

  • bulk_add_customer_tagsBulk add customer tagsPOSTAgents: ask firstBulk-add tags to customers.
  • bulk_add_product_tagsBulk add product tagsPOSTAgents: ask firstBulk-add tags to products.

Bulk destroy, 2 operations

  • bulk_delete_pricesBulk delete pricesDELETEAgents: ask firstBulk-delete prices.
  • bulk_delete_productsBulk delete productsDELETEAgents: ask firstBulk-delete products.

Bulk remove tag, 2 operations

  • bulk_remove_customer_tagsBulk remove customer tagsPOSTAgents: ask firstBulk-remove tags from customers.
  • bulk_remove_product_tagsBulk remove product tagsPOSTAgents: ask firstBulk-remove tags from products.

Cancel, 2 operations

  • cancel_fulfillmentCancel fulfillmentPATCHAgents: ask firstCancel a fulfillment.
  • cancel_orderCancel orderPATCHAgents: ask firstCancel an order.

Discount, 2 operations

  • add_order_discountAdd order discountPOSTAgents: ask firstCreate manual discount.
  • list_order_discountsList order discountsGETAgents: ask firstList discounts.

Gift card, 2 operations

  • add_order_gift_cardAdd order gift cardPOSTAgents: ask firstApply a gift card to an order.
  • remove_order_gift_cardRemove order gift cardDELETEAgents: ask firstRemove a gift card from an order.

Payment method, 2 operations

  • get_payment_methodGet payment methodGETAgents: ask firstShow a payment method.
  • list_payment_methodsList payment methodsGETAgents: ask firstList payment methods.

Refund, 2 operations

  • create_order_refundCreate order refundPOSTAgents: ask firstCreate a refund.
  • list_order_refundsList order refundsGETAgents: ask firstList refunds.

Activate, 1 operation

  • activate_price_listActivate price listPATCHAgents: ask firstActivate a price list.

Approve, 1 operation

  • approve_orderApprove orderPATCHAgents: ask firstApprove an order.

Bulk add to categorie, 1 operation

  • bulk_add_products_to_categoriesBulk add products to categoriesPOSTAgents: ask firstBulk-add products to categories.

Bulk add to channel, 1 operation

  • bulk_add_products_to_channelsBulk add products to channelsPOSTAgents: ask firstBulk-add products to channels.

Bulk add to collection, 1 operation

  • bulk_add_products_to_collectionsBulk add products to collectionsPOSTAgents: ask firstBulk-add products to collections.

Bulk add to group, 1 operation

  • bulk_add_customers_to_groupsBulk add customers to groupsPOSTAgents: ask firstBulk-add customers to groups.

Bulk remove from categorie, 1 operation

  • bulk_remove_products_from_categoriesBulk remove products from categoriesPOSTAgents: ask firstBulk-remove products from categories.

Bulk remove from channel, 1 operation

  • bulk_remove_products_from_channelsBulk remove products from channelsPOSTAgents: ask firstBulk-remove products from channels.

Bulk remove from collection, 1 operation

  • bulk_remove_products_from_collectionsBulk remove products from collectionsPOSTAgents: ask firstBulk-remove products from collections.

Bulk remove from group, 1 operation

  • bulk_remove_customers_from_groupsBulk remove customers from groupsPOSTAgents: ask firstBulk-remove customers from groups.

Bulk status update, 1 operation

  • bulk_update_product_statusBulk update product statusPOSTAgents: ask firstBulk-update product status.

Bulk upsert, 1 operation

  • bulk_upsert_pricesBulk upsert pricesPOSTAgents: ask firstBulk-upsert prices.

Capture, 1 operation

  • capture_paymentCapture paymentPATCHAgents: ask firstCapture a payment.

Complete, 1 operation

  • complete_orderComplete orderPATCHAgents: ask firstComplete an order.

Coupon code, 1 operation

  • list_coupon_codesList coupon codesGETAgents: ask firstList coupon codes for a promotion.

Deactivate, 1 operation

  • deactivate_price_listDeactivate price listPATCHAgents: ask firstDeactivate a price list.

Fee, 1 operation

  • add_order_feeAdd order feePOSTAgents: ask firstCreate fee.

Fulfill, 1 operation

  • mark_fulfillment_fulfilledMark fulfillment fulfilledPATCHAgents: ask firstFulfill a fulfillment.

Mark delivered, 1 operation

  • mark_fulfillment_deliveredMark fulfillment deliveredPATCHAgents: ask firstMark a fulfillment delivered.

Me, 1 operation

  • get_current_admin_userGet current admin userGETAgents: ask firstGet current admin user and permissions.

Purchase label, 1 operation

  • purchase_fulfillment_labelPurchase fulfillment labelPATCHAgents: ask firstBuy the shipping label.

Store, 1 operation

  • get_storeGet storeGETAgents: ask firstGet the current store.

Showing the first 120 of 150 endpoints. The rest are in the product, searchable from the workflow builder and from chat.

Use Spree Commerce from Claude Code, Cursor or Codex

Connect Spree Commerce in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Spree Commerce operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Spree Commerce

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Spree Commerce once

    Add your Spree Commerce connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Spree Commerce integration FAQ

What can you do with the Spree Commerce integration?

LiveContext exposes 150 operations on Spree Commerce, covering product, categorie, collection and customer.

Popular integrations

Browse the whole catalog