Connect the geoaeo MCP server to Muse. Audit a site and generate GEO and AEO artifacts from the agent.
geoaeo and geoaeo-mcpaudit, init, gen, humanize, mcp. No other commands exist.npx geoaeo-mcp over stdioaudit, gen, humanize# one-off
npx geoaeo audit ./ --json
# or add to the project
npm install -D geoaeo
npx geoaeo --help
# verify the MCP binary
npx geoaeo-mcp --helpYou do not run geoaeo-mcp by hand when Codex manages it.
Codex reads MCP servers from ~/.codex/config.toml. Add a mcp_servers.geoaeo entry. Codex uses TOML for this file, not JSON.
Copy this block into ~/.codex/config.toml:
[mcp_servers.geoaeo]
command = "npx"
args = ["-y", "geoaeo-mcp"]If your Codex build reads JSON config, the equivalent JSON is:
{
"mcp_servers": {
"geoaeo": {
"command": "npx",
"args": ["-y", "geoaeo-mcp"]
}
}
}Apply the change and restart Codex:
mkdir -p ~/.codex
cat ~/.codex/config.toml
codex --helpStart a new Codex session and confirm the server loads. Run codex mcp list if your build supports it, or check the startup log for geoaeo: connected.
codex.audit, gen, and humanize appear under geoaeo.If no tools appear, see Troubleshooting.
Prompt the agent:
Use geoaeo audit on https://example.com and summarize the score and the top 3 fixes. If that URL is not reachable, audit ./ instead.
What the agent does:
audit with {"target": "https://example.com"} or {"target": "./"}.score, checks[], topFixes[].Equivalent CLI:
npx geoaeo audit https://example.com --json
npx geoaeo audit ./ --jsonUse topFixes to choose the next gen call.
This uses gen, which reads geoaeo.config.ts in the current working directory.
npx geoaeo init ./
cat geoaeo.config.tsUse geoaeo gen to create the sitemap for this site. Then write it to public/sitemap.xml.
What the agent does:
gen with {"artifact": "sitemap"}.public/sitemap.xml (or shows it for review).Other artifacts:
{"artifact": "llms"}{"artifact": "llms-full"}{"artifact": "robots"}{"artifact": "webmcp"}{"artifact": "jsonld", "type": "software"} — type may be software, product, faq, or breadcrumbEquivalent CLI:
npx geoaeo gen llms
npx geoaeo gen sitemap -o ./public/sitemap.xml
npx geoaeo gen jsonld --type faqThe humanize tool is also available: {"glob": "content/**/*.md", "write": false}.
Config file not loaded. Confirm the path is ~/.codex/config.toml. Run ls -la ~/.codex/config.toml and cat ~/.codex/config.toml. Ensure the header is exactly [mcp_servers.geoaeo]. Restart Codex.
npx fails or hangs. Run npx -y geoaeo-mcp manually. It should wait on stdin. Press Ctrl+C. If it fails, update Node to 20+ and check npm registry access.
audit returns Cannot find target. Use an absolute path or a full https URL. For local dirs, run from the repo root so ./ resolves correctly.
gen returns Cannot find config. Run npx geoaeo init ./ in the project root.
Tools appear but calls time out. Check that stdio is not blocked by a wrapper script. Use the exact command npx with args ["-y", "geoaeo-mcp"].
geoaeo. Bins: geoaeo, geoaeo-mcp.audit takes target (string). gen takes artifact enum and optional type enum. humanize takes glob (string) and optional write (boolean).