Developer Documentation

Developer Documentation

Integrate EasyAEO into your workflow with MCP, REST API, and API Keys.

Overview

EasyAEO provides a Model Context Protocol (MCP) HTTP Server and REST API, enabling AI agents like Claude Code and Cursor to programmatically diagnose, patch, verify, and report on your site's AI search readiness.

Quick Start

  1. Sign up and log in to EasyAEO
  2. Create an API Key (Dashboard → Settings → API Keys)
  3. Store your key securely (shown only once at creation)
  4. Connect Claude Code or Cursor using the MCP configuration below
Go to API Keys

Authentication

All API requests require a Bearer token. Use your API Key (format: eaeo_sk_xxxxxxxx) in the Authorization header.

Authorization: Bearer eaeo_sk_xxxxxxxx

MCP Integration

Claude Code CLI

claude mcp add --transport http easyaeo https://api.easyaeo.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"

Cursor MCP

Add to your Cursor MCP settings (JSON):

{
  "mcpServers": {
    "easyaeo": {
      "url": "https://api.easyaeo.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}

Available Tools

ToolDescription
aeo.scan_urlScan a deployed URL. Returns scanId, status, siteId.
aeo.get_scanQuery scan status by scanId. Returns reportId when done.
aeo.get_reportGet full report JSON (topBlockers, findings, fixes).
aeo.get_fix_bundleGet fix code bundle (head_bundle / nextjs_app_router / split).
aeo.propose_patchesGenerate unified diff patches for Next.js or generic HTML.
aeo.verifyVerify specific ruleIds after applying fixes. Returns deltaScore.
aeo.analyze_htmlOffline HTML lint (for localhost/preview, no SSRF).

Typical Workflow

  1. aeo.scan_url({ url, pages: 1 }) → scanId
  2. Poll aeo.get_scan({ scanId }) until status === 'done'
  3. aeo.get_report({ reportId }) → full report
  4. Apply fixes, then aeo.verify({ url, ruleIds }) to confirm

REST API

POST /api/api-keysCreate a new API key (returns plain key once)
GET /api/api-keysList your API keys (no plain text)
DELETE /api/api-keys/[id]Revoke an API key
GET /api/usageGet monthly usage (scans, tool calls)

Rate Limits & Quotas

PlanScans/monthCalls/min
Free3/month20/min
Starter30/month100/min
Pro200/month500/min

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables or secure storage
  • Rotate keys immediately if exposed
  • Revoke unused keys from Dashboard