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.
Source: agentaeo/agentaeo-mcp-server on GitHub (local folder name: agentaeo-mcp-server).
Installation
npm install -g @agentaeo/mcp-server
# or
npx @agentaeo/mcp-serverConfiguration
Set your API key (get one at agentaeo.com/agents):
export AGENTAEO_API_KEY=your_api_key_hereClaude 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 — npx + 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.
In the repo:
npm installandnpm run build(must producedist/index.js).Use your real AgentAEO key in
AGENTAEO_API_KEY(not the literal textyour_real_key_here).
Recommended —
{
"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 an AEO audit for a URL (async). Returns |
| Poll audit status and retrieve results. Use the |
| Start Content Suite generation (async). Sends |
| Poll Content Suite job status; use |
| After |
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 AGENTAEO_API_KEY (or read from Claude Desktop config on Mac); optional ORDER_ID, 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 , 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
Development & publishing
Run all npm commands from the repo root (the folder that contains package.json), e.g.:
cd ~/agents/agentaeo-mcp-server # or your path to agentaeo-mcp-server
npm install
npm run build
npm pack # optional: test tarball before publishPublish (after npm login and scope access for @agentaeo):
npm publish --access publicGitHub vs npm: The GitHub repo can stay private; the npm package @agentaeo/mcp-server is usually public so npx @agentaeo/mcp-server works for everyone. Those are independent settings.
License
MIT