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.

  1. Open Leaper in Shopify Admin, then Settings > API tokens.
  2. Name the token, for example Cursor, then Create token.
  3. Copy the secret now. It starts with lp_ and is shown once.
  4. 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.

  1. Create a token as above, or leave the key empty to inspect CSV headers only.
  2. Open Cursor Settings, then MCP.
  3. Add a new global MCP server, or create .cursor/mcp.json in the project.
  4. Paste the JSON below. Replace lp_your_token with the secret, or use an empty string.
  5. 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.

  1. In Claude, add a custom connector.
  2. Set the MCP URL to https://mcp.leaperdata.com/mcp.
  3. Sign in with Shopify when the consent screen opens. One shop per connection.
  4. Revoke the grant in Leaper Settings > API tokens to disconnect.
claude mcp add --transport http leaper https://mcp.leaperdata.com/mcp

ChatGPT

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 csv

Tools

The server name is leaper. Protocol version 2025-03-26. Tools:

ToolWhat it does
leaper_inspect_headersMatch CSV headers to a sheet. No token required on the npx package.
leaper_map_migration_headersMap WooCommerce, Magento, and other headers onto Leaper columns.
leaper_connection_identifyShop bound to this token.
leaper_export_createStart an export. sheetId, format, optional searchQuery, feedId, serverId, or schedule.
leaper_export_get_setupSheet list and column headers.
leaper_export_get_setup_filtersFilter fields for a sheet.
leaper_import_create_from_urlImport from a remote file URL. No passwords.
leaper_import_create_from_csv_dataInline CSV. Cap a few MB; else leaper_import_get_upload_url.
leaper_import_get_upload_urlPresigned PUT for a larger import file.
leaper_import_get_setupColumn map, sheet, dry run on a job.
leaper_import_updateChange the column map or sheet before start.
leaper_import_dry_runStart a ready import without writing to Shopify.
leaper_import_startLive import. confirm must be true after a dry run.
leaper_import_get_external_formatsConverters and the Google Shopping feed.
leaper_job_getOne job by id.
leaper_jobs_listRecent import and export jobs.
leaper_job_cancelCancel a job.
leaper_schedule_jobSchedule a ready import or pending export.
leaper_results_downloadShort-lived signed download path.
leaper_help_searchSearch docs on leaperdata.com.