跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Bing Webmaster Tools,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Bing Webmaster Tools:站点、带点击、展示和排名的搜索查询和页面、抓取统计与抓取问题、单个 URL 的索引详情、入站链接、站点地图、关键词研究、URL 和站点地图提交。通过 API 密钥使用 Bing Webmaster API。
试试这样问
Bing Webmaster Tools 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Bing Webmaster Tools、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Bing Webmaster Tools + Gemini
Bing Webmaster Tools:站点、带点击、展示和排名的搜索查询和页面、抓取统计与抓取问题、单个 URL 的索引详情、入站链接、站点地图、关键词研究、URL 和站点地图提交。通过 API 密钥使用 Bing Webmaster API。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
BING_WEBMASTER_API_KEY
步骤 1 — 获取凭证
该连接器使用 Bing Webmaster API,每个用户一个 API 密钥,适用于该用户所有已验证的站点。
- 在 Bing Webmaster Tools 中点击右上角的 Settings,打开 API Access。首次使用时接受条款。
- 点击 API Key,再点击 Generate API Key,将密钥复制到
BING_WEBMASTER_API_KEY。它以查询参数apikey发送。如果删除密钥并重新生成,所有使用旧密钥的集成都会失效。 - 查询之前,站点必须已在 Bing Webmaster Tools 中添加并验证;也可以在那里从 Google Search Console 导入站点。
- 先调用
bing_webmaster_list_sites。所有站点工具都需要与列表完全一致的site_url,包括协议和末尾斜杠(https://www.example.com/)。然后用bing_webmaster_get_rank_and_traffic_stats查看趋势,用bing_webmaster_get_query_stats和bing_webmaster_get_page_stats查看主要查询和页面,用bing_webmaster_get_crawl_issues查看问题。
搜索效果数据大约覆盖最近六个月,查询和页面列表只包含排名靠前的条目,而不是全部查询。日期以 /Date(1759276800000)/ 的形式返回,即自 1970 年起的毫秒数(UTC)。bing_webmaster_submit_url 和 bing_webmaster_submit_url_batch(每次最多 500 个 URL)会消耗每日提交配额,请先用 bing_webmaster_get_url_submission_quota 查看。缺少密钥或密钥错误时返回 HTTP 400 和 ErrorCode 3, InvalidApiKey。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp(或在终端运行gemini mcp list)—anythingmcp应显示为已连接。 - 开始输入提示 — Gemini CLI 现在可以调用
Bing Webmaster Tools的工具。
可用工具
| Tool | What it does |
|---|---|
bing_webmaster_list_sites | List the sites in the Bing Webmaster Tools account with their URL, verification state and verification codes |
bing_webmaster_get_rank_and_traffic_stats | Get the daily clicks and impressions of a site in Bing search over the last months |
bing_webmaster_get_query_stats | Get the top search queries that showed the site in Bing, with impressions, clicks, average impression position and average click position… |
bing_webmaster_get_page_stats | Get the top pages of the site in Bing search with impressions, clicks and average positions |
bing_webmaster_get_query_page_stats | Get the pages of the site that appeared for one search query, with impressions, clicks and positions |
bing_webmaster_get_page_query_stats | Get the search queries for which one page of the site appeared in Bing, with impressions, clicks and positions per query |
bing_webmaster_get_query_traffic_stats | Get the daily clicks and impressions for one search query on the site |
bing_webmaster_get_query_page_detail_stats | Get the daily impressions, clicks and positions for one query on one page of the site |
bing_webmaster_get_crawl_stats | Get daily crawl statistics for the site: pages crawled, crawl errors, pages in index, blocked by robots.txt, HTTP 2xx/3xx/4xx/5xx counts… |
bing_webmaster_get_crawl_issues | List URLs of the site with crawl issues found by Bingbot (for example 404, 500, blocked by robots.txt, DNS or timeout problems), with issue… |
bing_webmaster_get_url_info | Get Bing's index details for one URL of the site: HTTP status, last crawl date, discovery date, document size, anchor count and whether it… |
bing_webmaster_get_url_traffic_info | Get the clicks and impressions Bing recorded for one URL of the site or for a directory |
bing_webmaster_get_link_counts | List pages of the site that have inbound links from other sites, with the number of links for each |
bing_webmaster_get_url_links | List the external pages that link to one URL of the site, with their URL and anchor text |
bing_webmaster_get_url_submission_quota | Get how many URLs the site may still submit today and this month through the URL submission API |
bing_webmaster_list_sitemaps | List the sitemaps and feeds submitted for the site with URL, type, status, last crawl date, submission date and number of URLs found |
bing_webmaster_get_sitemap_details | Get the child sitemaps of a sitemap index with their status, last crawl and URL counts |
bing_webmaster_get_crawl_settings | Get the crawl settings of the site: crawl rate by hour of day and whether the crawl-delay in robots.txt is respected |
bing_webmaster_list_blocked_urls | List the URLs and directories of the site that are blocked from Bing search results through the Block URLs tool, with type and expiry date |
bing_webmaster_get_keyword_stats | Get Bing's historical weekly search impressions for a keyword in a country and language |
bing_webmaster_get_keyword | Get the total Bing search impressions for a keyword in a country and language over a date range, with broad and exact match counts |
bing_webmaster_get_related_keywords | Get keywords related to a keyword, with their Bing search impressions in a country and language over a date range |
bing_webmaster_submit_url | Submit one URL of a verified site to Bing for crawling and indexing |
bing_webmaster_submit_url_batch | Submit up to 500 URLs of a verified site to Bing in one call for crawling and indexing |
bing_webmaster_submit_sitemap | Submit a sitemap or feed URL for a site so Bing crawls it regularly |
FAQ
Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。
下一步
这份指南对你有帮助吗?