Grok BuildSubbly MCP

Run your Subbly store from Grok Build

One command connects Grok Build to Subbly. It can then manage your products, plans, subscriptions, orders and coupons, and build on your real store data.

3 days free, then $1/wk for 2 weeksNo card needed

MCPhttps://mcp.subbly.dev/mcp
~/store · Grok BuildExample

Make a WELCOME15 coupon for first orders.

subbly · create_coupon

Created WELCOME15: 15% off, first order only, no end date.

Set up Subbly’s MCP server in Grok Build

Pick your agent. Each one connects to the same server, in its own way.

Used only to fill in the steps on this page. Never saved or sent anywhere. Get a key

Fastest

Add it with one command

  1. Get your API key

    In your Subbly admin, open Settings, then API keys, and generate a Private API key for Grok.

  2. Add the server

    Add --scope project to keep it to the current project.

    bash
    grok mcp add --transport http subbly \
      https://mcp.subbly.dev/mcp \
      --header "X-API-KEY: YOUR_SUBBLY_API_KEY"
  3. Check it's connected

    bash
    grok mcp doctor subbly

Or edit the config file

  1. Add Subbly to config.toml

    ~/.grok/config.toml

    toml
    [mcp_servers.subbly]
    url = "https://mcp.subbly.dev/mcp"
    headers = { "X-API-KEY" = "YOUR_SUBBLY_API_KEY" }

Check it worked. Run grok mcp list or grok mcp doctor subbly, or type /mcps in a session. Then ask Grok to list your published products.

Why connect Grok Build to Subbly

  • Your store from xAI's coding agent

    Grok Build runs in your terminal, so you can check orders or add a plan without switching windows.

  • Picks up your other setups

    Already set Subbly up in Claude Code or Cursor? Grok Build reads those configs too.

  • Check it with one command

    grok mcp doctor tests the connection and tells you exactly what's wrong if anything is.

Try these with Grok Build

Once Subbly is connected, just describe what you want. Copy one to start, or use it as a starting point.

  1. 01

    Compare the months

    Compare this month's new Subbly subscriptions with last month's, by plan, and tell me which plan grew the most.

  2. 02

    Check the connection

    List my published Subbly products with their prices.

  3. 03

    Understand churn

    Which Subbly subscriptions were cancelled in the last 30 days? Group them by cancellation reason and tell me what stands out.

  4. 04

    Add a plan

    Add a 3-month prepaid plan to my best-selling subscription, priced 10% below three monthly payments. Leave it unpublished so I can review it.

  5. 05

    Run a promotion

    Create a coupon called WELCOME15 for 15% off a customer's first order. Show me the settings before you save it.

  6. 06

    Clear the shipping queue

    Show me every order that is waiting to ship, oldest first, and flag any that have waited more than 3 days.

Grok Build runs the store. Your Subbly agent builds the site.

The MCP server gives Grok Build 130+ tools for every ecommerce need. Each one is a call to Subbly’s API, so what it changes is real, and you see it in your admin straight away.

  • Products and plans

    Create products, variants and plans, then publish when you're ready.

    Four bags of coffee on a barrel

    House blend subscription

    From $24 a month

    • Monthly
    • Every 2 weeks
    • 3 months prepaid, 10% off

    get_productcreate_plan

  • Subscriptions

    Find, cancel or restore them, and change what's in the box.

    • Ava ThompsonMonthlyActive
    • Leo MartinEvery 2 weeksPaused
    • Priya ShahPrepaidActive

    list_subscriptionscancel_subscription

  • Orders and shipping

    Clear the queue, mark shipments and hold orders for later.

    • #1042House blend, 2 bagsShipped
    • #1043Gift boxShipped
    • #1044Decaf, 1 bagShip

    list_ordersship_order

  • Coupons and customers

    Create offers, and look up customers, payments and invoices.

    WELCOME15

    15% off a first order

    15%off

    create_couponget_customer

  • Bundles and stock

    Build-a-box bundles, collections and inventory across groups.

    An outdoor kit: a backpack, a flask, a first aid pouch and trail snacks

    Trail box, pick 438 in stock

    create_bundle_itemupdate_inventory_item

See every tool in the developer docs

Built by Subbly

Describe your store. Your Subbly agent builds it.

Your website, checkout and customer portal are designed and built by your Subbly agent, around your brand. Site editing through MCP is coming soon, so the agent you already use will be able to change your pages too.

See what it builds

Not through MCP yet

Coming soon
  • Design or edit your website (your Subbly agent does that, and site editing through MCP is coming soon)
  • Set up funnels, automations, dunning or the referral program
  • Read analytics reports (it can pull the raw orders and subscriptions to work them out)

You set those up in your Subbly admin.

Frequently asked questions

Where do I find my Subbly API key for Grok Build?

In your Subbly admin, open Settings, then API keys (https://www.subbly.co/admin/settings/api-keys). In the Private API keys card, choose Generate API key and copy it. Only the store owner and admins can create keys, and Subbly asks for two-factor authentication first. Give Grok Build its own key, so you can delete it without breaking anything else.

I already set Subbly up in Claude Code or Cursor. Do I need to add it again?

Usually not. Grok Build also reads the MCP servers in ~/.claude.json, .cursor/mcp.json and .mcp.json, so Subbly shows up there too. Run grok mcp list to check.

What's the difference between Grok Build and Grok Bot?

Grok Build is xAI's coding agent for your terminal. Grok Bot is a cloud agent from Cursor and xAI that works on its own computer and is set up by sending it a message. Both can connect to Subbly.

Does this work on grok.com or in the Grok app?

grok.com's custom connectors haven't been confirmed with an API key yet. Use Grok Build or Grok Bot, which connect today.

Is it safe to give Grok Build my Subbly API key?

The key can read and change everything in your store, so treat it like a password and keep it out of files you share or commit. Grok Build asks before running a tool unless you allow it, and Subbly's tools tell the agent to confirm with you before archiving or deleting anything. If a key leaks, delete it under Settings, API keys, and it stops working straight away.

Can Grok Build build my website through Subbly's MCP server?

Not yet. The MCP server runs your store: products, plans, subscriptions, orders, customers and coupons. Your website is built by your Subbly agent: describe it in Subbly and it designs and builds the store, checkout included. Site editing through MCP is coming soon, so Grok Build will be able to change your pages too. Until then, Grok Build can build a custom storefront in code that checks out with the SubblyCart.js widget.

Which Subbly plans work with Grok Build?

Every plan includes the MCP server, with usage limits that depend on your plan.

Give your agent a store worth running

Your Subbly agent builds a store that looks like your brand. Your own agent runs it. No plugins, no developers, no lock-in.

Start for free

3 days free, then $1/wk for 2 weeksNo card needed