AI SEO Magic Button
One command from zero to a whole-site AEO/GEO audit. Point the AI SEO Magic Button at your domain and it crawls your site, scores every page with the AutomateLab ai-seo and citation-intelligence engines, and hands you a prioritized plan.json your agent can execute - no manual triage, no dashboard-hopping, no API keys required for the core flow.
npx -y ai-seo-magic-button mcp
What it does
Point it at a domain and it crawls every page, runs the full AEO/GEO audit, and produces a plan.json where every item carries a baked agent action and an acceptance check. Fixes are ranked by estimated score lift - not by category - and cross-page gaps (missing sitemap, no llms.txt, schema absent sitewide) surface as single items. You go from domain name to executable AI SEO plan in one command.
The magic button is analyze-and-propose only. It never edits your site directly. Apply and verify are separate steps you run deliberately, so the plan stays portable and the decision to ship stays with you.
What makes it different
A plan, not a report
Every output item carries a baked tool call and an acceptance check. Your agent reads the plan and executes it - no interpretation, no copy-pasting from a PDF.
Whole-site AEO audit in one shot
It crawls every page, not just the one you paste in. Cross-page gaps - missing sitemap, no llms.txt, schema absent everywhere - surface as single plan items ranked by total lift.
No API keys for the core flow
The audit-to-plan path works on any public URL without credentials. Citation data is optional - add Perplexity or ChatGPT keys when you want it, skip them when you don't.
Skill, plugin, and MCP in one package
Three install paths, one npm package. Drop the skill file into .claude/skills/, install via /plugin, or wire the MCP server into any JSON config. Same core, same plan format.
Tool and command surface
One shared core library, four thin surfaces. The MCP server exposes one tool; the CLI adds three execution commands on top of the same audit engine.
| Tool / Command | Surface | What it does |
|---|---|---|
generate_seo_plan |
MCP | Crawls the given domain (up to pages URLs), runs the full AEO/GEO audit, and returns the complete plan.json plus markdown checklist as structured content your agent can act on immediately. |
audit |
CLI | Same audit as the MCP tool, writing plan.json and plan.md to disk. Use this to inspect or version-control the plan before running apply. |
apply |
CLI | Runs the plan's tool-driven items against your site (rewrites, schema, llms.txt, robots) and writes results to magic-button-out/. Each item is idempotent - safe to re-run. |
verify |
CLI | Re-audits the site against the original plan and diffs the scores. Returns a before/after table so you can confirm the lift is real, not estimated. |
sink |
CLI | Pushes plan items into an agency-os Notion board as subtasks. Use this when you want human-in-the-loop approval before your agent applies each fix. |
| /plugin install | Plugin | Installs the magic button as a Claude Code plugin. Loads the skill surface automatically - no SKILL.md copy step, no MCP config block needed. |
Install in 3 steps
-
Pick your install path (requires Node.js 18+)
# Option A: Claude Code plugin (recommended) /plugin install https://github.com/AutomateLab-tech/ai-seo-magic-button# Option B: MCP server in any host npx -y ai-seo-magic-button mcp# Option C: Claude skill only # copy skill/ from the repo into .claude/skills/ai-seo-magic-button/ -
Wire into your MCP host config (skip if you used the plugin install)
{ "mcpServers": { "ai-seo-magic-button": { "command": "npx", "args": ["-y", "ai-seo-magic-button", "mcp"] } } }Paste this block into ~/.claude/claude_code_config.json, Cursor's mcp.json, or your host's equivalent. No environment variables required for the core flow. -
Restart your MCP host. The generate_seo_plan tool appears. Ask your agent: "Run the AI SEO magic button on example.com and show me the top 5 fixes." The plan arrives as structured content - your agent can start executing immediately.
Full reference: the GitHub readme and plan-format.md.
FAQ
What is the AI SEO Magic Button?
How is this different from using the ai-seo MCP directly?
Does the AI SEO Magic Button need API keys to run?
Does it edit my site automatically?
Which agents and editors does the AI SEO Magic Button work with?
What does the AI SEO Magic Button cost?
Want the magic button wired into your publishing workflow?
We use it on automatelab.tech every week - audit on publish, apply overnight, verify before the next editorial cycle. If you want that loop running on your site, we can set it up.
Get in touch