B
brodesigns/gsc-readonly-mcp
Read-only MCP server for the Google Search Console API: search analytics, sitemap status, URL inspection.
SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"brodesigns-gsc-readonly-mcp": {
"command": "npx",
"args": ["-y", "@brodesigns/gsc-readonly-mcp"]
}
}
}解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"brodesigns-gsc-readonly-mcp": {
"command": "npx",
"args": ["-y", "@brodesigns/gsc-readonly-mcp"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio brodesigns-gsc-readonly-mcp -- npx -y @brodesigns/gsc-readonly-mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · brodesigns/gsc-readonly-mcp · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
- 评分构成
- 综合分 2,300 · 23 个来源 · mcp
- 安装
npx -y @brodesigns/gsc-readonly-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npx -y @brodesigns/gsc-readonly-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
brodesigns/gsc-readonly-mcp;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# gsc-readonly-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Read-only MCP server for the Google Search
Console API. Search analytics, sitemap status, URL inspection, property
listing, nothing else.
Design choice: no write scope, not even gated. No submitsitemap, no
deletesitemap, no way to change anything in Search Console. If you need
those, look elsewhere; this project stays deliberately small so it is easy to
audit in one sitting.
## Tools
| Tool | Does |
| listsites | Lists every property the service account can access |
| listsitemaps | Sitemap status for a property (errors, warnings, indexed count) |
| searchanalyticsquery | Clicks, impressions, CTR, position, grouped by query/page/date/etc. |
| inspecturl | Index status, canonical URL, mobile usability for one URL |
## Setup
### 1. Create a service account and download its JSON key
1. Google Cloud Console → create or
select a project.
2. APIs & Services → Library → enable Search Console API.
3. APIs & Services → Credentials → Create Credentials → Service Account.
4. Open the new service account → Keys → Add Key → Create new key → JSON.
The file downloads automatically.
5. Open the file, note the clientemail field
(...@...iam.gserviceaccount.com).
### 2. Grant that service account access in Search Console
1. Search Console → open the
property.
2. Settings → Users and permissions → Add user.
3. Paste the clientemail from step 1. Use Full if you need
searchanalyticsquery (Restricted users hit a permission error on that
endpoint), Restricted is enough for listsites/listsitemaps.
### 3. Store the key file somewhere outside any git repo
bash
mkdir -p ~/.config/gsc
mv ~/Downloads/your-key-.json ~/.config/gsc/service-account.json
chmod 600 ~/.config/gsc/service-account.json
### 4. Configure your MCP client
Claude Code:
bash
claude mcp add gsc-readonly \
-e GSCSERVICEACCOUNTKEYFILE=~/.config/gsc/service-account.json \
-e GSCSITEURL="https://example.de/" \
-- npx -y @brodesigns/gsc-readonly-mcp
Or in .mcp.json:
json
"mcpServers": {
"gsc-readonly": {
"command": "npx",
"args": ["-y", "@brodesigns/gsc-readonly-mcp"],
"env": {
"GSCSERVICEACCOUNTKEYFILE": "/absolute/path/to/service-account.json",
"GSCSITEURL": "https://example.de/"
GSCSITEURL is optional; every tool also accepts a siteurl argument that
overrides it, useful if the same MCP server should cover several properties.
Important: use the property URL exactly as Search Console shows it.
Domain properties look like sc-domain:example.de, URL-prefix properties
look like https://example.de/. Passing the wrong form fails silently or
with a permission error even though the account has access.
## Why this exists
Console API. Search analytics, sitemap status, URL inspection, property
listing, nothing else.
Design choice: no write scope, not even gated. No submitsitemap, no
deletesitemap, no way to change anything in Search Console. If you need
those, look elsewhere; this project stays deliberately small so it is easy to
audit in one sitting.
## Tools
| Tool | Does |
| listsites | Lists every property the service account can access |
| listsitemaps | Sitemap status for a property (errors, warnings, indexed count) |
| searchanalyticsquery | Clicks, impressions, CTR, position, grouped by query/page/date/etc. |
| inspecturl | Index status, canonical URL, mobile usability for one URL |
## Setup
### 1. Create a service account and download its JSON key
1. Google Cloud Console → create or
select a project.
2. APIs & Services → Library → enable Search Console API.
3. APIs & Services → Credentials → Create Credentials → Service Account.
4. Open the new service account → Keys → Add Key → Create new key → JSON.
The file downloads automatically.
5. Open the file, note the clientemail field
(...@...iam.gserviceaccount.com).
### 2. Grant that service account access in Search Console
1. Search Console → open the
property.
2. Settings → Users and permissions → Add user.
3. Paste the clientemail from step 1. Use Full if you need
searchanalyticsquery (Restricted users hit a permission error on that
endpoint), Restricted is enough for listsites/listsitemaps.
### 3. Store the key file somewhere outside any git repo
bash
mkdir -p ~/.config/gsc
mv ~/Downloads/your-key-.json ~/.config/gsc/service-account.json
chmod 600 ~/.config/gsc/service-account.json
### 4. Configure your MCP client
Claude Code:
bash
claude mcp add gsc-readonly \
-e GSCSERVICEACCOUNTKEYFILE=~/.config/gsc/service-account.json \
-e GSCSITEURL="https://example.de/" \
-- npx -y @brodesigns/gsc-readonly-mcp
Or in .mcp.json:
json
"mcpServers": {
"gsc-readonly": {
"command": "npx",
"args": ["-y", "@brodesigns/gsc-readonly-mcp"],
"env": {
"GSCSERVICEACCOUNTKEYFILE": "/absolute/path/to/service-account.json",
"GSCSITEURL": "https://example.de/"
GSCSITEURL is optional; every tool also accepts a siteurl argument that
overrides it, useful if the same MCP server should cover several properties.
Important: use the property URL exactly as Search Console shows it.
Domain properties look like sc-domain:example.de, URL-prefix properties
look like https://example.de/. Passing the wrong form fails silently or
with a permission error even though the account has access.
## Why this exists
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/brodesigns-gsc-readonly-mcp/)
- 来源
- awesome · https://github.com/brodesigns/gsc-readonly-mcp
- 按领域浏览
- MCP 服务
- 收录来源
- 23 个独立来源
- 收录于
- 今天
- 安全策略
- 该仓库根目录有
SECURITY.md(我们只核文件存在,未核内容)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。