
Automate SEO Tasks with Google Search Console & AI via MCP Server
Description
Categories
π’ Marketingπ€ AI & Machine Learning
Nodes Used
n8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.httpRequestTooln8n-nodes-base.httpRequestTooln8n-nodes-base.httpRequestTooln8n-nodes-base.httpRequestTooln8n-nodes-base.httpRequestTool@n8n/n8n-nodes-langchain.mcpTrigger
PriceGratuit
Views2
Last Updated2/26/2026
workflow.json
{
"meta": {
"instanceId": "e7ccf4281d5afb175c79c02db95b45f15d5b53862cb6bc357c5e5bc26567f35c"
},
"nodes": [
{
"id": "c2b3ab00-6a9e-4497-bea0-10941757c3aa",
"name": "list sites request",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
144,
304
],
"parameters": {
"url": "https://www.googleapis.com/webmasters/v3/sites",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "559610bc-ad51-4097-a1d1-520f791c5881",
"name": "Get Site Info Request1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
288,
304
],
"parameters": {
"url": "=https://www.googleapis.com/webmasters/v3/sites/{{ encodeURIComponent($json.params.arguments.siteUrl) }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "751b17a1-7065-4618-bcba-6c7d7db35e07",
"name": "Search Analytics Request1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
448,
304
],
"parameters": {
"url": "=https://www.googleapis.com/webmasters/v3/sites/{{ encodeURIComponent($json.params.arguments.siteUrl) }}/searchAnalytics/query",
"method": "POST",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "48689d33-b7d9-4adb-af9b-0234bbf5b2ab",
"name": "Submit Sitemap Request1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
608,
304
],
"parameters": {
"url": "=https://www.googleapis.com/webmasters/v3/sites/{{ encodeURIComponent($json.params.arguments.siteUrl) }}/sitemaps/{{ encodeURIComponent($json.params.arguments.feedpath) }}",
"method": "PUT",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "bb6dd550-5ef9-47d5-8849-b33e938218a7",
"name": "Request Indexing Request1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
768,
304
],
"parameters": {
"url": "https://indexing.googleapis.com/v3/urlNotifications:publish",
"method": "POST",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $json.params.arguments.inspectionUrl }}"
},
{
"name": "type",
"value": "URL_UPDATED"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "bf95461f-3dd5-4932-bdbe-40ed7577f323",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
-96
],
"parameters": {
"width": 608,
"height": 1712,
"content": "# π Google Search Console MCP Server\n\n---\n\n## π Description\n\nThis n8n workflow serves as a **Model Context Protocol (MCP)** server, connecting MCP-compatible AI tools (like Claude) directly to the Google Search Console APIs. With this workflow, users can automate critical SEO tasks and manage Google Search Console data effortlessly via MCP endpoints.\n\n**Included Functionalities:**\n- π **List Verified Sites**\n- π **Retrieve Detailed Site Information**\n- π **Access Search Analytics Data**\n- π **Submit and Manage Sitemaps**\n- π **Request URL Indexing**\n\nOAuth2 is fully supported for secure and seamless API interactions.\n\n---\n\n## π οΈ Setup Instructions\n\n### π Prerequisites\n- **n8n instance** (cloud or self-hosted)\n- Google Cloud project with enabled APIs:\n - Google Search Console API\n - Web Search Indexing API\n- OAuth2 Credentials from Google Cloud\n\n### βοΈ Workflow Setup\n\n**Step 1: Import Workflow**\n- Open n8n, select **\"Import from JSON\"**, and paste this workflow JSON.\n\n**Step 2: Configure OAuth2 Credentials**\n- Navigate to **Settings β Credentials**.\n- Add new credentials (**Google OAuth2 API**):\n - **Client ID** and **Client Secret** from Google Cloud\n - Scopes:\n ```\n https://www.googleapis.com/auth/webmasters.readonly\n https://www.googleapis.com/auth/webmasters\n https://www.googleapis.com/auth/indexing\n ```\n\n**Step 3: Configure Webhooks**\n- Webhook URLs auto-generate in MCP Server Trigger node.\n- Ensure webhooks are publicly accessible via HTTPS.\n\n**Step 4: Testing**\n- Test your endpoints with sample HTTP requests to confirm everything is working correctly.\n\n---\n\n## π― Usage Examples\n\n- **List Sites**: Fetch all verified Search Console sites.\n- **Get Site Info**: Get detailed information about a particular site.\n- **Search Analytics**: Pull metrics such as clicks, impressions, and rankings.\n- **Submit Sitemap**: Automatically submit sitemaps.\n- **Request URL Indexing**: Trigger Google's indexing for specific URLs instantly.\n\n---\n\n## π© Use Cases & Applications\n- SEO automation workflows\n- AI-driven SEO analytics\n- Real-time website performance monitoring\n- Automated sitemap management\n\n"
},
"typeVersion": 1
},
{
"id": "2a8b3cb2-5302-4b4a-9876-407b944d16dc",
"name": "MCP GSC",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
272,
-80
],
"webhookId": "125ed1a6-7292-4085-b22e-9a1028c22449",
"parameters": {
"path": "125ed1a6-7292-4085-b22e-9a1028c22449"
},
"typeVersion": 2
},
{
"id": "55134ecb-f073-46fa-a943-3a0aeb1e24a2",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
928,
-144
],
"parameters": {
"color": 3,
"width": 576,
"height": 560,
"content": "## Need a tailor-made workflow? Tell me about your business and get a free proposal:\n\n**[Start here β Custom Automation Form](https://taskmorphr.com/contact)**\n\n---\n## π Cost-Savings Snapshot \nCurious what automation could save you? \nRun the 60-second calculator:\n\n**[ROI / Cost Comparison](https://taskmorphr.com/cost-comparison)**\n\n---\n### βοΈ Reach me directly \n`[email protected]`"
},
"typeVersion": 1
},
{
"id": "45168036-c08a-4c0f-a170-cd0ffd8e694d",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1248,
256
],
"parameters": {
"color": 3,
"width": 224,
"height": 128,
"content": "### π οΈ Build it yourself \nBrowse every ready-made workflow: \n[Full Template Pack β coming soon](https://n8n.io/creators/diagopl/)\n"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"list sites request": {
"ai_tool": [
[
{
"node": "MCP GSC",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Site Info Request1": {
"ai_tool": [
[
{
"node": "MCP GSC",
"type": "ai_tool",
"index": 0
}
]
]
},
"Submit Sitemap Request1": {
"ai_tool": [
[
{
"node": "MCP GSC",
"type": "ai_tool",
"index": 0
}
]
]
},
"Request Indexing Request1": {
"ai_tool": [
[
{
"node": "MCP GSC",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search Analytics Request1": {
"ai_tool": [
[
{
"node": "MCP GSC",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}