Integration · n8n
Connect n8n to Google Search Console
6 steps · about 6 minutes
By the GSC PAP team · Updated
n8n is a workflow automation tool, and its AI Agent can call Model Context Protocol tools through the MCP Client Tool node. Attach GSC PAP and the agent gets read-only access to your Search Console, Google Analytics 4 and PageSpeed data inside a workflow.
This is the one client on our list that runs without you. Everywhere else you ask a question and read the answer. Here a Schedule Trigger can run the same question every Monday at 08:00, hand the result to the agent, and post the summary to Slack or email it to a client. The weekly SEO report stops depending on you remembering.
One warning before the steps, because it will save you twenty minutes. n8n's MCP Client Tool node started life SSE-only, and HTTP Streamable arrived later and then became the default. GSC PAP speaks HTTP Streamable and does not expose an SSE endpoint at all. So if your n8n only offers you an SSE Endpoint field, your instance is too old for this and the version gotchas below are the ones to read first.
How to connect Google Search Console to n8n
- 1
Sign in to GSC PAP and copy your token
Go to gscpap.com, click "Sign in with Google" and approve the read-only access. Choose which properties to authorize, then copy the bearer token the connect page shows once. For a workflow that reports on one client, mint a token scoped to just that site at app.gscpap.com/account/tokens.
- 2
Create a Bearer Auth credential
In n8n, create a new credential of the Bearer Auth type and paste the token into it. Use the credential rather than typing the token into the node: credentials are stored encrypted and are not exported with the workflow JSON, which matters the first time you share a workflow with somebody.
- 3
Add an AI Agent, then the MCP Client Tool
Build the workflow as usual: a trigger, then an AI Agent node with a chat model attached. Then add the MCP Client Tool node and connect it to the agent's tool input. The MCP Client Tool is a sub-node, so it does not sit in the main flow; it hangs off the agent.
- 4
Point it at GSC PAP
Set the transport to HTTP Streamable and the endpoint to the URL below. For authentication choose Bearer and select the credential from step 2. The node also offers Header, Multiple Headers and OAuth2; Bearer is the right one here, because our OAuth uses dynamic client registration rather than a client id and secret you could paste into a credential.
texthttps://mcp.gscpap.com/mcp - 5
Choose which tools the agent gets
Tools to Include defaults to All, which hands the agent all 36 tools. For a report workflow that is more than it needs and it costs tokens on every run, so switch to Selected and name the handful the prompt actually uses. All Except is there too, if it is easier to exclude a few.
textlist_sites, search_analytics_query, compare_periods, find_quick_wins, find_content_decay - 6
Write the prompt once, then schedule it
Give the agent a specific instruction rather than a vague one, because a scheduled run has nobody to ask a follow-up question. Then swap the manual trigger for a Schedule Trigger and send the output wherever it belongs.
textCall list_sites to find the property for example.com. Then use compare_periods for the last 7 complete days against the prior 7, ending 3 days ago. Then find_quick_wins for the same window, top 5. Write a short report: the click and position change first, then the five queries worth a title rewrite, as a markdown table. No preamble.
n8n MCP Client Tool: common issues
- ·If the node shows only an SSE Endpoint field, it is the older SSE-only shape and it cannot reach GSC PAP, which has no SSE endpoint. Update n8n. HTTP Streamable landed in the MCP Client Tool node later than SSE and then became its default, with SSE marked deprecated.
- ·There have been reports of the transport dropdown being ignored at runtime, with the workaround of setting the transport as an expression, =httpStreamable. If the node insists on SSE despite the dropdown, try that before concluding the server is at fault.
- ·Keep the /mcp path on the URL. https://mcp.gscpap.com without it is not an MCP endpoint.
- ·A GET to our endpoint answers 405 by design, because the server does not offer a server-to-client stream over GET. That is the documented behaviour for a streamable server that does not support it, and a correct client carries on with POST.
- ·n8n also has a standalone MCP Client step node, separate from the MCP Client Tool sub-node. On instances where the Tool variant was stuck on SSE, the step node already had HTTP Streamable, so it is a workable fallback.
- ·GSC PAP is not in n8n's MCP server registry, so the one-click registry shortcut will not list it. Add it as above with a credential.
- ·Scheduled workflows fail silently if nobody watches them. Our rate limits are 60 calls a minute and 1,000 an hour per user, which a weekly report will never reach, but a workflow retrying in a loop can.
Frequently asked questions
Can n8n connect to a remote MCP server?
Yes, through the MCP Client Tool node attached to an AI Agent. It supports HTTP Streamable, which is now its default transport, and authentication by Bearer, Header, Multiple Headers or OAuth2. Older versions offered only SSE.
How do I automate a weekly SEO report in n8n?
Attach the MCP Client Tool node to an AI Agent, point it at a Search Console MCP server, write one prompt that names the tools and the date windows, then replace the manual trigger with a Schedule Trigger. The agent calls the tools on each run and returns the report, which you can send to Slack, email or a database node.
Which authentication should I use for n8n with GSC PAP?
Bearer, with the token in a Bearer Auth credential. The OAuth2 option expects a client id and secret you can paste, and GSC PAP issues clients dynamically instead, so a token is both simpler and the better fit for an unattended workflow.
Should the agent get all 36 tools?
Not in a scheduled workflow. Every tool description is sent to the model on every run, so Tools to Include set to Selected with the five or six the prompt uses keeps each run cheaper and the agent's choices more predictable.
Other integrations
All integrationsClaude Desktop
Connect Claude Desktop to Google Search Console without creating a Google Cloud project. Sign in with Google, paste one config block, restart Claude.
Cursor
Connect Google Search Console to Cursor through a hosted MCP server. Sign in with Google, paste one token into mcp.json, and skip the Google Cloud project.
Claude Code
Add Google Search Console to Claude Code with one claude mcp add command. Hosted and read-only: no Google Cloud project, no OAuth credentials, no Python.
Codex CLI (OpenAI)
Add Google Search Console, GA4 and PageSpeed data to OpenAI's Codex CLI with one TOML block and a bearer token. You never create a Google Cloud project.
VS Code (GitHub Copilot)
Connect Google Search Console to GitHub Copilot in VS Code with one .vscode/mcp.json entry, then ask agent mode about GSC. You skip Google Cloud setup.
Gemini CLI (Google)
Query Google Search Console (GSC) from your terminal with Gemini CLI. Register GSC PAP as an MCP server in settings.json, with no Google Cloud project.
Windsurf (Devin Desktop)
Give Windsurf, now Devin Desktop, your Google Search Console data. Add GSC PAP as a remote MCP server with one bearer token and no Google Cloud project.
Zed Editor
Bring Google Search Console into Zed's AI assistant as an MCP context server. You add one settings.json block and a token, with no Google Cloud setup.
JetBrains IDEs
Connect Google Search Console to IntelliJ, PyCharm, WebStorm and other JetBrains IDEs via AI Assistant's MCP settings, without a Google Cloud project.
Continue (extension)
Continue MCP setup for Google Search Console: add one mcpServers entry with a bearer token in VS Code or JetBrains. You do not need a Google Cloud project.
Claude.ai (browser)
Add Google Search Console to Claude.ai as a custom connector. Paste one URL and approve access. No token to copy, no config file, no Google Cloud project.
Direct HTTP (curl, custom agents)
Call the GSC PAP MCP server from curl or your own agent. It is JSON-RPC over HTTP with a bearer token, so you need no MCP client or Google Cloud project.
opencode
Add Google Search Console to opencode as a remote MCP server. One config block with your token, no Google Cloud project, no local server to run.
Cline
Add Google Search Console to Cline in VS Code or the Cline CLI as a remote MCP server. One token, no Google Cloud project, read-only access.
Warp
Add Google Search Console to Warp's agent as a remote MCP server. Paste one JSON block with your token, press Start, and ask about your traffic in the terminal.
LM Studio
Give a local model your Search Console data. Add GSC PAP to LM Studio's mcp.json as a remote server, with one token and no Google Cloud project.
ChatGPT
Add Google Search Console to ChatGPT as a custom MCP server. What the setup looks like, and the plan requirement that decides whether you can do it at all.
Goose
Add Google Search Console to Goose as a streamable_http extension. One block in config.yaml with your token, no Google Cloud project, read-only access.
Google Antigravity
Add Search Console to Google Antigravity as a custom MCP server. It handles dynamic client registration, so the setup is a URL and a sign-in, with no token.
Roo Code
Add Google Search Console to Roo Code in VS Code as a streamable-http MCP server. One block with your token, no Google Cloud project, read-only.
Kilo Code
Add Google Search Console to Kilo Code as a remote MCP server. It can negotiate OAuth for you, or take a bearer token. No Google Cloud project either way.
Amp
Add Google Search Console to Amp as a remote MCP server, in settings or with one CLI command. No Google Cloud project, read-only scopes.
Kiro
Add Google Search Console to Kiro as a remote MCP server. One entry in mcp.json, the token read from an approved environment variable, read-only access.
Raycast
Add Google Search Console to Raycast AI as an HTTP MCP server. Dynamic OAuth means no token to paste, and HTTP servers work on Raycast for iOS too.
GitHub Copilot CLI
Add Google Search Console to GitHub Copilot CLI with one command or one JSON entry. Remote HTTP transport, your token in a header, read-only access.
LibreChat
Add GSC PAP to librechat.yaml as a streamable-http MCP server, and give every user on your install their own Search Console access rather than a shared one.