+

Connect Google Search Console to Codex

Codex reads okaytorun from ~/.codex/config.toml and authenticates with a personal access token from an environment variable. Once connected, Codex can read search performance, URL inspection and sitemaps, and stage changes that wait for your approval. About 2 minutes.

⏱ About 2 minutes8 read · 2 write toolsNo developer token

Step by step

  1. Connect Search Console in okaytorun

    Sign in at okaytorun.com, open Connections and connect Search Console on its own sign-in screen. Then choose your Search Console properties. okaytorun only ever touches what you select.

  2. Create a token

    In okaytorun → Settings → AI clients, create a personal access token and export it:

    export OKAYTORUN_TOKEN=adp_pat_...
  3. Add okaytorun to ~/.codex/config.toml

    [mcp_servers.okaytorun]
    url = "https://okaytorun.com/api/mcp/okaytorun"
    bearer_token_env_var = "OKAYTORUN_TOKEN"
  4. Ask your first question

    Try: My impressions are up. Why aren't clicks following? okaytorun reads live data and stages any change for your approval in the Changes panel.

What to ask Codex next

  • My impressions are up. Why aren't clicks following?
  • Which pages lost the most clicks in the last 28 days?
  • Which queries rank on page two and are worth a push?
  • Is this URL indexed? Inspect it.

What Codex can do in Google Search Console

8 read tools and 2 write tools. Writes are staged and only run after you approve them in okaytorun. See every Google Search Console tool.

  • gsc_listProperties

    Search Console properties exposed to okaytorun (domain "sc-domain:" and URL-prefix), with permission level.

    Read
  • gsc_getSearchAnalytics

    Clicks, impressions, CTR and average position for a date range, optionally grouped by query, page, country, device, date or searchAppearance. Up to 25,000 rows. Query rows omit anonymized low-volume queries, so they will not sum to property totals.

    Read
  • gsc_comparePeriods

    Property totals for a period vs the previous period of equal length (clicks, impressions, CTR, position) plus the biggest movers by query or page.

    Read
  • gsc_getTopQueries

    Top queries by clicks or impressions with CTR and position, optionally for one page. Query rows omit anonymized low-volume queries, so they will not sum to property totals.

    Read
  • gsc_getTopPages

    Top pages by clicks or impressions with CTR and position.

    Read
  • gsc_inspectUrl

    Index status of ONE URL (URL Inspection API): coverage, last crawl, Google-selected canonical, mobile usability, rich results. Tight daily quota: inspect specific URLs only, never a full crawl.

    Read
  • gsc_listSitemaps

    Submitted sitemaps with last submitted / downloaded times, warning and error counts, and submitted vs indexed URL counts.

    Read
  • gsc_getSitemap

    Details for one submitted sitemap.

    Read

Questions

Do I need a Google Search Console developer token or API key?

No. You sign in to Google Search Console on its own screen and choose which accounts okaytorun may use. okaytorun never sees your password.

Can Codex change my Google Search Console account on its own?

No. Codex can read data and stage changes, but every change waits for your approval in okaytorun's Changes panel. There is no approve tool for AI clients, and every applied change can be undone on Growth and Plus.

What does it cost?

Every plan starts with a 7-day free trial (card required, not charged until day 8). After that, Basic is $29/mo, Growth $79/mo and Plus $199/mo billed yearly. Tool calls from your own AI client count as operations, which are unlimited on Growth and Plus. See pricing.

Codex says sign-in failed. What now?

Some clients don't support OAuth for remote MCP servers yet. Create a personal access token in okaytorun → Settings → AI clients and add it as Authorization: Bearer adp_pat_….

Your next fix, already drafted.

7-day free trial on every plan. Cancel anytime before day 8.