MCP server for Shoprocket — orders, products, customers, store stats and discount codes. For Shoprocket store operators with a customer Store Secret Key. Hosted by usefulapi — connect from Claude, ChatGPT, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"shoprocket": {
"url": "https://shoprocket.usefulapi.io/mcp"
}
}
}Add to VS Code or add this to .vscode/mcp.json:
{
"servers": {
"shoprocket": {
"type": "http",
"url": "https://shoprocket.usefulapi.io/mcp"
}
}
}No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.
Run these commands. The second one opens the login page:
Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.
Find orders by payment and fulfillment status, then inspect line items, customer details and shipping information.
shoprocket_list_orders shoprocket_get_order
Read sales statistics for a date range and compare them with the preceding period.
shoprocket_get_store_stats
Inspect an order, then change its requested payment or fulfillment status. Customer email is optional; marking a payment status does not charge a card.
Changes data · shoprocket_get_order shoprocket_update_order_status
Review existing codes, then create the requested discount with its dates and usage limit. The code can reduce revenue when shoppers redeem it.
Changes data · shoprocket_list_discount_codes shoprocket_create_discount_code
The login page asks for your Store Secret Key.
Find it in the Shoprocket dashboard under Settings → API keys. Use the secret key (sr_live_sk_… for your live store, sr_test_sk_… for test data), not the publishable key. Requested store, order, customer and catalog data passes to your chosen AI client and its LLM provider. When requested, tools create or update products, categories and customers, create discount codes, and change order payment or fulfillment status. Status changes do not charge or refund a card, but can return stock; customer emails are sent only with send_email enabled. Revoke or regenerate this key in Shoprocket to stop vendor access. Billing follows the verified store ID, so rotating its key keeps that identity.
Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Store Secret Key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
Turn on the Shoprocket connector, then ask in plain words. The AI picks the tools.
| Tool | Type | What it does |
|---|---|---|
shoprocket_get_store | read | Get store The Shoprocket store this key belongs to: name, address, environment (test or live), paused state, currencies and languages, setup status. The store's API keys are never returned. GET /v1/store/details. |
shoprocket_get_store_stats | read | Get store stats Sales statistics for a date range, compared with the previous period: orders, revenue, visitors, abandoned carts, conversion rate, average order value, a daily sales graph, regions, sources and popular products. GET /v1/store/stats. |
shoprocket_list_orders | read | List orders List or search orders with totals, customer, addresses, payment and fulfillment status, discounts, line items and shipping. Filter by payment status, fulfillment status, payment method, customer ids, amount range, sale/discount use or free text. GET /v1/orders. |
shoprocket_get_order | read | Get order One order by id (ord_..., not the #number shown in the dashboard): totals, customer, billing and shipping address, payment and fulfillment status, discounts, line items and tracking. GET /v1/orders/{id}. |
shoprocket_update_order_status | write | Update order status WRITE: change an order's payment status and/or fulfillment status (for example mark it shipped or paid). Shoprocket needs both values, so a value you leave out is read from the order first and kept. With send_email true Shoprocket EMAILS THE CUSTOMER an order update (optionally with custom_text); the default is no email. Cancelling can return the items to stock (release_stock). POST /v1/orders/{id}. |
shoprocket_list_products | read | List products List products with price, SKU, stock quantity, categories, images, variants (skus) and status. Search by text, filter by category slugs, product ids or slugs, and sort. GET /v1/products. |
shoprocket_get_product | read | Get product One product by id (prod_...): description, price, SKU, stock, dimensions, categories, media, variants (skus), add-ons. GET /v1/products/{id}. |
shoprocket_create_product | write | Create product WRITE: create a product in the store (visible to shoppers unless status is 0). A name and at least one category (name or slug) are required. Does not create duplicates by itself: calling twice creates two products. Variants and add-ons are not set by this tool. PUT /v1/products. |
shoprocket_update_product | write | Update product WRITE: change a product's fields (price, stock quantity, description, status...). Shoprocket requires the name on every update, so pass the current name to keep it. Only the fields you pass are sent. POST /v1/products/{id}. |
shoprocket_list_categories | read | List categories List product categories with id, name and slug. GET /v1/categories. |
shoprocket_get_category | read | Get category One category by id (cat_...); with expand_products also the products in it. GET /v1/categories/{id}. |
shoprocket_create_category | write | Create category WRITE: create a product category (optionally assigning existing products). Calling twice with the same name may create a duplicate or be refused by Shoprocket. PUT /v1/categories. |
shoprocket_update_category | write | Update category WRITE: rename a category, change its slug, or set the products in it. Only the fields you pass are sent. POST /v1/categories/{id}. |
shoprocket_list_customers | read | List customers List customers with name, email, phone, company, tax number, country and marketing opt-in. GET /v1/customers. |
shoprocket_get_customer | read | Get customer One customer by id (cus_...). GET /v1/customers/{id}. |
shoprocket_create_customer | write | Create customer WRITE: add a customer record (it does not email the customer). marketing_subscribed records newsletter consent: set it to true only if the customer actually opted in. PUT /v1/customers. |
shoprocket_update_customer | write | Update customer WRITE: change a customer's email, name, phone, company, tax number or newsletter consent. Only the fields you pass are sent. Set marketing_subscribed true only if the customer actually opted in. POST /v1/customers/{id}. |
shoprocket_list_discount_codes | read | List discount codes List discount codes with type, value, what they apply to, usage limit and count, minimum order, dates and status. GET /v1/discount-codes. |
shoprocket_get_discount_code | read | Get discount code One discount code by id (ofr_...). GET /v1/discount-codes/{id}. |
shoprocket_create_discount_code | write | Create discount code WRITE: create a live discount code that shoppers can use at checkout and that reduces the store's revenue. Type fixed or percentage needs coupon_value; free_shipping does not. Use usage_limit and dates to bound it. Calling twice creates two codes. PUT /v1/discount-codes. |
shoprocket_list_automatic_discounts | read | List automatic discounts List automatic discounts (applied at checkout without a code) with type, value, conditions, dates and status. GET /v1/automatic-discounts. |
shoprocket_list_sales | read | List sale promotions List sale promotions (price reductions on products) with type, value, what they apply to, dates and status. GET /v1/sale-promotions. |
shoprocket_list_shipping_methods | read | List shipping methods List the store's shipping methods and rates. GET /v1/shippings. |
shoprocket_list_taxes | read | List taxes List the store's tax rules. GET /v1/taxes. |
shoprocket_list_zones | read | List shipping zones List the store's shipping zones (the regions it ships to). GET /v1/zones. |
shoprocket_list_payment_methods | read | List payment methods List the store's payment gateways (Stripe, PayPal, manual...) and whether they are enabled. Gateway credentials are never returned. GET /v1/payment-methods. |
shoprocket_usage_status | Usage status (free-tier meter) Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. | |
shoprocket_request_feature | Request a missing feature Tell usefulapi that the user needs something the Shoprocket tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. | |
shoprocket_upgrade | Upgrade to Pro (unlimited*) Get Pro: unlimited tool calls (fair use limit: 10,000 a month) on Shoprocket (the free tier caps monthly usage). Plans: "monthly" — $9/month; "yearly" — $90/year (2 months free). Cancel any time: Pro then runs to the end of the paid period, so it also suits a one-time job. *A fair use limit applies. For heavy use (near Pro's limit): "plus" or "plus_yearly" — Pro+, $39/month or $390/year, unlimited tool calls (fair use limit: 100,000 a month); an existing Pro subscription changes to Pro+ in place (needs confirm: true; the price difference for the rest of the period is charged at once). Otherwise returns a short link to open in your browser (it opens Stripe Checkout); after payment the account upgrades automatically. Does not count against the meter. | |
shoprocket_cancel_subscription | Cancel the Pro subscription Cancel the caller's Shoprocket Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run shoprocket_upgrade later to undo the cancel before the period ends. Does not count against the meter. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 50 tool calls / month |
| Proper Shoprocket store | $9/mo · $90/yr | Unlimited* |
*Pro fair use limit: 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this Shoprocket server only. Subscribe with shoprocket_upgrade (it returns a Stripe Checkout link). Cancel any time with shoprocket_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running shoprocket_upgrade before then undoes the cancel. Or write to [email protected].
Review paid orders awaiting shipment. Review store performance. Update a requested order status. Create a checkout discount code. See what you can do for the details.
No. usefulapi is an independent service. It is not affiliated with or endorsed by Shoprocket. The server calls the Shoprocket API with your own Shoprocket access, so it sees only the data that your account can see.
Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.
The login page asks for your Store Secret Key. See Before you connect for where to find it.
No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Store Secret Key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Shoprocket API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Shoprocket.
Yes, if you approve it. 8 of the 26 Shoprocket tools can create or change data. The other 18 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.
The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls (fair use limit: 10,000 tool calls a month), for this Shoprocket server only. Cancel any time: Pro then runs to the end of the paid period. Run shoprocket_usage_status to see how many calls you used.
Ask the AI to run shoprocket_upgrade: it returns a Stripe Checkout link. To cancel, run shoprocket_cancel_subscription. Pro continues to the end of the paid period.
Tell the AI what you wanted to do. It can send the request with shoprocket_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.
Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.
Need a tool this server does not have, or a connection to another system? We build custom integrations and MCP servers.