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
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
list_products, get_product, get_scores and scan_product.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
- Sign in to an OptAEO account with Business or Enterprise access and a connected store. Import products before checking catalogue results.
- Install the AI client you want to connect: Claude Desktop, Cursor or VS Code with access to its AI chat tools.
- For the bridge setup below, install the current Node.js LTS release from nodejs.org. Check that both
node --versionandnpx --versionwork on your computer.
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
- Open Settings → API & Integrations.
- Find MCP Endpoint and select + Generate new key.
- Add a label that identifies the connection, such as “Claude Desktop - work laptop”, then select Generate key.
- Copy the new key while it is displayed. It is shown once and cannot be retrieved later.
- 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
- Open Claude Desktop's Settings → Developer → Edit Config.
- Add the OptAEO entry below. If the file already contains
mcpServers, addoptaeoinside that object without removing other servers. - Replace
PASTE_YOUR_OPTAEO_MCP_KEY_HEREwith your key. Keep theBearerprefix inOPTAEO_AUTH_HEADER. - 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
- Open or create
~/.cursor/mcp.jsonfor your personal configuration. - Add the OptAEO entry below, preserving any existing servers.
- 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.
- 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
- Open the Command Palette and run MCP: Open User Configuration for a personal setup.
- Add the configuration below. This VS Code format uses a
serversobject; preserve any existing entries. - Replace the key placeholder and save.
- 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.
- 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
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.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.fix_product or running the agent through run_agent requires Enterprise.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
https://optaeo.ai/api/mcp using the MCP key. Contact support if you need help with a programmatic integration.For related instructions, see MCP Access in Help, the AEO score guide and product-data quality.