# Cursor

> Storekit in Cursor or VS Code - a short JSON config, and your ordering data sits next to your code.

Canonical: https://storekit.com/integrations/cursor

|  |  |
| --- | --- |
| Category | AI agents |
| Status | beta |
| Plans | Starter, Grow, Pro, Enterprise |
| Setup time | ~5 minutes |

For the developer or analyst who wants Storekit data beside their code or notebooks. Both Cursor and VS Code speak to remote MCP servers over HTTP, so this is a few lines of JSON and a sign-in.

## What it does

- Sales, order counts and average order value for any period up to 90 days
- Individual orders and their full history, refunds, bills, snoozes and menus
- Two writes, each one asking you first: create a discount code, create a payment link

## Setup

In Cursor, go to Settings, Tools & MCP, and add a custom server with the URL `https://mcp.storekit.com/mcp`. Click the entry when it says Needs login and sign in with your Storekit login. In VS Code, run MCP: Add Server from the command palette with the same URL.

The AI agent connection is in beta. [Request access](https://t09czsyu90l.typeform.com/to/G6rIJWNv) and we will enable it on your account.

## Use cases

- Check what the API returns while building a webhook consumer
- Sales and orders inside the editor
- Works in VS Code with GitHub Copilot too

## Related

- [Setup guide in the help centre](https://storekit.com/docs/guides/ai/connect/cursor-vscode)
- [Cursor website](https://cursor.com/)
- [Webhooks & API](https://storekit.com/integrations/webhooks-api)
- [Zapier](https://storekit.com/integrations/zapier)
- [Toast](https://storekit.com/integrations/toast)
- [Klaviyo](https://storekit.com/integrations/klaviyo)
