Add RankSpot to Codex
Two commands. Codex can then read your rankings and AI citations, write the article, and change the page in your repo in the same session.
- codex mcp add, then codex mcp login
- The CLI and the IDE extension share the same config
- Anything that publishes or sends waits for your approval
Connect Codex to RankSpot
Codex is OpenAI's coding agent for the terminal, the IDE and the cloud.
The Codex CLI or IDE extension, signed in with your ChatGPT account or an OpenAI API key.
https://mcp.rankspot.aiEvery route below connects to this one link. Sign in with OAuth where the agent supports it, or use an API key.
Add the server
Run this in your terminal.
Terminalcodex mcp add rankspot --url https://mcp.rankspot.aiSign in
This opens the RankSpot sign-in in your browser.
Terminalcodex mcp login rankspotAsk
Start Codex and ask. Type /mcp to check rankspot is connected.
Or use an API key in config.toml
For codex exec in scripts or CI. Create a key in RankSpot under Settings, API Keys.
Add this to ~/.codex/config.toml
Each key is scoped to one workspace.
~/.codex/config.toml[mcp_servers.rankspot] url = "https://mcp.rankspot.ai" http_headers = { "Authorization" = "Bearer YOUR_RANKSPOT_API_KEY" }
Need an API key? Create one in RankSpot under Settings, API Keys. Each key reaches one workspace.
What to ask once it is connected
Paste one of these into Codex. It calls the RankSpot tools and shows you the result.
Which questions does ChatGPT name my competition on but not me? Show the sources each answer cites.
Which of my keywords dropped this week, and which page lost the ranking?
Write an article for my biggest keyword gap and show me the draft before you publish it.
Reach out to everyone ranking for my top 20 prompts for relevant linking opportunities.
What RankSpot gives Codex
The same data and actions as the RankSpot app, as tools the agent can call.
AI citations
Which questions ChatGPT, Gemini, Claude and Perplexity name you on, who they name instead, and the sources they cite.
Rank tracking
Your Google positions by keyword and page, what moved this week, and Search Console clicks and impressions.
Content
Writes articles for the gaps it finds and publishes to WordPress, Webflow or Shopify once you approve.
Backlinks and outreach
Finds the sites linking to competitors and not you, finds the contact, and drafts the email for you to send.
If it does not work
- codex mcp login says the server is unknown: run codex mcp add first, with the same name.
- The IDE extension does not see it: restart the editor. It reads ~/.codex/config.toml at start.
Questions
Is there a RankSpot skill for Codex too?
Yes. npx skills add RankSpotAI/seo --skill rankspot installs it, and it calls the RankSpot API with your key. See the Codex SEO page.
Does RankSpot cost anything to connect?
No. The account is free and comes with one free article and $1 of credit. After that you pay for what the agent runs: $3 an article, $0.004 an AI visibility check, $0.15 a keyword update. Top-ups start at $10 and nothing renews.
Can the agent publish or send without me?
No. The agent can read and draft on its own, but anything that publishes an article or sends an email waits for your approval.
Is my data safe?
Yes. The agent only reaches the RankSpot workspace you sign in to or the one your API key is scoped to. You can delete an API key in RankSpot settings at any time, and it stops working straight away.
Other agents
Connect Codex in a few minutes.
Make a free RankSpot account, add the link, and ask your first question.