An SEO MCP server is a tool that connects to your AI coding environment and lets you run SEO checks and apply fixes without leaving your editor.
RankBrain AI is one MCP server that works with seven AI coding tools. Every tool gets its own tab in the dashboard with a paste-once setup prompt; your key is already filled in. Pick your tool from the list below and paste the prompt into your project chat. Each SEO fix is shown as a before and after and applied only after you approve.
Which SEO MCP server do you need
There are three kinds of SEO MCP server, each built for a different job.
- Data API servers pull keyword volumes, backlink counts, and other research data. All output goes to chat.
- Search Console servers read your impressions, clicks, and positions from Google Search Console and return them in chat.
- Fix-and-audit servers read the live site, check titles, descriptions, schema markup, link text, and AI crawler access, then give the exact replacement for each issue and apply it to the project file after you approve. RankBrain AI is this kind.
Pick by the job. If you need keyword research, connect a data API server. If you need to audit and fix the site, connect a fix-and-audit server. Many people connect one of each and use both in the same chat session.
How the SEO MCP setup works
The process is the same for every tool. Sign up for RankBrain AI, then open the dashboard. Choose the tab for your tool. Copy the setup prompt. Your key is already in it.
Open your project in the coding tool, start a new chat, and paste the prompt. The AI writes the MCP config file, the AGENTS.md block, and any tool-specific rule files so every new chat in that project connects to the server automatically. Restart the tool and confirm the server shows as connected with tools.
The plan is free for 3 days, then $5.00 a month. Start your free trial.
Claude Code: paste once and restart
The setup prompt writes an entry in ~/.claude.json. The entry runs npx -y mcp-remote https://rankbrain.app/api/mcp --header "Authorization: Bearer YOUR_KEY". Paste the prompt in a Claude Code chat in your project, let it write the files, then restart Claude Code MCP and confirm the maitreya-labs-seo-mcp server is connected. Claude Code MCP documentation
For the full step-by-step walkthrough, see the SEO MCP for Claude Code guide.
Cursor: paste once and reload
The setup prompt writes .cursor/mcp.json with the server URL and your key in the headers, and a .cursor/rules file with alwaysApply. Paste the prompt in a Cursor chat in your project, let the AI write the files, then reload the window or run MCP: Restart servers and confirm the server is connected. Cursor MCP documentation
For the full walkthrough, see the Cursor SEO MCP guide.
Codex: environment variable and launcher
The setup prompt does four things on Windows. It sets the user environment variable MCPAPP_TWO_API_KEY to your key. It saves a .cmd launcher in an mcp-launchers folder in your user profile; the launcher calls npx -y mcp-remote and reads the key from that variable. It merges a [mcp_servers.maitreya-labs-seo-mcp] entry into ~/.codex/config.toml with the env var, a startup timeout of 60 seconds and a tool timeout of 120 seconds. It adds the AGENTS.md block to your project. Fully quit and restart Codex, then check the tool list to confirm the server is connected.
For Codex users, Codex SEO covers the environment variable setup and audit steps.
Windsurf: merged config file
The setup prompt merges an entry for maitreya-labs-seo-mcp into ~/.codeium/windsurf/mcp_config.json. The entry contains the server URL https://rankbrain.app/api/mcp and your key in the Authorization header. The prompt also adds the AGENTS.md block to your project so every new Windsurf chat in the project connects to the server. Paste the prompt in a Windsurf chat in your project, let the AI write the files, then restart Windsurf and confirm the server shows as connected.
Cline: merged VS Code config
The setup prompt merges an entry for maitreya-labs-seo-mcp into cline_mcp_settings.json. The entry runs npx -y mcp-remote https://rankbrain.app/api/mcp --header "Authorization: Bearer YOUR_KEY". The prompt also adds the AGENTS.md block to your project so the server is active in every new chat. Paste the prompt in Cline's chat in your project, let the AI write the files, then restart VS Code and confirm the server is connected.
Kiro: remote MCP settings
The setup prompt merges an entry for maitreya-labs-seo-mcp into Kiro's remote MCP settings. The entry uses the server URL https://rankbrain.app/api/mcp and your key in the Authorization header, the same format as Windsurf. The prompt also adds the AGENTS.md block to your project so every new Kiro chat connects to the server automatically. Paste the prompt in a Kiro chat in your project, let the AI write the files, then restart Kiro and confirm the server shows as connected.
Grok: stdio transport and rules file
Grok's plain HTTP URL transport skips the Authorization header, so the setup prompt uses stdio mcp-remote instead. The prompt edits ~/.grok/config.toml, adding a [mcp_servers.maitreya-labs-seo-mcp] block with command = "npx", the mcp-remote arguments, enabled = true, a startup timeout of 60 seconds and a tool timeout of 120 seconds. It clears the server from disabled_mcp_servers, writes .mcp.json and a .grok/rules file. Quit and reopen Grok once, then refresh /mcps and check that RankBrain AI shows as ready.
Where each tool keeps the config
Five prompts to run after connecting
Paste these into your project chat once the server is connected.
- "Audit the SEO of https://example.com and list the fixes." Runs a site audit and lists SEO fixes.
- "Rewrite the title and meta description of my pricing page and show before and after." Shows a rewritten title and description, before and after.
- "Add Organization schema to my home page and show the diff." Adds schema to the home page and shows the diff.
- "Check whether GPTBot and ClaudeBot can read my site." Checks whether AI crawlers can read the site.
- "Fix the link text on my blog index." Proposes replacements for the blog index link text.
How RankBrain AI applies changes
RankBrain AI shows every proposed change as a before and after. Each change waits for your approval before it is written. Each fix is a plain file edit — a title tag rewritten, a schema block added, or a link text updated. Approvals happen one fix at a time; each fix needs its own confirmation before the AI writes it to your project files.
After the AI writes a fix, run git diff to see the full change in your repository. Run git revert to undo it.
Troubleshooting
- Restart the tool after the config is written; the server shows up only after a full restart.
- Check that the server shows as connected with tools before sending a prompt.
- In Grok, open
~/.grok/config.tomland confirm the server is absent fromdisabled_mcp_servers. - In Codex, confirm the
MCPAPP_TWO_API_KEYuser environment variable exists before restarting.
What this guide does not cover
These steps come from the RankBrain AI dashboard setup prompts and were not checked against each tool's own current documentation on 2026-11-20. Each tool's menus and settings can change. For tools beyond those listed, the Universal tab in the dashboard detects the tool and generates a setup prompt for it.
For more context on AI SEO audits, see free AI SEO audit tools and the comparison of SEO MCP vs SEO SaaS. Run a check on your site now with the AI SEO checker, or see pricing for the full plan.
RankBrain AI does not guarantee rankings.