SparkLayer MCP
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.
Ask
Read
Confirm
Change
The server address is:
https://mcp.sparklayer.io/mcpWhat a connected app can do
| Area | It can read | It can change |
|---|---|---|
| Price lists | Price lists, their rules and SKU prices | Create and edit price lists, set and remove SKU prices, delete price lists |
| Discounts | Discounts, with their rewards, rules and schedule | Create, edit, copy, reorder and delete discounts |
| Customer groups | Customer groups and their settings | Create, edit and delete customer groups |
| Customers | B2B customers and sales reps, with their roles, groups, price lists and addresses | Give a B2B customer a role. Create, edit and delete sales rep roles |
| Companies | Companies, company admins and sections | Create, edit and delete companies and sections. Add B2B customers to sections and change their role there |
| Orders | Orders, quotes and carts | Nothing |
| Products and stock | Products, variants and stock levels | Nothing |
| Checkout | Quote statuses, shipping methods and country regions | Create and edit quote statuses. Create, edit and delete shipping methods |
| Store settings | Store settings, your plan, team members and API key names | Nothing |
| Themes | Email and PDF themes and their template files | Create, 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.
- Add the SparkLayer MCP to your AI app with the server address. The tabs below show how for each app.
- The app opens SparkLayer in your browser. Sign in if SparkLayer asks you to.
- Choose the stores the app can access. SparkLayer lists them as teams on this page.
- For each store, choose Live or Test. See Choose live or test data.
- Check what the app will be able to do, then click Allow.
- 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.
-
In Claude, go to Settings,Customize,Connectors.
-
Click Add, then Add custom connector.
-
Enter SparkLayer as the name. Then enter the server address as the MCP server URL:
SparkLayer MCP server https://mcp.sparklayer.io/mcp -
Click Continue. Claude checks the server and selects Sign in now and Register automatically. Leave them selected.
-
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.
- In ChatGPT, open Plugins (opens in a new tab).
- Click +, then Add custom MCP server.
- Enter a name, such as SparkLayer, and a description.
- Under Connection, enter the server address.
- Set up OAuth sign-in, read the warning, and click I understand and want to continue.
- Click Create as a plugin, then sign in to SparkLayer when ChatGPT asks.
Your ChatGPT plan and workspace settings decide whether you can add a custom MCP server. On a Business or Enterprise workspace, an admin may need to allow it first.
When SparkLayer adds or changes tools, open the server in Plugins (opens in a new tab) and click Refresh.
Run this once:
claude mcp add --transport http sparklayer https://mcp.sparklayer.io/mcpThen run /mcp in Claude Code, choose sparklayer and sign in. Add --scope user to the command to use SparkLayer in every project.
Add the server to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project), then sign in to SparkLayer when Cursor asks:
{
"mcpServers": {
"sparklayer": {
"url": "https://mcp.sparklayer.io/mcp"
}
}
}This works in the Cursor desktop app. Cursor on the web and Cursor Agents can't connect yet.
Add the server to .vscode/mcp.json in your project, start it from the file, then sign in to SparkLayer when VS Code asks:
{
"servers": {
"sparklayer": {
"type": "http",
"url": "https://mcp.sparklayer.io/mcp"
}
}
}Any app that connects to remote MCP servers with OAuth sign-in can use the server address, if it registers itself with SparkLayer. For example, Codex:
[mcp_servers.sparklayer]
url = "https://mcp.sparklayer.io/mcp"Then run codex mcp login sparklayer. Gemini CLI takes the server in settings.json:
{
"mcpServers": {
"sparklayer": {
"httpUrl": "https://mcp.sparklayer.io/mcp"
}
}
}Then run /mcp auth sparklayer. Apps that need a client ID and secret from SparkLayer can't connect, and the Gemini app can't connect yet.
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:
| Environment | What it means |
|---|---|
| Live | Your live store. Changes are what buyers see the next time a page loads. |
| Test | Your 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
- Go to Account menu,Connections (opens in your SparkLayer Dashboard in a new tab).
- Connected apps lists each app you connected and the stores it can access.
- 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
| Feature | Plan |
|---|---|
| Discounts, shipping methods and sales rep roles | Starter and above |
| Some discount types and settings | Growth or Pro |
| Themes, and API keys in store settings | Pro 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:
| Area | Read | Change |
|---|---|---|
| Stores | list-sites | |
| Price lists | get-price-lists, get-prices | save-price-list, set-prices, delete-price-list, delete-price-list-prices |
| Discounts | get-discounts | save-discount, delete-discount |
| Customer groups | get-customer-groups | save-customer-group, delete-customer-group |
| Customers | get-customers, get-customer-roles | save-customer-role, set-customer-role, delete-customer-role |
| Companies | get-companies | save-company, save-company-section, set-company-section-user, delete-company, delete-company-section-data |
| Orders | get-purchases | |
| Products and stock | get-products, get-stock | |
| Checkout | get-checkout-settings | save-quote-status, save-shipping-method, delete-shipping-method |
| Store settings | get-site-settings | |
| Themes | get-themes, get-theme-files | save-theme, delete-theme, delete-theme-file |
set-prices takes up to 1,000 SKU and price list pairs a call.
FAQs
No. The docs MCP server only searches and reads these docs. The SparkLayer MCP works on your store: it reads your store data and makes the changes you confirm.
Yes, if you allow live data. SparkLayer tells the app to show you each change and wait for you to confirm, but the app makes the call. Connect with Test, and keep your app's approvals on, to stay in control.
Yes. A connected app can read orders, quotes and carts, and B2B customers' details such as names, email addresses and addresses. It can't change orders or B2B customers' details.
No. Every connected app can read and change data on the stores you allow. To limit what it changes, connect it with Test, or block SparkLayer's tools that change data in your AI app's settings.
Apps that connect to remote MCP servers with OAuth sign-in, such as Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex and Gemini CLI. The Gemini app and Cursor Agents can't connect yet.
No. Its changes stay in place. To reverse them, ask the app to change them back before you disconnect it, or edit them in the SparkLayer Dashboard.
Troubleshooting
If these steps don't fix it, see Get help.
Check that the server address in the app is exactly https://mcp.sparklayer.io/mcp. Then connect again from the app, and finish signing in to SparkLayer in the browser window it opens. This also fixes This connection request is not valid, and an app that lost its connection, for example after you changed your password.
Some apps can't connect yet: see Which AI apps can I connect?
You're signed in to SparkLayer with a SparkLayer staff account, and staff accounts can't connect an AI app. Sign out of SparkLayer, sign in with an email that isn't a SparkLayer staff account, then connect again from the app.
You're probably signed in with restricted access. You get it when you open SparkLayer from your Shopify admin or Wix dashboard with an email that isn't on the store's team. An AI app can't connect from restricted access.
Sign out of SparkLayer, then sign in at app.sparklayer.io (opens in a new tab) with an email that's on the store's team, and connect again from the app. If you don't have one, ask the team owner to invite you.
Your store's plan doesn't include that feature. See Plans and limits for the plan each feature needs, and Your plan and usage for your store's plan.
The app can only use the stores you chose when you connected it. It also loses a store when you leave the store's team, or when the store's live or test environment is removed. Connect again from the app and choose every store you want it to use.
An app can make 60 requests a minute to SparkLayer for you. Above that, SparkLayer refuses its requests until the minute is up, and the app may show an error such as 429 or "too many requests".
Wait a minute, then ask the app to carry on from where it stopped. For large price changes, ask it to send up to 1,000 SKU prices at a time.
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).
Last updated