OptAEO
§ Resources · Guide · MCP Setup

Connect OptAEO to your AI tools.

Connect Claude Desktop, Cursor or VS Code to your OptAEO catalogue. Check product data and scores, run scans and, on Enterprise, apply existing fixes from your AI assistant.

▷ Get a free scan
Reading time · 8 min
Guide · MCP Setup

Overview

Model Context Protocol (MCP) lets an AI assistant use tools from another application. OptAEO's MCP connection gives your assistant access to your catalogue and the actions included in your plan.

Start by finding products that need attention. You can inspect a product, check its AEO scores and run a fresh scan. Enterprise also includes tools for applying existing fixes and running the agent with your saved rules.

Sample prompts once connected

“List five products from my OptAEO catalogue.”
“List my OptAEO products with an AEO score below 85.”
“Show the issues and AEO scores for product [product ID].”
“Re-scan product [product ID] and show the latest result.”

Use an ID returned by the product list in place of [product ID]. The same workflow applies across retail categories, including electronics, pet products, food and beverage, home, fashion and beauty.

Plan tiers

Business · $599/mo
Four catalogue and scan tools:
list_products, get_product, get_scores and scan_product.
Enterprise · $999/mo
All six tools,
adding fix_product and run_agent for applying changes.

A rescan updates product checks in OptAEO and reports whether the AEO score was refreshed. It does not apply fixes to your connected store. Enterprise write tools can change your store. Review the requested action before allowing it in your AI client.

MCP access is included in Business and Enterprise. These are monthly prices; see pricing for annual billing and the full plan comparison.

Before you start

  1. Sign in to an OptAEO account with Business or Enterprise access and a connected store. Import products before checking catalogue results.
  2. Install the AI client you want to connect: Claude Desktop, Cursor or VS Code with access to its AI chat tools.
  3. For the bridge setup below, install the current Node.js LTS release from nodejs.org. Check that both node --version and npx --version work on your computer.
Why a bridge?

The configuration below uses mcp-remote to connect a local AI client to OptAEO's HTTPS endpoint with your MCP key. It runs on your computer through npx. The first run may need to download the package.

Some clients also support remote MCP connections directly. This guide describes the bridge configuration; other connection methods need their own compatibility checks.

Step 1 · Generate your MCP API key

  1. Open Settings → API & Integrations.
  2. Find MCP Endpoint and select + Generate new key.
  3. Add a label that identifies the connection, such as “Claude Desktop - work laptop”, then select Generate key.
  4. Copy the new key while it is displayed. It is shown once and cannot be retrieved later.
  5. If Run test is available, select it. “4 tools available” on Business or “6 tools available” on Enterprise confirms that the endpoint accepts the key and returns your plan's tools. This does not yet confirm the setup in your AI client.

Keep the key private. Put it only in your local client configuration or a password manager. If you lose it, revoke the old key under Active Connections and generate a replacement.

Step 2A · Connect Claude Desktop

  1. Open Claude Desktop's Settings → Developer → Edit Config.
  2. Add the OptAEO entry below. If the file already contains mcpServers, add optaeo inside that object without removing other servers.
  3. Replace PASTE_YOUR_OPTAEO_MCP_KEY_HERE with your key. Keep the Bearer prefix in OPTAEO_AUTH_HEADER.
  4. Save, fully quit Claude Desktop and reopen it. Check that OptAEO's tools appear, then continue to Step 3.
{
  "mcpServers": {
    "optaeo": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://optaeo.ai/api/mcp",
        "--header",
        "Authorization:${OPTAEO_AUTH_HEADER}"
      ],
      "env": {
        "OPTAEO_AUTH_HEADER": "Bearer PASTE_YOUR_OPTAEO_MCP_KEY_HERE"
      }
    }
  }
}

The local configuration file is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Step 2B · Connect Cursor

  1. Open or create ~/.cursor/mcp.json for your personal configuration.
  2. Add the OptAEO entry below, preserving any existing servers.
  3. Replace the key placeholder, save and check that OptAEO is enabled in Cursor's MCP settings. Restart the server or client if the new configuration has not loaded.
  4. Continue to Step 3.
{
  "mcpServers": {
    "optaeo": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://optaeo.ai/api/mcp",
        "--header",
        "Authorization:${OPTAEO_AUTH_HEADER}"
      ],
      "env": {
        "OPTAEO_AUTH_HEADER": "Bearer PASTE_YOUR_OPTAEO_MCP_KEY_HERE"
      }
    }
  }
}

Cursor also supports project configuration in .cursor/mcp.json. Keep a configuration containing your real key out of shared repositories.

Step 2C · Connect VS Code

  1. Open the Command Palette and run MCP: Open User Configuration for a personal setup.
  2. Add the configuration below. This VS Code format uses a servers object; preserve any existing entries.
  3. Replace the key placeholder and save.
  4. Run MCP: List Servers, select optaeo and start or restart it as needed. Review any trust prompt and enable the tools you intend to use in chat.
  5. Continue to Step 3.
{
  "servers": {
    "optaeo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://optaeo.ai/api/mcp",
        "--header",
        "Authorization:${OPTAEO_AUTH_HEADER}"
      ],
      "env": {
        "OPTAEO_AUTH_HEADER": "Bearer PASTE_YOUR_OPTAEO_MCP_KEY_HERE"
      }
    }
  }
}

This format can also be used in .vscode/mcp.json for a workspace. Do not commit a configuration containing your key.

Step 3 · Verify the connection

Open a new chat in your AI client and ask:

List five products from my OptAEO catalogue.

If the client asks to use list_products, review the request. A successful connection returns product data from your OptAEO account. Compare a returned product with the Products page to confirm you are using the intended account.

An empty list does not necessarily mean the connection failed. Check that products have been imported and that your store is connected.

Once the list works, ask:

List my OptAEO products with an AEO score below 85.

This query may return no products if none match. You do not need to apply a fix or run the agent to verify the connection.

For Enterprise actions later, review the product and existing fix in OptAEO before requesting fix_product. Before requesting run_agent, review your saved settings under Settings → Agent Mode. Check the returned status and run history; a response does not always mean all queued work has finished.

Troubleshooting

Tools do not appear. Check the configuration file, confirm the OptAEO server is enabled and inspect the client's MCP error output. Restart the server or fully quit and reopen the client after configuration changes.
npx cannot be found. Check your Node.js installation and whether npx --version works. Relaunch the client after installing Node.js. If your client cannot find it, use the executable's full path in the configuration.
Invalid or revoked API key / HTTP 401. Check that the placeholder has been replaced, the Bearer prefix is present and the key is still active. If necessary, revoke the old key, generate a replacement and update your client configuration.
PLAN_REQUIRED / HTTP 402. The account associated with the key needs Business or Enterprise access. Check your active plan in OptAEO.
An action requires Enterprise. Business includes catalogue and scan tools. Applying fixes through fix_product or running the agent through run_agent requires Enterprise.
The store is disconnected. Follow the reconnect link in the returned message, then retry the tool. This is a connection issue, not necessarily a plan issue.
Rate limit exceeded. Pause requests and retry after the interval in the response. Each key is limited to 60 calls per minute. Reduce automatic retries if the error repeats.
Invalid JSON. Check for missing quotes, brackets or extra commas in your local editor. Do not paste a configuration containing a real key into a public JSON validator.

Security notes

Your MCP key grants access to the connected catalogue and the MCP tools included in your plan. On Enterprise, that includes actions that can write changes to your store.

The examples keep the authorization value in a local env entry. That does not encrypt the key: the configuration still contains it. Keep the file private and remove keys from screenshots, support messages and shared code.

OptAEO stores a hash of the key rather than the original value. To stop a connection, open Settings → API & Integrations → Active Connections, select Revoke for that key and confirm Revoke key. Subsequent authenticated requests using it will be rejected. Revoking one key leaves other active keys intact.

The Last used value records key use, including connection checks. It is not a complete security audit trail.

Frequently asked questions

What is MCP? Model Context Protocol is a standard for connecting AI applications to external tools and data. In OptAEO, it lets your assistant use catalogue, score, scan and eligible fix tools.
Which AI clients does this guide cover? Claude Desktop, Cursor and VS Code. Other MCP clients may use different configuration and authentication methods; compatibility needs to be checked separately.
Can I use this with ChatGPT? ChatGPT supports MCP, but that alone does not confirm a working OptAEO connection. This guide does not provide a verified OptAEO setup for ChatGPT. Use one of the documented client configurations or contact support about your intended setup.
How do I revoke a key? Open Settings → API & Integrations → Active Connections, select Revoke beside the connection and confirm Revoke key. Remove the old key from that client's configuration.
Is there an extra cost? MCP access is included in OptAEO Business and Enterprise. Your AI client may have its own subscription or usage charges. OptAEO's key rate limit is 60 calls per minute.
Can I connect without an AI client? Yes. A developer can send authenticated JSON-RPC requests to https://optaeo.ai/api/mcp using the MCP key. Contact support if you need help with a programmatic integration.
Can I use separate keys for different connections? Yes. Create and label a key for each connection so you can identify and revoke it independently. Separate keys do not create separate user roles or permissions.

For related instructions, see MCP Access in Help, the AEO score guide and product-data quality.

Ready to optimise?

One catalog scan. No credit card. AEO score and the issues we'd fix in under 60 seconds.

▷ Get a free scan