How to Connect Google Search Console to OpenAI Codex
Give Codex CLI read-only access to your Search Console data with GSCout's remote MCP server.
Time: 2 minutesSign-in: personal tokenAccess: read-only
Connector URL
https://gscout.vibiz.app/mcpWant to try first? Use https://gscout.vibiz.app/mcp/demo: no sign-in, sample data.
Steps
- Sign in to GSCout with Google and pick your property.
- On the GSCout Setup page, create a personal token (Codex reads it from an environment variable).
- Export it in your shell: export GSCOUT_TOKEN=gsk_…
- Add the server to ~/.codex/config.toml as shown below, then restart Codex.
- Ask: "Which queries are cannibalized on my site?"
~/.codex/config.toml
[mcp_servers.gscout]
url = "https://gscout.vibiz.app/mcp"
bearer_token_env_var = "GSCOUT_TOKEN"Good to know
- Newer Codex versions can also sign in with OAuth: run codex mcp login gscout.
What to ask Codex first
- Find Striking-Distance Keywords: “Find my striking-distance keywords for the last 28 days and tell me which 3 to work on first.”
- Find Content Decay: “Which pages are decaying? Compare the last 90 days with the 90 before and give me the cause for each.”
- Keyword Cannibalization Check: “Run a keyword cannibalization check and tell me which pages to merge or re-target.”
- Find Out Why Traffic Dropped: “Why did my organic traffic drop this month? Break it down by query and page and separate ranking losses from demand changes.”
- Find Pages With Low CTR: “Find top-10 queries where my CTR is far below normal for the position and suggest new titles.”
- Find New Keywords You Started Ranking For: “What new queries did I start showing up for in the last 28 days? Which deserve their own section or page?”
Troubleshooting
- “No property is connected”: open gscout.vibiz.app/app/properties and pick one; the tool answer says the same.
- Google says the app is unverified: choose Advanced, then Go to GSCout. Access is read-only.
- 401 or “token expired”: remove the connector and add it again; your client will sign in once more.
- Numbers differ from the Search Console chart: query rows exclude anonymized queries, see anonymized queries.
Other clients: Claude, ChatGPT, Cursor, Claude Code, Windsurf, Gemini CLI, Mistral Le Chat, VS Code