Skip to main content
Time: about five minutes. You need: a storekit login on an account enabled for the AI assistant beta, and Cursor or VS Code (with the GitHub Copilot extension and agent mode). Both editors support remote MCP servers over HTTP with OAuth sign-in. This is the route for a developer or analyst who wants storekit data next to their code or notebooks — for example to check what the API returns while building a webhook consumer.

Add the Server

1

Open the MCP config

Go to Cursor SettingsTools & MCP (older versions: MCP) and choose Add Custom MCP. Cursor opens mcp.json. Use ~/.cursor/mcp.json to make the server available everywhere, or .cursor/mcp.json inside a project.
2

Add storekit

3

Sign in

Save the file. Back in Tools & MCP, the storekit entry shows Needs login; click it.Your browser opens the storekit dashboard. Sign in with your usual storekit email and password if you are not already signed in. You briefly see Connecting your MCP client, please wait… and are then sent back to your assistant.
The assistant is connected to the account of the user who signed in. If you belong to more than one storekit account, it uses your first account. There is no account picker during sign-in.
The entry turns green and lists the storekit tools.

Ask Your First Question

Ask your assistant:
The assistant lists your stores by name, with their timezone and currency. If it does, you are connected. Try a second question — “How many orders did we take yesterday?” — then head to What You Can Ask.
If the assistant says it cannot reach storekit or asks you to sign in again, see Troubleshooting.

Approving Writes

Both editors ask before running a tool unless you have allowed it for the session. Keep that prompt on for the two storekit writes — creating a discount code and creating a payment link — and read the arguments before you continue.

Disconnecting

Remove the storekit entry from mcp.json. In VS Code you can also run MCP: Reset Trust or clear the saved sign-in from the server’s context menu in the Extensions view.