Connect the geoaeo MCP server to Cursor. Audit a site and generate GEO and AEO artifacts from Cursor Chat and 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 --helpCursor starts geoaeo-mcp for you. You do not run it by hand.
Cursor reads MCP servers from .cursor/mcp.json (project scope) or ~/.cursor/mcp.json (global scope). Use mcpServers with command and args.
Create .cursor/mcp.json in the repo root:
{
"mcpServers": {
"geoaeo": {
"command": "npx",
"args": ["-y", "geoaeo-mcp"]
}
}
}Steps:
.cursor/mcp.json.geoaeo shows as connected with 3 tools.For global install, use the same block in ~/.cursor/mcp.json.
audit, gen, humanize appear.If the server shows as error, see Troubleshooting.
Prompt Cursor:
Audit the local site at ./ with geoaeo. Return the score and the top 3 fixes.
What the agent does:
audit with {"target": "./"}. For a live site, use {"target": "https://example.com"}.score, checks[], topFixes[], pages[].Equivalent CLI:
npx geoaeo audit ./ --json
npx geoaeo audit https://example.com --jsonRead topFixes to decide which artifact to generate next.
This uses gen, which reads geoaeo.config.ts from the current directory.
npx geoaeo init ./
cat geoaeo.config.tsUse geoaeo gen to create robots.txt for this site. Show the content and write it to public/robots.txt.
What the agent does:
gen with {"artifact": "robots"}.public/robots.txt on confirmation.Other artifacts:
{"artifact": "llms"}{"artifact": "llms-full"}{"artifact": "sitemap"}{"artifact": "webmcp"}{"artifact": "jsonld", "type": "software"} — type may be software, product, faq, or breadcrumbEquivalent CLI:
npx geoaeo gen llms
npx geoaeo gen robots -o ./public/robots.txt
npx geoaeo gen jsonld --type productThe humanize tool is also available: {"glob": "content/**/*.md", "write": false}.
MCP shows Failed to connect or ENOENT npx. Check Node is on PATH inside Cursor. Run node --version in Cursor's terminal. On macOS, ensure Cursor was launched after Node was installed. Try absolute command: "/opt/homebrew/bin/npx" or where which npx points.
Config not picked up. Confirm the file is .cursor/mcp.json (note the dot). Run cat .cursor/mcp.json | jq . to validate JSON. Reload the window.
audit returns low score or empty pages. Audit the repo root that contains geoaeo.config.ts. Cursor's working directory is the workspace root, so use {"target": "./"}.
gen returns config error. Run npx geoaeo init ./ to create geoaeo.config.ts. Then retry.
Server starts then exits. Run npx -y geoaeo-mcp in a terminal. It should wait on stdin. If it exits, update to Node 20+ and reinstall geoaeo.
geoaeo. Bins: geoaeo, geoaeo-mcp.audit takes target (string). gen takes artifact enum and optional type. humanize takes glob and optional write (boolean).