VS CodeSubbly MCP

Run your Subbly store from VS Code

Add Subbly to Copilot's MCP config and the agent in VS Code can manage your products, plans, subscriptions, orders and coupons, and build against your real store data.

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

MCPhttps://mcp.subbly.dev/mcp
pricing.tsx · VS CodeExample

Archive the test products I made last week.

subbly · list_products

Found 3 test products. Archiving can't be undone: shall I go ahead?

Ask VS Code

Set up Subbly’s MCP server in VS Code

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 Subbly to VS Code in one click

Paste your key above, then click. VS Code opens with Subbly filled in and asks you to confirm.

Install in VS CodePaste your key above to turn this on.

Or by hand

Add it to Copilot's MCP config

  1. Get your API key

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

  2. Add Subbly to the config

    This is the file VS Code's MCP: Add Server command writes for every workspace.

    ~/.copilot/mcp-config.json

    json
    {
      "mcpServers": {
        "subbly": {
          "type": "http",
          "url": "https://mcp.subbly.dev/mcp",
          "headers": {
            "X-API-KEY": "YOUR_SUBBLY_API_KEY"
          }
        }
      }
    }
  3. Start the server

    Open the Command Palette, run MCP: List Servers, choose subbly and start it. Then use Copilot Chat in agent mode.

Check it worked. MCP: List Servers shows subbly as running. Then ask Copilot, in agent mode, to list your published products.

Why connect VS Code to Subbly

  • Copilot agent mode, with your store

    GitHub Copilot's agent calls Subbly's tools in VS Code, so it can read and change your store while it works on your code.

  • One click to install

    The Install in VS Code button adds Subbly with your key; VS Code asks you to confirm.

  • In every workspace

    Subbly goes in Copilot's global MCP config, so it's there in each project you open.

Try these with VS Code

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

  1. 01

    Add a product page

    Add a product page to this project that loads my best-selling Subbly product, its plans and photos, with an add to cart button using the SubblyCart.js widget.

  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.

VS Code runs the store. Your Subbly agent builds the site.

The MCP server gives VS Code 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 VS Code?

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 VS Code its own key, so you can delete it without breaking anything else.

Can I still use .vscode/mcp.json?

Yes, it still works, though VS Code now labels it deprecated. Its format uses servers instead of mcpServers, and an inputs entry can ask for your key once and keep it in VS Code's secret store. Servers that read the key that way aren't passed to Copilot's harness sessions.

VS Code doesn't show the Subbly tools. What should I check?

Run MCP: List Servers and start subbly, then check its output for errors. Use Copilot Chat in agent mode, since ask mode doesn't call tools. If your organisation manages Copilot, an admin may need to allow MCP servers.

Is it safe to give VS Code 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. VS Code 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 VS Code 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 VS Code will be able to change your pages too. Until then, VS Code can build a custom storefront in code that checks out with the SubblyCart.js widget.

Which Subbly plans work with VS Code?

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