OpenAI
Codex + SellApp
Connect SellApp once and Codex can read the SellApp API reference and your store data from the terminal, the ChatGPT desktop app and your IDE.
- Coding agent
- Terminal
- Desktop app
- IDE extension
Quick start
-
Add SellApp to Codex
Run these commands. The second one opens your browser:
Terminalcodex mcp add sellapp --url https://sell.app/mcp codex mcp login sellapp -
Sign in to SellApp
When Codex opens your browser, sign in to SellApp if asked.
-
Approve access
On the Connect to Sell MCP screen, check that it names Codex and that Signed in as shows the SellApp account you want, then choose Authorize MCP. Because Codex runs on your computer, the screen also says SellApp can't confirm its name. That's expected.
-
Try a prompt
Ask Codex:
List my Sell stores, then find the API operation that lists products and show me one product.
Codex should list your stores. To check the connection, run
/mcpin Codex, or in the desktop app's composer, and look forsellapp.
Other ways to set it up
Open Settings, then MCP servers. Choose Add server, enter sellapp as the name, choose Streamable HTTP, enter https://sell.app/mcp, then choose Save, Restart and Authenticate.
Open the gear menu and choose MCP servers, then Add server. Enter sellapp as the name, choose Streamable HTTP, enter https://sell.app/mcp, save it, then choose Restart extension and Authenticate.
Codex saves the server in ~/.codex/config.toml. To use it in one project only, add this to the project's .codex/config.toml instead. Codex reads that file only in trusted projects:
[mcp_servers.sellapp]
url = "https://sell.app/mcp"
The desktop app, Codex CLI and the Codex IDE extension share this configuration, so a server added in one shows up in the others. On a machine without a browser, run codex mcp login sellapp --no-browser; Codex prints the sign-in link instead of opening it.
Or let Codex 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 Sell checkout button to this app and test it with a real product from my store.
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 Codex 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 Codex.
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 Codex, 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 Codex can do there.
No. Changes are real, and your role in each store limits what Codex 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