Terminal agent
Command Code + SellApp
Command Code searches the SellApp API reference and checks your store data while it writes code in your terminal.
- Coding agent
- Terminal
Quick start
-
Run the setup command
Run this command, where
cmdis the Command Code executable. On native Windows, usecmdcinstead ofcmd:Terminalcmd mcp add --transport http sellapp https://sell.app/mcpSellApp is then available to you in this project.
-
Start sign-in
Command Code usually opens your browser on its own. If it doesn't, run
/mcpin a Command Code session and choosesellapp, or runcmd mcp auth sellapp. -
Sign in to SellApp
When Command Code opens your browser, sign in to SellApp if asked.
-
Approve access
On the Connect to Sell MCP screen, check that it names Command Code and that Signed in as shows the SellApp account you want, then choose Authorize MCP. Because Command Code runs on your computer, the screen also says SellApp can't confirm its name. That's expected.
-
Try a prompt
Ask Command Code:
List my Sell stores, then find the API operation that lists products and show me one product.
Command Code should list your stores. To check the connection, run
/mcpand check thatsellappshows as connected, with its tools.
Other ways to set it up
Add --scope project to the command. Command Code then writes this to .mcp.json in the project root:
{
"mcpServers": {
"sellapp": {
"transport": "http",
"url": "https://sell.app/mcp"
}
}
}
Or let Command Code set it up
Paste this prompt and it follows our setup guide for you.
Connect me to Sell. Read https://sell.app/docs/api/agent-setup.md and follow the steps for this tool, then list my Sell stores.
Example prompts
Add a command to this project that refunds an order by its ID through the Sell API.
Create a checkout for my Design kit product with the Node SDK.
Write a webhook receiver that verifies Sell signatures and saves each event before it replies.
Which API operation refunds an order, and what does it need?
Search the Sell docs for how pagination works, then list every order in my store.
The code your agent writes calls the SellApp API with an API key, not with this connection. Create a key as shown in Authentication and keep it in an environment variable such as SELLAPP_API_KEY. Sell MCP doesn't accept API keys, and the REST API doesn't accept the MCP sign-in.
What you can do
- Search the SellApp docs and API reference while it writes code that uses the SellApp API and SDKs
- Read your products, orders and customers to check its work against real data
- Change your store, such as products, prices and coupons, when you ask it to
- Answer questions about your sales without leaving your editor or terminal
Most changes show you a preview and wait for your approval. Changes are real; there's no test store. Your role in each store limits what Command Code can do, and you can disconnect it any time under MCP access in your SellApp account.
Tips
- The Sell CLI can also install a ready-made Sell skill for your coding agent.
Troubleshoot
It's valid for five minutes. Start again from Command Code.
Disconnect it under MCP access in your SellApp account and sign out of SellApp in your browser, because connecting again reuses that sign-in. Then connect again from Command Code, sign in with the right account and check the Signed in as email on the consent screen before you authorize.
Start a new session and make sure sellapp is switched on.
Your role in that store doesn't allow the change. Ask the store owner for a role that does.
Use Sell MCP covers more errors.
FAQ
Every store you can open in SellApp, now and later. Your role in each store limits what Command Code can do there.
No. Changes are real, and your role in each store limits what Command Code can do.
Disconnect it under MCP access in your SellApp account.
Most changes show you a preview and wait for your approval. These run straight away:
- Creating a store
- Creating and editing products, including making a product visible on your storefront
- Creating and editing variants and prices
- Creating groups
- Creating and editing storefront sections
- Editing highlights and their media
- Changing how a variant is delivered, including its files and folders
- Editing a course, and adding or editing its sections and lessons