Skip to content
Ask Sparkie

SparkLayer MCP

Steps for

How it works

MCP (Model Context Protocol) is the open standard AI apps use to connect to other services. The SparkLayer MCP is SparkLayer's MCP server. Once you connect an AI app to it, the app can use SparkLayer from its own chat, on the stores you allowed.

How a connected AI app makes a change

Ask

Describe what you want in Claude, ChatGPT or another AI app
(this flows forward)

Read

It reads your store data through the SparkLayer MCP
(this flows forward)

Confirm

It shows you what it will change and waits for your answer
(this flows forward)

Change

It makes the change on the store and environment you allowed

The server address is:

SparkLayer MCP server
https://mcp.sparklayer.io/mcp

What a connected app can do

AreaIt can readIt can change
Price listsPrice lists, their rules and SKU pricesCreate and edit price lists, set and remove SKU prices, delete price lists
DiscountsDiscounts, with their rewards, rules and scheduleCreate, edit, copy, reorder and delete discounts
Customer groupsCustomer groups and their settingsCreate, edit and delete customer groups
CustomersB2B customers and sales reps, with their roles, groups, price lists and addressesGive a B2B customer a role. Create, edit and delete sales rep roles
CompaniesCompanies, company admins and sectionsCreate, edit and delete companies and sections. Add B2B customers to sections and change their role there
OrdersOrders, quotes and cartsNothing
Products and stockProducts, variants and stock levelsNothing
CheckoutQuote statuses, shipping methods and country regionsCreate and edit quote statuses. Create, edit and delete shipping methods
Store settingsStore settings, your plan, team members and API key namesNothing
ThemesEmail and PDF themes and their template filesCreate, rename and publish themes. Delete themes and template files

A connected app can't change store settings, products, stock, orders or B2B customers' details. Make those changes in the SparkLayer Dashboard. It never sees an API key's client secret. Some areas need a paid plan: see Plans and limits.

How changes stay safe

  • The app asks first. SparkLayer tells the app to show you what it will change and to wait for you to confirm. Check the details it shows, such as prices and customer groups, before you say yes.
  • Keep your app's approvals on. SparkLayer can't see your chat, so it can't check what the app showed you. Most AI apps can ask before they use a tool that changes data. Leave that on for SparkLayer.
  • Start on test. Connect with Test to try things without changing what buyers see.
  • There's no undo. To reverse a change, ask the app to change it back, or edit it in the SparkLayer Dashboard. A deleted discount, shipping method or customer role can't be restored.
  • Some changes are refused. For example, the app can't delete your published theme, a shipping method a discount uses, or a customer group that has B2B customers in it.

Your data

A connected app sends what it reads to its AI provider, such as Anthropic or OpenAI, under that provider's terms. That can include B2B customers' names and email addresses, order details and your team members' names. Only connect apps your business allows to handle this data.

B2B customer, company, order, product and theme details can contain text that other people wrote. SparkLayer tells the app never to follow instructions it finds in them.

Connect an AI app

You need a SparkLayer account on the store's team. The app works with your access, on the stores you choose.

  1. Add the SparkLayer MCP to your AI app with the server address. The tabs below show how for each app.
  2. The app opens SparkLayer in your browser. Sign in if SparkLayer asks you to.
  3. Choose the stores the app can access. SparkLayer lists them as teams on this page.
  4. For each store, choose Live or Test. See Choose live or test data.
  5. Check what the app will be able to do, then click Allow.
  6. Go back to the app and ask a question, such as "Which price lists do I have?"

On the Free, Pro and Max plans, you add SparkLayer yourself. The Free plan allows 1 custom connector.

  1. In Claude, go to Settings,Customize,Connectors.

  2. Click Add, then Add custom connector.

  3. Enter SparkLayer as the name. Then enter the server address as the MCP server URL:

    SparkLayer MCP server
    https://mcp.sparklayer.io/mcp
  4. Click Continue. Claude checks the server and selects Sign in now and Register automatically. Leave them selected.

  5. Click Add, then Connect. Claude opens SparkLayer for you to allow access.

On the Team and Enterprise plans, an Owner adds SparkLayer for everyone in Organization settings,Connectors: click Add, then Custom, then Web. Each member then goes to Settings,Customize,Connectors, finds SparkLayer with the Custom label, and clicks Connect.

To use SparkLayer in a chat, click +, then Connectors, and turn it on. Once added, it also works in Claude Desktop and the Claude mobile app.

More detail
  • If you have one team, SparkLayer shows it instead of a list.
  • If SparkLayer shows SparkLayer doesn't recognize and the app's name, check that you started the connection from an app you trust. Only allow access if you do.

Choose live or test data

Each store you allow works on one environment:

EnvironmentWhat it means
LiveYour live store. Changes are what buyers see the next time a page loads.
TestYour test store. Buyers on your live store don't see the changes. Use it to try a change first.

SparkLayer chooses Live to start with, or Test if the store has no live environment. One app can't use live and test data of the same store at once. To switch, connect again from the app and choose the other one. For more about test stores, see Test mode.

Ask your connected app

Ask in your own words, and name price lists, customer groups and SKUs as they are in SparkLayer. For example:

  • "Which of my customer groups don't have a minimum order?"
  • "Compare my Trade and Key Accounts price lists and tell me which SKUs differ."
  • "Here's our ERP price export. Set these SKU prices on the Trade price list."
  • "List my latest quotes and who they're for."
  • "Create a 10% discount for the Distributors customer group."

You can give it long jobs, such as setting hundreds of SKU prices from a spreadsheet.

See and disconnect connected apps

  1. Go to Account menu,Connections (opens in your SparkLayer Dashboard in a new tab).
  2. Connected apps lists each app you connected and the stores it can access.
  3. To remove an app, click Disconnect, then click Disconnect again to confirm.

The app loses access straight away. Changes it made stay in place. To use it again, connect it again from the app.

More detail
  • Each person manages their own connections. You only see the apps you connected.
  • To change an app's stores, or switch between live and test, connect it again from the app. Your new choice replaces the old one.
  • Changing or resetting your password disconnects every app.
  • If you don't use an app for a month, it has to sign in again.

Plans and limits

FeaturePlan
Discounts, shipping methods and sales rep rolesStarter and above
Some discount types and settingsGrowth or Pro
Themes, and API keys in store settingsPro and above

If your plan doesn't include a feature, the app tells you which plan it needs. An app can make 60 requests a minute to SparkLayer.

For developers

Building an integration? Connect the SparkLayer MCP to your coding assistant alongside the docs MCP server. The docs server tells it how the APIs work, and the SparkLayer MCP shows it your real price lists, customer groups and SKUs, so it maps your data correctly. The ready-made prompts already ask assistants to use it when it's connected.

The SparkLayer MCP uses streamable HTTP and OAuth 2.1 with dynamic client registration and PKCE. Every tool works on one store and its environment, so an app calls list-sites first. It has these tools:

AreaReadChange
Storeslist-sites
Price listsget-price-lists, get-pricessave-price-list, set-prices, delete-price-list, delete-price-list-prices
Discountsget-discountssave-discount, delete-discount
Customer groupsget-customer-groupssave-customer-group, delete-customer-group
Customersget-customers, get-customer-rolessave-customer-role, set-customer-role, delete-customer-role
Companiesget-companiessave-company, save-company-section, set-company-section-user, delete-company, delete-company-section-data
Ordersget-purchases
Products and stockget-products, get-stock
Checkoutget-checkout-settingssave-quote-status, save-shipping-method, delete-shipping-method
Store settingsget-site-settings
Themesget-themes, get-theme-filessave-theme, delete-theme, delete-theme-file

set-prices takes up to 1,000 SKU and price list pairs a call.

FAQs

Troubleshooting

If these steps don't fix it, see Get help.

Get help

Email support@sparklayer.io, or click the message icon in the SparkLayer Dashboard (opens in a new tab). Tell us which AI app you use and what it showed you. See Contact support for when we reply.

To report a security vulnerability, email the same address with "URGENT - Security" in the subject. See our security.txt (opens in a new tab) and incident management policy (opens in a new tab).

Was this page helpful?

Last updated