AgentAEO MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "AGENTAEO_API_KEY=${AGENTAEO_API_KEY}" agentaeo -- npx -y @agentaeo/mcp-server
Required:AGENTAEO_API_KEY+ 3 optional
README.md

Run AEO (Answer Engine Optimization) audits across AI search engines.

@agentaeo/mcp-server

MCP (Model Context Protocol) server for AgentAEO — run AEO (Answer Engine Optimization) audits across ChatGPT, Perplexity, Claude, and Google AI.

Source: `agentaeo/agentaeo-mcp-server` on GitHub (local folder name: agentaeo-mcp-server).

Installation

npm install -g @agentaeo/mcp-server
# or
npx @agentaeo/mcp-server

Configuration

Set your API key (get one at agentaeo.com/agents):

export AGENTAEO_API_KEY=your_api_key_here

Claude Desktop

Config file on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

After publishing to npm (recommended)

{
  "mcpServers": {
    "agentaeo": {
      "command": "npx",
      "args": ["-y", "@agentaeo/mcp-server"],
      "env": {
        "AGENTAEO_API_KEY": "your_api_key_here"
      }
    }
  }
}

-y skips npx’s “Ok to proceed?” prompt (important for GUI-launched processes).

Local dev (before publish)

Prefer node + dist/index.jsnpx + a local .tgz often breaks in Claude Desktop (npm path bugs, “tarball corrupted”, or Permission denied when the shell mishandles the archive). Avoid .tgz in the MCP config unless you’ve verified it on your machine.

  1. In the repo: npm install and npm run build (must produce dist/index.js).
  2. Use your real AgentAEO key in AGENTAEO_API_KEY (not the literal text your_real_key_here).

Recommended — node + absolute path to dist/index.js:

{
  "mcpServers": {
    "agentaeo": {
      "command": "node",
      "args": ["/Users/aashishn/agents/agentaeo-mcp-server/dist/index.js"],
      "env": {
        "AGENTAEO_API_KEY": "paste_your_agentaeo_live_key_here"
      }
    }
  }
}

If node is not on Claude’s PATH (e.g. only nvm), use the full path to node, e.g. "/Users/aashishn/.nvm/versions/node/v22.16.0/bin/node" as command and the same args for dist/index.js.

Optional — tarball via npx (only if node works from Terminal but you prefer npx): some setups need file: prefix — ask in Terminal first:
npx -y file:/Users/aashishn/agents/agentaeo-mcp-server/agentaeo-mcp-server-0.1.0.tgz — if that fails, stick to node + dist.

After editing the config, fully quit Claude Desktop (Cmd+Q) and reopen. Check Settings → Developer → Local MCP servers for a green status.

Tools

Tool Description
run_aeo_audit Run an AEO audit for a URL (async). Returns auditId in seconds; poll check_aeo_audit_status every 10–15s.
check_aeo_audit_status Poll audit status and retrieve results. Use the auditId from run_aeo_audit.
generate_aeo_content_suite Start Content Suite generation (async). Sends async: trueHTTP 202 + orderId; poll check_aeo_content_suite_status every 15–30s until complete (often 5–25+ min). Same AGENTAEO_API_KEY. Admin testing: adminContentBypass=true + allowlisted key. Production: orderId from aeo_content_orders after payment.
check_aeo_content_suite_status Poll Content Suite job status; use orderId from generate_aeo_content_suite. When status is completed, use download_url (GET with same key).
download_aeo_content_suite_zip After completed, downloads the ZIP with AGENTAEO_API_KEY (same as generate). Saves to cwd or AGENTAEO_MCP_DOWNLOAD_DIR.

Env (optional): AGENTAEO_MCP_INLINE_POLL=1 — long poll inside run_aeo_audit. AGENTAEO_MCP_INLINE_CONTENT_POLL=1 — long poll inside generate_aeo_content_suite (both can exceed Claude Desktop’s ~60s tool limit). AGENTAEO_MCP_DOWNLOAD_DIR — where to save Content Suite ZIPs from download_aeo_content_suite_zip.

Terminal: download-content.mjs — set ORDER_ID (completed content order UUID), AGENTAEO_API_KEY (or read from Claude Desktop config on Mac); optional OUT_FILE.

Why your agent can’t `curl` with `$AGENTAEO_API_KEY`

Sandbox VMs (e.g. Cowork) do not load claude_desktop_config.json and do not inherit your laptop’s shell export. Only processes started with that env (e.g. this MCP server) have the key. Use generate_aeo_content_suite from Claude Desktop with MCP enabled, or paste the key into the sandbox’s own secrets/env if the product supports it.

Example

Ask Claude: "Run a free AEO audit for agentaeo.com with keyword 'AI search visibility'"

Then: "Check the status of that audit" (Claude will use the returned auditId)

Requirements

  • Node.js 18+
  • AgentAEO API key from [agentaeo.com/agents](http

Tools (5)

run_aeo_auditRun an AEO audit for a URL asynchronously.
check_aeo_audit_statusPoll audit status and retrieve results using an auditId.
generate_aeo_content_suiteStart Content Suite generation asynchronously.
check_aeo_content_suite_statusPoll Content Suite job status using an orderId.
download_aeo_content_suite_zipDownload the completed Content Suite ZIP file.

Environment Variables

AGENTAEO_API_KEYrequiredAPI key for AgentAEO services
AGENTAEO_MCP_INLINE_POLLEnable long polling inside run_aeo_audit
AGENTAEO_MCP_INLINE_CONTENT_POLLEnable long polling inside generate_aeo_content_suite
AGENTAEO_MCP_DOWNLOAD_DIRDirectory to save Content Suite ZIP files

Configuration

claude_desktop_config.json
{"mcpServers": {"agentaeo": {"command": "npx", "args": ["-y", "@agentaeo/mcp-server"], "env": {"AGENTAEO_API_KEY": "your_api_key_here"}}}}

Try it

Run a free AEO audit for agentaeo.com with keyword 'AI search visibility'
Check the status of my recent AEO audit
Generate an AEO content suite for my website to improve ranking in AI answers
Check the status of my content suite generation job

Frequently Asked Questions

What are the key features of AgentAEO?

Automated AEO health scores across major AI search engines. Content gap analysis for AI-generated answers. Asynchronous audit and content suite generation workflows. Automated ZIP file downloads for generated content suites.

What can I use AgentAEO for?

Optimizing brand visibility for ChatGPT and Perplexity search results. Identifying content gaps to improve ranking in AI-generated answers. Automating the generation of comprehensive content suites for SEO teams.

How do I install AgentAEO?

Install AgentAEO by running: npm install -g @agentaeo/mcp-server

What MCP clients work with AgentAEO?

AgentAEO works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep AgentAEO docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare