Integration · Cursor
Add GSC PAP to Cursor
5 steps · about 5 minutes
Cursor is an AI-native code editor that uses Claude (and other models) for in-IDE help. As of late 2024 it added Model Context Protocol support, which lets external tools - like your Search Console data - appear inside Cursor's chat panel and agent mode.
Once configured, you can ask Cursor things like "compare my top queries this week vs, last week" or "find pages where impressions dropped 20% in the last 30 days" - directly inside the editor where you write the code that powers those pages.
This guide assumes you have Cursor installed and are signed in. If not, grab it at cursor.com.
Steps
- 1
Sign in to GSC PAP
Visit gscpap.com and click "Sign in with Google." Grant the read-only Search Console scope. The connect page shows your one-time bearer token - copy it. You will paste it into the Cursor config in step 3.
- 2
Open Cursor's MCP config file
Cursor stores MCP server config in a single JSON file under your home directory. Open it in Cursor itself or any text editor. Create the file if it does not exist.
shell# macOS, Linux ~/.cursor/mcp.json # Windows %USERPROFILE%\.cursor\mcp.json - 3
Add the GSC PAP server
Paste the block below. Replace YOUR_TOKEN with the bearer from step 1. If the file already has other servers, just add the gsc-pap key inside mcpServers.
json{ "mcpServers": { "gsc-pap": { "url": "https://mcp.gscpap.com/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN" } } } } - 4
Reload Cursor's MCP servers
Open Cursor settings (Cmd+, on macOS, Ctrl+, on Windows). Search for "MCP" - you will see the list of configured servers. Click the refresh icon next to gsc-pap. After a few seconds you should see a green "connected" indicator and the list of 18 available tools (list_sites, search_analytics_query, find_quick_wins, and the rest).
- 5
Use it in chat or agent mode
Open Cursor's chat (Cmd+L). Type @ and pick gsc-pap to scope a question to your Search Console data, then ask: "What are my top queries by clicks this week?" Cursor calls the appropriate tool, gets your real GSC data back, and writes the answer inline. In agent mode (Cmd+I) the same tools are available without the @ prefix.
Common gotchas
- ·Cursor caches the MCP server list aggressively. If you change the config and the server does not show updated tools, fully quit Cursor (Cmd+Q) instead of using window close.
- ·If you see "Bearer token rejected," your token may have been revoked or the account deleted. Mint a fresh one from /account/tokens.
- ·Agent mode in Cursor sometimes ignores MCP tools when the conversation is long. Start a new chat if your queries stop reaching gsc-pap.
- ·Cursor on Windows occasionally writes the config file with BOM. If you get JSON parse errors, open the file and re-save as UTF-8 without BOM.
Other integrations
All integrationsClaude Desktop
Wire your Google Search Console to Claude Desktop in five minutes. Step-by-step instructions for macOS and Windows, with the exact JSON config to paste.
Claude Code
Two-line CLI setup for Claude Code, Anthropic's terminal-based agent. User-scope means it works in every project automatically.
Codex CLI (OpenAI)
Connect Google Search Console, GA4, and PageSpeed Insights to OpenAI's Codex CLI in three minutes. Bearer-token auth via env var, works in both the CLI and the Codex IDE extension.
VS Code (GitHub Copilot)
Wire your Google Search Console + GA4 + PageSpeed data into VS Code's GitHub Copilot agent mode in five minutes. Native MCP support since VS Code 1.101.
Gemini CLI (Google)
Connect Search Console, GA4, and PageSpeed data to Google's Gemini CLI agent. Streamable HTTP MCP support, bearer-token auth, works inside Gemini's 1M-token context window.
Windsurf IDE
Plug Search Console, GA4, and PageSpeed data into Windsurf's Cascade agent in five minutes. Bearer-token auth, works with both local and remote agent runs.
Zed Editor
Wire Search Console, GA4, and PageSpeed Insights into Zed's AI assistant. Native MCP context-server support via settings.json.
JetBrains IDEs
Wire Search Console, GA4, and PageSpeed into IntelliJ, PyCharm, WebStorm, GoLand, any JetBrains IDE 2025.2 or newer. Native MCP support via the AI Assistant settings.
Continue (extension)
Continue is a popular open-source AI coding assistant with VS Code and JetBrains extensions. Add GSC PAP as an MCP server in three minutes via its config.json.
Claude.ai (browser)
Connect Search Console, GA4, and PageSpeed to Claude.ai in your browser through the Connectors panel. OAuth flow, no token to copy, no config file to edit. Works for free and paid Claude plans.
Direct HTTP (curl, custom agents)
GSC PAP speaks Streamable HTTP MCP. Any client that can POST JSON-RPC over HTTP with a bearer Authorization header can use it, curl, Python scripts, custom LangChain agents, even shell aliases.