MCP
Connect Cursor, VS Code, Claude, or ChatGPT to Leaper. Same export and import jobs as the app. OAuth or a staff token from Settings.
Leaper MCP runs the same export and import jobs as the app. A job you start from Cursor or Claude shows up on Jobs.
Install Leaper from the Shopify App Store first. MCP is not a separate App Store listing.
Two ways to connect: Cursor and VS Code run the npm package @leaperdata/mcp-server locally and send a staff token. Claude and ChatGPT call https://mcp.leaperdata.com/mcp over HTTPS and sign in with Shopify. Header inspection on the npm package works with no token.
Create a token
Cursor, VS Code, the CLI, and HTTP Bearer connections need a staff token. Claude and ChatGPT can skip this and use OAuth instead.
- Open Leaper in Shopify Admin, then Settings > API tokens.
- Name the token, for example Cursor, then Create token.
- Copy the secret now. It starts with lp_ and is shown once.
- The token expires in 6 months. Revoke it from the same table to disconnect that client.
- FTP passwords are not accepted on MCP. Use a saved server id from Settings if a tool needs a remote server.
- Live imports require confirm: true after a dry run. leaper_import_start without confirm runs a dry run only.
Cursor
Cursor runs the npm package on your machine. Node.js 20 or later is required so npx can start the server.
- Create a token as above, or leave the key empty to inspect CSV headers only.
- Open Cursor Settings, then MCP.
- Add a new global MCP server, or create .cursor/mcp.json in the project.
- Paste the JSON below. Replace lp_your_token with the secret, or use an empty string.
- Save. Cursor should show leaper as connected. Ask it to inspect a CSV or list jobs.
{
"mcpServers": {
"leaper": {
"command": "npx",
"args": ["-y", "@leaperdata/mcp-server"],
"env": {
"LEAPER_API_KEY": "lp_your_token"
}
}
}
}To use the hosted URL instead of npx, put this in the same mcp.json. You still need a token.
{
"mcpServers": {
"leaper": {
"url": "https://mcp.leaperdata.com/mcp",
"headers": {
"Authorization": "Bearer lp_your_token"
}
}
}
}VS Code
GitHub Copilot MCP in VS Code uses .vscode/mcp.json. The key is servers, not mcpServers.
{
"servers": {
"leaper": {
"command": "npx",
"args": ["-y", "@leaperdata/mcp-server"],
"env": {
"LEAPER_API_KEY": "lp_your_token"
}
}
}
}Claude
Claude connects over HTTPS and uses OAuth. You do not paste the lp_ token into Claude Settings. A pasted token on the Leaper consent screen also works if you already created one.
- In Claude, add a custom connector.
- Set the MCP URL to https://mcp.leaperdata.com/mcp.
- Sign in with Shopify when the consent screen opens. One shop per connection.
- Revoke the grant in Leaper Settings > API tokens to disconnect.
claude mcp add --transport http leaper https://mcp.leaperdata.com/mcpChatGPT
Add a custom MCP connector with URL https://mcp.leaperdata.com/mcp. Sign in with Shopify. Same jobs as the app. One shop per connection.
CLI
npx @leaperdata/mcp-server is the MCP stdio process for Cursor and VS Code. npx leaper is a separate shop CLI. Settings prints a leaper command after you create a token.
npx leaper shop add --shop your-shop.myshopify.com --token TOKEN
npx leaper shop test
npx leaper export create products csvTools
The server name is leaper. Protocol version 2025-03-26. Tools:
| Tool | What it does |
|---|---|
| leaper_inspect_headers | Match CSV headers to a sheet. No token required on the npx package. |
| leaper_map_migration_headers | Map WooCommerce, Magento, and other headers onto Leaper columns. |
| leaper_connection_identify | Shop bound to this token. |
| leaper_export_create | Start an export. sheetId, format, optional searchQuery, feedId, serverId, or schedule. |
| leaper_export_get_setup | Sheet list and column headers. |
| leaper_export_get_setup_filters | Filter fields for a sheet. |
| leaper_import_create_from_url | Import from a remote file URL. No passwords. |
| leaper_import_create_from_csv_data | Inline CSV. Cap a few MB; else leaper_import_get_upload_url. |
| leaper_import_get_upload_url | Presigned PUT for a larger import file. |
| leaper_import_get_setup | Column map, sheet, dry run on a job. |
| leaper_import_update | Change the column map or sheet before start. |
| leaper_import_dry_run | Start a ready import without writing to Shopify. |
| leaper_import_start | Live import. confirm must be true after a dry run. |
| leaper_import_get_external_formats | Converters and the Google Shopping feed. |
| leaper_job_get | One job by id. |
| leaper_jobs_list | Recent import and export jobs. |
| leaper_job_cancel | Cancel a job. |
| leaper_schedule_job | Schedule a ready import or pending export. |
| leaper_results_download | Short-lived signed download path. |
| leaper_help_search | Search docs on leaperdata.com. |
