seoforagent for codex
SEO tools for Codex
Codex reads and edits your code. Add SEOforAgent to its config and it can pull keyword gaps, live search results and backlink data while it works on your pages, with the dollar cost of every call in the response.
Connect Codex in three steps
Three lines in config.toml. Restart Codex and the tools are there in every session.
Get a key
Open the homepage. A key is created in your browser. Activate it with a plan or one-time credit and it works the second Stripe confirms.
Add SEOforAgent to Codex
Add this block to ~/.codex/config.toml, then restart Codex.
~/.codex/config.toml[mcp_servers.seoforagent] url = "https://seoforagent.com/mcp" http_headers = { Authorization = "Bearer <YOUR_API_KEY>" }Replace
<YOUR_API_KEY>with your key. The homepage fills it in for you.Paste the setup prompt
Setup promptSet up SEOforAgent for me. 1. Connect the MCP server https://seoforagent.com/mcp with my API key as a Bearer token: <YOUR_API_KEY> 2. Call whoami. If the key is not active, show me the activation link and wait. 3. Ask me for my website and create the project. 4. Suggest the three most useful next steps for my site and what each costs.
Codex checks the key, asks for your website, and comes back with three things it can do and what each costs.
Three things to ask Codex
Plain words in, tool calls out. Each answer says what it cost.
Find the keywords our two closest competitors rank for and we do not, then list the five pages we should build first.
Up to $0.038 for 100 rows.
Find the "best X" lists that rank or get cited for our category and draft a pitch for the three worth being on.
$1.10: $0.50 for the hunt, then $0.20 a page for detail and a pitch.
Price a backlink profile check for our domain with dry_run, then run it if it is under 10 cents.
The dry run is free. The check is up to $0.079.
The 35 tools Codex gets
Every tool returns what it found, what it cost and what to do next. Paid tools take dry_run to price a call first.
- Account and wallet
- whoamiwallet_getpricing_getaccount_linkresults_getresults_share
- Search Console
- gsc_connectgsc_performance
- Keywords and search results
- keywords_researchkeywords_metricsserp_resultsserp_competitors
- Backlinks
- backlinks_profilebacklinks_gapbacklinks_suggestbacklinks_buying_getbacklinks_buying_setbacklinks_placementsbacklinks_quotebacklinks_allocate
- Rank tracking
- rank_checkrank_history
- Scheduled tracking
- tracking_gettracking_set
- AI visibility
- ai_visibility_check
Give Codex the data
A key is created in your browser. Plans from $9 a month, or credit once from $10.