agentaeo-mcp-server
The @agentaeo/mcp-server enables running Answer Engine Optimization (AEO) audits and generating AI-optimized content suites for websites, measuring and improving visibility across AI-powered search engines like ChatGPT, Perplexity, Claude, and Google AI.
Core capabilities:
Run AEO Audits (
run_aeo_audit): Start an async AEO audit for any URL, with a free tier (8 queries) or paid tier (40 queries), and an optional primary keyword.Check Audit Status (
check_aeo_audit_status): Poll a running audit byauditId— free tier audits stop at a preview, paid audits deliver a full report.Generate AEO Content Suite (
generate_aeo_content_suite): Kick off async generation of a full content bundle (HTML, JSON-LD structured data, andllms.txt) from a completed audit. Supports admin bypass mode for internal QA.Check Content Suite Status (
check_aeo_content_suite_status): Poll content suite generation progress byorderIduntil completed or failed (typically 5–25+ minutes).Download Content Suite ZIP (
download_aeo_content_suite_zip): Download the completed content suite as a ZIP file to a specified directory or the current working directory.
Allows running and monitoring Answer Engine Optimization (AEO) audits and generating optimized content suites to analyze and improve content visibility within Google AI.
Allows running and monitoring Answer Engine Optimization (AEO) audits and generating optimized content suites to analyze and improve content visibility within Perplexity's AI search results.
@agentaeo/mcp-server
MCP (Model Context Protocol) server for AgentAEO — run AEO (Answer Engine Optimization) audits across ChatGPT, Perplexity, Claude, and Google AI.
Quick Start (30 seconds)
Step 1 — Get your API key at agentaeo.com/agents
Step 2 — Add to your MCP host config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"agentaeo": {
"command": "npx",
"args": ["-y", "@agentaeo/mcp-server"],
"env": {
"AGENTAEO_API_KEY": "your_key_here"
}
}
}
}Step 3 — Ask your agent:
Run a free AEO audit for example.com with keyword "AI search visibility"How the API Key Works with AI Agents
The agent never visits agentaeo.com to get a key. You (the operator) get the key once and set it in your MCP host config. Every AI agent that runs through that host inherits the key silently from the environment — the agent never sees it in chat, never handles it directly.
You (one time)
├─ 1. Get API key from agentaeo.com/agents
├─ 2. Set AGENTAEO_API_KEY in MCP host config
│
MCP Host (Claude Desktop / Cursor)
├─ 3. Starts MCP server process with env var injected
│
@agentaeo/mcp-server
├─ 4. Reads AGENTAEO_API_KEY from environment
├─ 5. Exposes 5 tools to the agent
│
AI Agent
└─ 6. Calls tools by name — never sees or touches the keyKeep your key private. Never commit it to git or paste it in chat.
Configure Your MCP Host
Claude Desktop
Config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"agentaeo": {
"command": "npx",
"args": ["-y", "@agentaeo/mcp-server"],
"env": {
"AGENTAEO_API_KEY": "your_key_here"
}
}
}
}Fully quit Claude Desktop (Cmd+Q) and reopen after editing. Check Settings → Developer → Local MCP servers for a green status.
Cursor IDE
Global (~/.cursor/mcp.json):
{
"mcpServers": {
"agentaeo": {
"command": "npx",
"args": ["-y", "@agentaeo/mcp-server"],
"env": {
"AGENTAEO_API_KEY": "your_key_here"
}
}
}
}Project-only (.cursor/mcp.json in repo root) — same format; takes effect for that project only.
Glama Inspector
In Glama's hosted MCP inspector, set the AGENTAEO_API_KEY environment variable in your instance's Secrets / Environment settings before connecting. Without it, any tool that calls the AgentAEO API will return an auth error.
Global install + env var
npm install -g @agentaeo/mcp-server
export AGENTAEO_API_KEY=your_key_here
agentaeo-mcp-serverTools
Tool | Description |
| Start an async AEO audit. Returns |
| Poll audit status and retrieve results. Free tier: stop when |
| Start Content Suite generation (async, returns |
| Poll Content Suite job. When |
| Download completed Content Suite ZIP to local filesystem. |
Typical flows
Free audit (preview):
run_aeo_audit → check_aeo_audit_status (poll every 10s) → preview reportFull audit + content suite (paid):
run_aeo_audit → check_aeo_audit_status (poll until is_complete)
→ generate_aeo_content_suite → check_aeo_content_suite_status (poll every 30s)
→ download_aeo_content_suite_zipOptional env vars
Variable | Default | Purpose |
| — | Required. Your API key from agentaeo.com/agents |
|
| Set |
|
| Set |
| cwd | Directory for downloaded Content Suite ZIPs |
Resources
The server exposes one static resource at agentaeo://workflow — a Markdown guide covering the recommended tool sequence (audit → poll → content suite → poll → download). Read it with any MCP client that supports resources.
Troubleshooting
AGENTAEO_API_KEY is required but not set
The env var is missing. Add it to your MCP host config's env block (see Configure above). Re-run run_aeo_audit after.
npx @agentaeo/mcp-server → command not found
Add --yes flag: npx --yes @agentaeo/mcp-server. Or install globally: npm install -g @agentaeo/mcp-server.
Audit stuck in processing for 10+ minutes
Call check_aeo_audit_status with the auditId. If status is failed, start a new audit. Free preview is usually 3–5 min; full paid report 15–20 min.
Claude Desktop shows MCP server as disconnected
Fully quit (Cmd+Q on Mac, not just close window) and reopen. Check Settings → Developer → Local MCP servers.
nvm / node not found
Replace "command": "npx" with the full path: "/Users/yourname/.nvm/versions/node/v22.x.x/bin/npx".
Requirements
Node.js 18+
AgentAEO API key from agentaeo.com/agents
Development
git clone https://github.com/agentaeo/agentaeo-mcp-server
cd agentaeo-mcp-server
npm install
npm run build # produces dist/index.js
node dist/index.js # test locally (set AGENTAEO_API_KEY first)Publish (requires npm login and @agentaeo org access):
npm publish --access publicLicense
MIT — AIMetica Solutions LLP
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentaeo/agentaeo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server