All agents

Open source

OpenCode + SellApp

OpenCode searches the SellApp API reference and checks your store data while it writes code, with whichever model provider you choose.

  • Coding agent
  • Terminal
  • Open source

Quick start

  1. Add the server

    Run this command in your project root:

    Terminal
    opencode mcp add sellapp --url https://sell.app/mcp

    It writes the server to opencode.json.

  2. Start sign-in

    Run this command:

    Terminal
    opencode mcp auth sellapp
  3. Sign in to SellApp

    When OpenCode opens your browser, sign in to SellApp if asked.

  4. Approve access

    On the Connect to Sell MCP screen, check that it names OpenCode and that Signed in as shows the SellApp account you want, then choose Authorize MCP. Because OpenCode runs on your computer, the screen also says SellApp can't confirm its name. That's expected.

  5. Try a prompt

    Ask OpenCode:

    List my Sell stores, then find the API operation that lists products and show me one product.

    OpenCode should list your stores. To check the connection, run opencode mcp list and look for sellapp as connected.

Other ways to set it up

Or let OpenCode 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

Write a Python script that totals revenue per product for the last 30 days with 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 OpenCode 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

Use Sell MCP covers more errors.

FAQ

Other agents