Logo mcp-server-bwt

mcp-server-bwt

Cộng đồng
zizzfizzix

Model Context Protocol (MCP) server for Bing Webmaster Tools (BWT) allowing Claude.ai and other clients to interact with the BWT API

Nhà phát hànhzizzfizzix
Kho mãmcp-server-bwt
Ngôn ngữPython
Bản fork
8
Sao
7
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    mcp-server-bwt cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    7 sao và 8 bản fork từ kho mã được liên kết.

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:

json
"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:

json
"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:

bash
make install

Add to Claude desktop with make

In your Claude config specify:

json
"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:

json
"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:

bash
make test

To build the app:

bash
make build

To lint the project:

bash
make lint

To format the project:

bash
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:

bash
make start

MCP Inspector

You can use the MCP inspector to test the server:

bash
make mcp_inspector

Creating from Template

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

bash
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.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "zizzfizzix-mcp-server-bwt": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP mcp-server-bwt với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối mcp-server-bwt, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm mcp-server-bwt làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của mcp-server-bwt.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "zizzfizzix-mcp-server-bwt": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-bwt"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của mcp-server-bwt, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của mcp-server-bwt.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng mcp-server-bwt giúp tôi làm việc này không?
mcp-server-bwt
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng mcp-server-bwt.

Câu hỏi thường gặp

Máy chủ MCP mcp-server-bwt dùng để làm gì?

mcp-server-bwt là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP mcp-server-bwt với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng mcp-server-bwt với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP mcp-server-bwt với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối mcp-server-bwt, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP mcp-server-bwt với TypingMind?

mcp-server-bwt hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP mcp-server-bwt cung cấp những công cụ nào trong TypingMind?

mcp-server-bwt cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP mcp-server-bwt không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu mcp-server-bwt yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇