PlugWiki
Spree Commerce: open-source B2B and marketplace ecommerce logo

Spree Admin MCP Server: Setup for Claude, Cursor and Other Apps

OfficialRemote

Lets Claude, Cursor and other assistants work in your Spree store: find products, run reports, manage orders, stock and sellers.

Spree stores include this server, so there is nothing to install on a new store. Paste your store's admin MCP address into your assistant and sign in. The address is your own store's, ending in /api/v3/admin/mcp.

You choose which permissions the assistant gets when you connect, and it is only shown the tools those permissions allow. Spree API keys do not work here.

Good for

  • Store owners and staff who want to run the back office in plain language
  • Marketplace operators who approve sellers and products
  • Developers who add their own store tools for an assistant

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install Spree Commerce: open-source B2B and marketplace ecommerce MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the Spree Commerce: open-source B2B and marketplace ecommerce MCP server to Claude Code. Run this command:
    
    claude mcp add --transport http --client-id <client-id> --callback-port 3118 spree https://your-store.com/api/v3/admin/mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires A Spree 6 store with spree_mcp, Your assistant registered under Settings > OAuth clients.

Read-only mode: On the consent screen approve only read permissions, such as read_reports. Tools that need write permissions are not offered.

Replace your-store.com with your store's address. In your Spree dashboard open Settings > AI Agents > Connect an agent to get the exact command with your client ID. Spree documents Claude Code, Claude Desktop and claude.ai, Cursor and VS Code. The other apps are not documented by Spree and need OAuth sign-in support.

From the vendor's docs. Source.

Tools

  • Shows what a record type contains

    Describes a kind of record in your store, including its fields and filters, so the assistant knows what it can ask for.

    Try: “What fields can I filter products by?”

    Read · describe_resource

  • Finds records in your store

    Searches records such as products and orders. It only finds what you approved.

    Try: “Which products are out of stock?”

    Read · search_resources

  • Opens one record

    Fetches a single record, such as an order or product, by ID.

    Try: “Show order R123456789.”

    Read · get_resource

  • Lists what reports can show

    Lists the measures and breakdowns the reporting tool supports.

    Try: “What can I report on?”

    Read · describe_reporting

  • Runs a sales report

    Runs a report such as sales by country or period and returns the figures.

    Try: “What did we sell in Germany last month?”

    Read · query_report

  • Makes a product live

    Activates a product so shoppers can see it.

    Try: “Activate the Summer Tote product.”

    Write · products_activate

  • Moves a product to draft

    Sets a product back to draft.

    Try: “Put the Summer Tote back in draft.”

    Write · products_draft

  • Archives a product

    Archives a product.

    Try: “Archive last year's holiday products.”

    Write · products_archive

  • Approves a submitted product

    Approves a product that was submitted for review.

    Try: “Approve the new product from Acme Supplies.”

    Write · products_approve

  • Rejects a submitted product

    Rejects a product that was submitted for review.

    Try: “Reject that product, the photos are missing.”

    Write · products_reject

  • Adds a product variant

    Creates a new variant, for example a size, on a product.

    Try: “Add a size L variant to the Summer Tote.”

    Write · variants_create

  • Changes a variant

    Updates a variant's details.

    Try: “Change the SKU of the size M variant.”

    Write · variants_update

From the official docs

Permissions

high risk · 4 things to watch

High risk

The assistant can cancel orders, capture and refund payments, and edit or delete store records, up to the permissions you approve. Approve only the permissions you need, and use read-only permissions to start.

What it can do

Watch out for

  • It can refund and capture payments

    Payment, refund and shipping label tools move money. Only approve those permissions if you want that, and read each confirmation your app shows. github.com

  • It can change or delete store records

    Three general tools create, change and delete 38 kinds of record. Approve only the record types you need. github.com

  • Writes ask your app to confirm

    The docs say a write asks your client to confirm before it runs. That depends on your app, so check it does. github.com

  • Some things are never reachable

    The docs say API keys, roles, staff accounts and gift card codes cannot be reached, and customer erasure is dashboard-only. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyApprove only read permissions on the consent screen. Tools that need write permissions are then not offered.
Talks toYour own Spree store
Sign-in and keysYou sign in to your store in a browser and approve permissions. There is no API key. Access can be revoked under Settings > AI Agents.
Scopes
  • Permissions you approve at sign-in, such as read_reports or write_orders

Questions

What is the Spree Admin MCP server URL?

It is your own store's address followed by /api/v3/admin/mcp, for example https://your-store.com/api/v3/admin/mcp. Each store hosts its own.

Do I need to install anything?

Not on a new store. The starter app already includes the spree_mcp gem. On an older store, run spree add mcp or add the gem.

Can I use a Spree API key?

No. The docs say a key does not work here. You sign in with a browser and approve permissions.

Can I limit it to read-only?

Yes. Approve only read permissions when you connect, and write tools are not offered to the assistant.

Can it refund customers?

Yes, if you approve the refund permission. It can also capture and void payments and buy shipping labels.

How is it different from the Spree docs server?

The docs server only reads Spree's documentation. This one works inside your own store.

Why does the app ask for a client ID?

Your store only accepts registered assistants. Copy the client ID from Settings > OAuth clients in your Spree dashboard, as the quick start explains.

Information

updated Nov 2, 2026

Publisher
Official
Transport
Streamable HTTP
Auth
OAuth
Version
6.0.1
License
BSD-3-Clause
Last commit
Oct 31, 2026
Open issues
91
Listed in
Official MCP registry

WebsiteGitHubOfficial MCP Registry

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. github.com · github.com
  2. github.com · github.com
  3. github.com · github.com
  4. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.