Developers & AI

Tutorial: Connect Cursor with MCP

Register local and cloud Cursor callbacks, authorize, and run a context → preview loop.

  1. Cursor may use different callbacks for desktop vs Agents/cloud. Register both if you use both.

  2. Step 1: /dashboard/developer → Create app → name it Cursor MCP.

  3. Step 2: Enable presets: Cursor local (http://localhost:8787/callback) and Cursor cloud (https://www.cursor.com/agents/mcp/oauth/callback). Add cursor://anysphere.cursor-mcp/oauth/callback if your install still uses the legacy scheme.

  4. Step 3: Create app → copy Client ID and secret.

  5. Step 4: In Cursor MCP settings, add server https://www.ettajer.com/api/v1/mcp with OAuth (or API key Bearer if your config supports keys-only).

  6. Step 5: Complete authorize in the browser as the merchant. Approve theme scopes without publish.

  7. Step 6: In Cursor chat/agent, confirm Ettajer tools are available. Call get_context, then get_theme_schema.

  8. Step 7: Create or reuse a draft theme, apply a small hero batch, then preview_theme and open the URL.

  9. Step 8: Check Console → Activity for the tool calls. Expand the app and confirm Connected · your store.

  10. Desktop tip: if local OAuth fails, confirm nothing else is bound to port 8787 and that http (not https) is registered for localhost.

Was this article helpful?

Contact support