Set up Role SEO MCP
Role SEO MCP hands compatible AI clients the whole toolkit: keyword research, SERPs, local business research, competitive intelligence, domain research, backlinks, saved keywords, rank tracking, shared project context, and Google Search Console performance.
Hosted MCP endpoint
https://app.role-seo.com/mcp
The first connection walks you through the Role SEO login. Once you've approved it, your MCP client can call Role SEO tools with the project context and account scopes you granted. For headless environments and CI, connect with an API key instead. For the freshest setup UI, open AI & MCP in the Role SEO app.
Claude Code
Use user scope to make Role SEO available across projects, or local scope for the current repository.
claude mcp add --transport http --scope user role-seo https://app.role-seo.com/mcpOnce the server is added, approve the Role SEO login when prompted.
Claude Desktop
- Open Customise, then Connectors.
- Hit Add (or +), and pick Add custom connector.
- Paste
https://app.role-seo.com/mcp. - Approve the Role SEO login when it prompts you.
Custom connectors are on the Free, Pro, Max, Team and Enterprise plans. Free plans get one custom connector.
Cursor
- Open Cursor Settings, then Tools & Integrations, then MCP Tools.
- Hit New MCP Server. Cursor opens
mcp.json. - Add the block below.
- Approve the Role SEO login when it prompts you.
{
"mcpServers": {
"role-seo": {
"url": "https://app.role-seo.com/mcp"
}
}
}Codex CLI
Run this in your terminal:
codex mcp add role-seo --url https://app.role-seo.com/mcpApprove the login when it prompts you.
Codex Desktop
- Open Settings, then Integrations & MCP.
- Hit Add your own.
- Paste
https://app.role-seo.com/mcp. - Approve the Role SEO login when it prompts you.
Connect with an API key
Use an API key for headless environments, CI, or any client where OAuth is a pain. API keys are personal. Anything an agent does with your key acts as you inside your workspace.
In the Role SEO app, open Settings → API keys, create a key, and copy it while it's showing. It won't be shown again.
For Claude Code:
claude mcp add --transport http --scope user role-seo https://app.role-seo.com/mcp --header "Authorization: Bearer oseo_YOUR_KEY"For Cursor, add headers to the server entry in mcp.json:
{
"mcpServers": {
"role-seo": {
"url": "https://app.role-seo.com/mcp",
"headers": {
"Authorization": "Bearer oseo_YOUR_KEY"
}
}
}
}For Codex CLI:
export ROLE_SEO_API_KEY=oseo_YOUR_KEY
codex mcp add role-seo --url https://app.role-seo.com/mcp --bearer-token-env-var ROLE_SEO_API_KEYAny other client that supports custom HTTP headers can send Authorization: Bearer oseo_YOUR_KEY or x-api-key: oseo_YOUR_KEY.
Available tools
Role SEO MCP exposes tools for SEO research workflows:
- Research keywords with volume, difficulty and CPC.
- Pull live Google organic SERP results for keywords.
- Find exact keyword, page, rank, volume, CPC, intent and traffic rows for a domain or page.
- Compare SERP competitors across a supplied keyword set.
- Search local businesses near a coordinate, filtering by rating, review count or claimed status.
- Pull one Maps or Local Finder SERP, and read Google Business Q&A when needed.
- Audit a Google Business Profile: categories, rating, hours, photos and claim status.
- Gather Google reviews (including reviews from other sites) and Google Business posts.
- Look up valid Google Business category slugs.
- Check Google Maps rank at each point of a grid around a business.
- Hydrate keywords with search volume, difficulty, intent, CPC and trends.
- List saved keywords from a Role SEO project.
- Save useful keywords back to Role SEO.
- Read rank tracker configs and the latest keyword positions.
- Summarise a domain's organic footprint.
- Find keywords a domain already ranks for.
- Check backlink and referring-domain overview data.
- Read first-party Google Search Console performance (clicks, impressions, CTR, position).
- Inspect index status, crawl and canonical for specific URLs (up to 10 per call).
- Read and update a project's shared context, free of credits.
What to do after setup
Ask your agent a focused SEO question rather than “do SEO” in general. A few starters:
- “Set up my project context: my business, my goal, my main competitors, and my three most important pages.”
- “Which keywords am I ranking between 8 and 15 for that could push to page one with a light on-page tweak?”
- “Show me the top ten organic pages for competitor.com and the keywords that earn each one.”
- “Cluster these fifty keywords into topical groups I can turn into pages.”
- “Find backlink opportunities for our new pillar page.”
Troubleshooting
- If your client can't connect, check the server URL is exactly
https://app.role-seo.com/mcp. - If Codex reports
Authorization server response missing required issuer, upgrade Codex CLI or the Codex desktop app to 0.147.0 or later. Codex 0.143 through 0.146 drop the issuer from the OAuth callback. You can also connect with an API key instead of OAuth. - If authorisation fails, disconnect the Role SEO server in your client, add it back, and run the login flow again.
- If your agent can't find a project, ask it to list Role SEO projects first and use the returned project ID in later tool calls.
Need a hand?
If the setup steps aren't clicking or your client is doing something odd, drop us a line and we'll help you get it wired.