Skip to content
Docs

MCP server documentation.

Connect your coding agent to AiroPages so it can read grouped issues, fetch fix prompts, re-scan the pages it changed and compare before and after.

Overview

AiroPages runs a remote MCP server at https://mcp.airopages.com using the Streamable HTTP transport. Authenticate with an API key in the Authorization: Bearer <KEY> header. Chat apps that can’t send headers (Claude, ChatGPT) use a private connector URL with the key in it instead. A key only reaches the sites on its own account.

Get an API key

  1. Sign in and open API keys in the dashboard.
  2. Create a key. Choose read scope to let the agent read results, or run scope (Pro and Agency) to let it start re-scans.
  3. Copy the key. The dashboard shows ready-made setup snippets with your key filled in.

Claude (claude.ai, desktop and mobile)

No code needed. It takes about a minute.

  1. In API keys, create a key and copy your private connector URL. It looks like https://mcp.airopages.com/k/<KEY>/mcp.
  2. In Claude, open Customize → Connectors.
  3. Click + Add, then Add custom connector.
  4. Name it AiroPages, paste the URL and click Add. No sign-in step: the URL holds your key.
  5. In a new chat, turn on AiroPages from the + (tools) menu and ask “Which pages on my site need the most work?”

Free Claude accounts can add one custom connector. On Team and Enterprise, an owner adds it under Organization settings → Connectors and members connect it.

ChatGPT

Custom MCP apps are available on ChatGPT Business, Enterprise and Edu, and on some personal plans through developer mode.

  1. Copy your private connector URL from API keys, as above.
  2. In ChatGPT, open Settings → Apps (on some accounts it’s called Plugins or Connectors). If there’s no create option, turn on Developer mode under Advanced settings.
  3. Choose Create (or + → Add custom MCP server), name it AiroPages and paste the URL.
  4. Set Authentication to No authentication, tick I understand and want to continue, and create it.
  5. In a new chat, pick AiroPages from the + menu and ask “Summarize my site’s biggest performance issues.”

Treat the connector URL like a password. Revoke the key in the dashboard to switch it off.

Chat apps vs Claude Code

The tools are the same; what the assistant can do with them is not.

  • Claude and ChatGPT (chat): ask about your scores in plain words, get each issue explained with the fix written out, and re-scan a page after you fix it (Pro and Agency). They can’t change your site’s code. Best for owners, marketers and anyone who doesn’t code.
  • Claude Code, Cursor and other coding agents: everything above, plus they work inside your codebase. They find the files behind an issue, make the fix, and re-scan to prove it worked.

Claude Code

Run this once in your terminal, replacing <KEY> with your API key:

Terminal Claude Code
claude mcp add --transport http airopage https://mcp.airopages.com --header "Authorization: Bearer <KEY>"

Then start claude in your project and ask it to list the grouped issues for your site.

Cursor

Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json to use it everywhere:

mcp.json Cursor
{
  "mcpServers": {
    "airopage": {
      "url": "https://mcp.airopages.com",
      "headers": {
        "Authorization": "Bearer <KEY>"
      }
    }
  }
}

Other clients

Any MCP client that supports remote servers over Streamable HTTP with custom headers can connect. Use the server URL https://mcp.airopages.com, the name airopage, and the header Authorization: Bearer <KEY>. Most clients accept the same JSON shape as Cursor.

Tools

ToolPurposeUses URL scans
list_sitesSites on the accountNo
get_site_summaryScores, trends and top issues for a siteNo
list_issuesGrouped issues, filtered by site, device, category or templateNo
get_issueEvidence, resources and affected URLs for one issueNo
get_page_reportLighthouse results for one URL and deviceNo
get_fix_promptThe same output as the "Copy for coding agent" buttonNo
run_auditRe-scan URLs (mobile and desktop). Returns job_id, eta, allowance_left and a hintYes
get_audit_statusProgress, partial results and ETANo
wait_for_auditBlocks up to 5 minutes, then returns statusNo
compare_runsBefore and after diff for a site or URLsNo
check_allowanceRemaining URL scans this monthNo

run_audit returns immediately:

{
  "job_id": "job_8f2k",
  "scans": 6,
  "eta_seconds": 90,
  "status": "queued",
  "allowance_left": 4210,
  "hint": "Call wait_for_audit for jobs under 5 min."
}

Access by plan

PlanMCP access
One-time scanRead-only, for 30 days
StarterRead-only
ProRead + run_audit
AgencyRead + run_audit + multiple keys

Guardrails

  • Each key has a daily scan cap (200 by default).
  • MCP re-scans draw from the same monthly URL scan allowance as the dashboard.
  • Every scan uses PageSpeed Insights settings on each device.
  • Keys are scoped (read or run) and revocable, and only reach your own sites.
  • Rate limit: 60 calls per minute per key.
  • MCP-triggered jobs still send in-app and email notifications.

Example session

You: Fix the top performance issue on example.com and prove it worked.

Agent → list_issues { site: "example.com", device: "mobile", category: "performance" }
Agent → get_fix_prompt { issue_id: "iss_31" }
Agent   edits 2 files in the blog template
Agent → run_audit { urls: ["https://example.com/blog/a", "..."] }
{
  "job_id": "job_8f2k",
  "scans": 6,
  "eta_seconds": 90,
  "status": "queued",
  "allowance_left": 4210,
  "hint": "Call wait_for_audit for jobs under 5 min."
}
Agent → wait_for_audit { job_id: "job_8f2k" }
Agent → compare_runs { job_id: "job_8f2k" }
Agent: LCP fell from 4.1 s to 1.9 s on 6 URLs. Performance 62 → 94.

Troubleshooting

  • 401 Unauthorized: the key is wrong, revoked, or missing the Bearer prefix.
  • 403 Forbidden on run_audit: the key has read scope, or your plan is read-only. Re-scans need Pro or Agency and a run-scoped key.
  • 429 Too Many Requests: the key passed 60 calls per minute or its daily scan cap. Wait, or raise the cap in the dashboard.
  • No URL scans left: call check_allowance. Allowances reset monthly.

Still stuck? Contact us.

See every page’s score. Start with your site.

Enter your site. We count its pages and show the exact price before you pay: once from $5, or monthly from $19.99.

Add multiple links

Up to 500 links. Each one is scanned on mobile and desktop.

See the exact price for your site. Pay once from $5, or subscribe.

Cookie settings

Choose what AiroPages may store on this device. Full cookie list