Google Search Console MCP Server
Google Search Console MCP 服务器
用于查询 Google Search Console 数据(网站排名、点击量、展示次数)的 MCP 服务器。
设置
安装依赖:
npm install配置凭据:
将
.env.example复制为.env并填入您的值:cp .env.example .env您需要:
GSC_SITE_URL:您在 GSC 中的网站 URL(例如sc-domain:bwengr.com)GOOGLE_CLIENT_ID:来自 Google Cloud Console 的 OAuth2 客户端 IDGOOGLE_CLIENT_SECRET:OAuth2 客户端密钥
获取 OAuth2 凭据:
创建一个项目或选择现有项目
启用“Search Console API”
创建 OAuth2 凭据(桌面应用或 Web 应用)
将
http://localhost:3000/oauth/callback添加为重定向 URI将客户端 ID 和密钥复制到
.env中
使用方法
npm start可用的 MCP 工具
getTopQueries- 按点击量获取热门搜索查询getPagePerformance- 获取特定页面的表现数据getSiteSummary- 获取网站整体搜索表现getRankingChanges- 查找排名发生显著变化的页面
凭据
切勿将 .env 提交到 GitHub。 凭据仅存储在本地。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bwengr/bw-gsc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server