npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agentaeo/mcp-server

v0.1.10

Published

MCP server for AgentAEO — run AEO audits across ChatGPT, Perplexity, Claude, and Google AI

Downloads

357

Readme

@agentaeo/mcp-server

agentaeo-mcp-server MCP server agentaeo-mcp-server 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 key

Keep 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.json
  • Windows: %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-server

Tools

| Tool | Description | |------|-------------| | run_aeo_audit | Start an async AEO audit. Returns auditId immediately. Poll check_aeo_audit_status every 10–15s. | | check_aeo_audit_status | Poll audit status and retrieve results. Free tier: stop when free_preview_ready. Paid: poll until is_complete. | | generate_aeo_content_suite | Start Content Suite generation (async, returns orderId). Requires completed paid audit. Poll every 30s; takes 5–25 min. | | check_aeo_content_suite_status | Poll Content Suite job. When status is completed, download with download_aeo_content_suite_zip. | | download_aeo_content_suite_zip | Download completed Content Suite ZIP to local filesystem. |

Typical flows

Free audit (preview):

run_aeo_audit → check_aeo_audit_status (poll every 10s) → preview report

Full 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_zip

Optional env vars

| Variable | Default | Purpose | |----------|---------|---------| | AGENTAEO_API_KEY | — | Required. Your API key from agentaeo.com/agents | | AGENTAEO_MCP_INLINE_POLL | 0 | Set 1 to poll inside run_aeo_audit (may exceed Claude Desktop's ~60s tool limit) | | AGENTAEO_MCP_INLINE_CONTENT_POLL | 0 | Set 1 to poll inside generate_aeo_content_suite | | AGENTAEO_MCP_DOWNLOAD_DIR | 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-servercommand 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


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 public

License

MIT — AIMetica Solutions LLP