Cover image
Try Now
2025-04-12

Bing网站管理员工具(BWT)的模型上下文协议(MCP)服务器允许Claude.ai和其他客户与BWT API进行交互

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

mcp-server-bwt

MCP server for Bing Webmaster Tools

This MCP (Model Context Protocol) server provides a bridge between supported AI assistants like Claude or Cursor and the Bing Webmaster Tools API. It exposes all Bing Webmaster Tools functionality available via bing-webmaster-tools as MCP tools that can be used by AI assistants to interact with your Bing Webmaster Tools account.

Example Usage with Claude

Once configured, you can use the MCP server with Claude to interact with your Bing Webmaster Tools account. Here are some example prompts:

  • "List all my verified sites in Bing Webmaster Tools"
  • "Submit my homepage for indexing"
  • "Get traffic statistics for my website"
  • "Check for any crawling issues on my site"
  • "Get keyword statistics for 'my product'"

Claude will use the appropriate MCP tools to fulfill your requests.

Requirements

Installation

Using uvx (recommended)

When using uvx no specific installation is needed. We will use it to directly run mcp_server_bwt from the client app.

Add to Claude desktop with uvx

In your Claude config specify:

"mcpServers": {
  "mcp_server_bwt": {
    "command": "uvx",
    "args": [
      "--from",
      "git+https://github.com/zizzfizzix/mcp-server-bwt",
      "mcp_server_bwt"
    ]
  }
}

Add to Zed with uvx

In your Zed settings.json add:

"context_servers": [
  "bwtServer": {
    "command": "uvx",
    "args": [
      "--from",
      "git+https://github.com/zizzfizzix/mcp-server-bwt",
      "mcp_server_bwt"
    ]
  }
]

Using make

Alternatively you can install mcp_server_bwt using make:

make install

Add to Claude desktop with make

In your Claude config specify:

"mcpServers": {
  "bwtServer": {
    "command": "/PATH/TO/mcp-server-bwt/.venv/bin/python",
    "args": ["/PATH/TO/mcp-server-bwt/mcp_server_bwt/main.py"],
    "env": {
      "BING_WEBMASTER_API_KEY": "YOUR_API_KEY_HERE"
    }
  }
}

Add to Zed with make

In your Zed settings.json add:

"context_servers": {
  "bwtServer": {
    "command": "/PATH/TO/mcp-server-bwt/.venv/bin/python",
    "args": ["/PATH/TO/mcp-server-bwt/mcp_server_bwt/main.py"],
    "env": {
      "BING_WEBMASTER_API_KEY": "YOUR_API_KEY_HERE"
    }
  }
}

Available Tools

The server provides the following Bing Webmaster Tools API functionality (more info in the API docs):

Site Management

  • get_sites: List all verified sites in your Bing Webmaster Tools account
  • add_site: Add a new site to your account
  • verify_site: Verify ownership of a site
  • remove_site: Remove a site from your account
  • get_site_roles: Get roles for a specific site
  • add_site_roles: Add roles to a site
  • remove_site_role: Remove a role from a site
  • get_site_moves: Get information about site moves
  • submit_site_move: Submit a site move request

URL Submission

  • submit_url: Submit a single URL for indexing
  • submit_url_batch: Submit multiple URLs for indexing in a batch
  • submit_content: Submit content for indexing
  • submit_feed: Submit a feed for indexing
  • get_feeds: Get all submitted feeds
  • get_feed_details: Get details about a specific feed
  • remove_feed: Remove a feed from your account
  • get_url_submission_quota: Check your URL submission quota
  • get_content_submission_quota: Check your content submission quota
  • fetch_url: Fetch a URL for indexing
  • get_fetched_urls: Get all fetched URLs
  • get_fetched_url_details: Get details about a specific fetched URL

Traffic Analysis

  • get_query_stats: Get statistics for search queries
  • get_query_traffic_stats: Get traffic statistics for search queries
  • get_query_page_stats: Get page statistics for search queries
  • get_query_page_detail_stats: Get detailed page statistics for search queries
  • get_page_stats: Get statistics for pages
  • get_page_query_stats: Get query statistics for pages
  • get_rank_and_traffic_stats: Get rank and traffic statistics

Crawling

  • get_crawl_stats: Get crawling statistics
  • get_crawl_settings: Get crawling settings
  • save_crawl_settings: Save crawling settings
  • get_crawl_issues: Get crawling issues

Keyword Analysis

  • get_keyword: Get information about a keyword
  • get_keyword_stats: Get statistics for a keyword
  • get_related_keywords: Get related keywords

Link Analysis

  • get_link_counts: Get link counts
  • get_url_links: Get links for a URL
  • get_deep_link: Get deep link information
  • get_deep_link_blocks: Get deep link blocks
  • add_deep_link_block: Add a deep link block
  • remove_deep_link_block: Remove a deep link block
  • update_deep_link: Update a deep link
  • get_deep_link_algo_urls: Get deep link algorithm URLs
  • get_connected_pages: Get connected pages
  • add_connected_page: Add a connected page

Content Management

  • get_url_info: Get information about a URL
  • get_url_traffic_info: Get traffic information for a URL
  • get_children_url_info: Get information about child URLs
  • get_children_url_traffic_info: Get traffic information for child URLs

Content Blocking

  • get_blocked_urls: Get blocked URLs
  • add_blocked_url: Add a URL to the blocked list
  • remove_blocked_url: Remove a URL from the blocked list
  • get_active_page_preview_blocks: Get active page preview blocks
  • add_page_preview_block: Add a page preview block
  • remove_page_preview_block: Remove a page preview block

Regional Settings

  • get_country_region_settings: Get country/region settings
  • add_country_region_settings: Add country/region settings
  • remove_country_region_settings: Remove country/region settings

URL Management

  • get_query_parameters: Get query parameters
  • add_query_parameter: Add a query parameter
  • remove_query_parameter: Remove a query parameter
  • enable_disable_query_parameter: Enable or disable a query parameter

Development

To run all tests:

make test

To build the app:

make build

To lint the project:

make lint

To format the project:

make format

Environment Variables

The following environment variables are required:

  • BING_WEBMASTER_API_KEY: Your Bing Webmaster Tools API key

Starting the Server

To start the MCP server:

make start

MCP Inspector

You can use the MCP inspector to test the server:

make mcp_inspector

Creating from Template

This MCP server was created from a cookiecutter template. To create a similar one, run:

uvx cookiecutter gh:zizzfizzix/python-base-mcp-server

License

mcp-server-bwt is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • modelcontextprotocol
  • 模型上下文协议服务器

    Reviews

    3 (1)
    Avatar
    user_rrJtbVYi
    2025-04-17

    As a loyal user of mcp-server-bwt, I can confidently say that this server module by zizzfizzix is a game-changer. It offers robust performance and seamless integration for various applications. The setup process is straightforward, and the extensive documentation on GitHub ensures that even beginners can get started easily. Highly recommended for anyone seeking a reliable and efficient server solution! Check it out here: https://github.com/zizzfizzix/mcp-server-bwt