Integration · VS Code (GitHub Copilot)
Add GSC PAP to VS Code with GitHub Copilot
5 steps · about 5 minutes
VS Code 1.101+ ships with first-party MCP support inside GitHub Copilot's agent mode. You configure servers in a workspace-scoped `.vscode/mcp.json` (committed to git, shared across the team) or in your user settings (private to you).
This guide uses the workspace approach so any teammate who clones the repo gets the same MCP setup automatically.
Steps
- 1
Verify your VS Code version
Open VS Code → Help → About. You need 1.101 or newer. Earlier versions can use community MCP extensions but the native flow needs 1.101+.
- 2
Enable GitHub Copilot agent mode
Open the Copilot sidebar. Switch to Agent mode. If you don't see the option, ensure your GitHub Copilot subscription is active and your VS Code is signed in.
- 3
Sign in to GSC PAP and copy your token
Visit gscpap.com → Sign in with Google → grant Search Console + GA4 scopes → copy the one-time bearer token from the connect page.
- 4
Create .vscode/mcp.json in your workspace root
Add a `gsc-pap` server entry. The `inputs` block makes VS Code prompt you securely for the token on first use; the typed-in value is stored in the OS keychain, never on disk.
json{ "servers": { "gsc-pap": { "type": "http", "url": "https://mcp.gscpap.com/mcp", "headers": { "Authorization": "Bearer ${input:gsc_pap_token}" } } }, "inputs": [ { "type": "promptString", "id": "gsc_pap_token", "description": "GSC PAP bearer token (from app.gscpap.com/account/tokens)", "password": true } ] } - 5
Reload VS Code and test in agent mode
Cmd/Ctrl + Shift + P → "Developer: Reload Window". Open the Copilot agent panel and ask: "What sites are in my Search Console?" VS Code prompts for the token (one-time), then calls list_sites and returns your verified properties.
Common gotchas
- ·If `.vscode/mcp.json` is in version control and you don't want teammates to be prompted, mark them as `"password": false` and bind to a shared input. Otherwise each teammate enters their own token (recommended).
- ·VS Code caches the MCP tool list per session. After editing mcp.json, fully reload the window, incremental hot-reload doesn't pick up new servers.
- ·If headers can't be edited inline (older Copilot builds), upgrade to the latest VS Code stable. Pre-1.101 the headers field was rejected.
- ·Agent mode is required, chat mode (without agent) cannot call MCP tools yet.
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.
Cursor
Use Search Console data inside Cursor's AI chat. Five-step setup, single JSON config, works in any project.
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.
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.