bing-webmaster-tools-mcp 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +142 -2
- package/bin/index.js +29 -0
- package/package.json +37 -4
package/README.md
CHANGED
|
@@ -1,3 +1,143 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Bing Webmaster Tools & IndexNow MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
High-signal Model Context Protocol (MCP) server for Microsoft Bing Webmaster Tools and IndexNow instant search engine indexing.
|
|
4
|
+
|
|
5
|
+
[](https://pypi.org/project/bing-webmaster-mcp/)
|
|
6
|
+
[](https://www.npmjs.com/package/bing-webmaster-tools-mcp)
|
|
7
|
+
[](LICENSE)
|
|
8
|
+
|
|
9
|
+
Companion to [`google-search-console-mcp`](https://github.com/surendranb/google-search-console-mcp) for agentic SEO, search analytics, and automated indexing pipelines.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Capabilities & Tools
|
|
14
|
+
|
|
15
|
+
1. **`get_user_sites(apikey?)`**: List all verified and unverified domains, authentication codes, and DNS verification records.
|
|
16
|
+
2. **`get_query_stats(site_url, apikey?)`**: Retrieve search performance metrics (clicks, impressions, CTR %, average click and impression positions) broken down by query, with aggregated totals calculated server-side.
|
|
17
|
+
3. **`get_page_stats(site_url, apikey?)`**: Fetch URL-level traffic and performance metrics for top pages.
|
|
18
|
+
4. **`get_crawl_issues(site_url, apikey?)`**: Inspect crawl errors, HTTP status diagnostics (404s, 500s), and in-link severity encountered by Bingbot.
|
|
19
|
+
5. **`submit_urls(site_url, urls, apikey?, indexnow_key?)`**: Dual-submit URLs for immediate indexing via both the Bing Webmaster API and the IndexNow open protocol (`https://api.indexnow.org/indexnow`).
|
|
20
|
+
6. **`doctor()`**: Run diagnostics on API credentials, IndexNow key setup, telemetry opt-out status, and test beds.
|
|
21
|
+
7. **`skills_list()` / `skill_read(name)`**: Access dynamic workflow playbooks (e.g. `bing-webmaster-audit`, `indexnow-instant-indexing`) loaded from GitHub.
|
|
22
|
+
8. **`check_for_updates()`**: Verify against PyPI for newer releases.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
### Python (`uvx` - Recommended)
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
uvx bing-webmaster-mcp
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Node / npm (`npx`)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx bing-webmaster-tools-mcp
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Configuration
|
|
43
|
+
|
|
44
|
+
Set the environment variables in your MCP client configuration:
|
|
45
|
+
|
|
46
|
+
- `BING_WEBMASTER_API_KEY`: Your Bing Webmaster Tools API key.
|
|
47
|
+
- `INDEXNOW_KEY` (Optional): Your IndexNow API key for instant multi-engine indexing.
|
|
48
|
+
|
|
49
|
+
### Claude Desktop
|
|
50
|
+
|
|
51
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"mcpServers": {
|
|
56
|
+
"bing-webmaster": {
|
|
57
|
+
"command": "uvx",
|
|
58
|
+
"args": ["bing-webmaster-mcp"],
|
|
59
|
+
"env": {
|
|
60
|
+
"BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY",
|
|
61
|
+
"INDEXNOW_KEY": "YOUR_INDEXNOW_KEY"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Or via npx:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"mcpServers": {
|
|
73
|
+
"bing-webmaster": {
|
|
74
|
+
"command": "npx",
|
|
75
|
+
"args": ["-y", "bing-webmaster-tools-mcp"],
|
|
76
|
+
"env": {
|
|
77
|
+
"BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Cursor
|
|
85
|
+
|
|
86
|
+
Add to `.cursor/mcp.json`:
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"mcpServers": {
|
|
91
|
+
"bing-webmaster": {
|
|
92
|
+
"command": "uvx",
|
|
93
|
+
"args": ["bing-webmaster-mcp"],
|
|
94
|
+
"env": {
|
|
95
|
+
"BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## How to Get Credentials
|
|
105
|
+
|
|
106
|
+
### Bing Webmaster Tools API Key
|
|
107
|
+
1. Sign in to [Bing Webmaster Tools](https://www.bing.com/webmasters).
|
|
108
|
+
2. Click the **Settings** gear icon in the top right corner.
|
|
109
|
+
3. Select **API Access** > **API Key**.
|
|
110
|
+
4. Click **Generate API Key** (or copy existing key).
|
|
111
|
+
|
|
112
|
+
### IndexNow Key
|
|
113
|
+
1. Generate an 8-128 character hex key or UUID.
|
|
114
|
+
2. Host a text file named `<your-key>.txt` containing only the key at your website root (e.g., `https://example.com/<your-key>.txt`).
|
|
115
|
+
3. Set `INDEXNOW_KEY="<your-key>"`.
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Error Handling & Model UX
|
|
120
|
+
|
|
121
|
+
Every error message is classified so AI agents know whether to ask for human help or self-correct:
|
|
122
|
+
- `[INPUT_FIXABLE]`: Malformed URLs, host mismatches, or missing arguments. Correctable by the model.
|
|
123
|
+
- `[ENVIRONMENT_FIXABLE: STOP & ASK HUMAN]`: Missing or unauthorized API keys, or unverified sites. Stop and request human intervention.
|
|
124
|
+
- `[TRANSIENT]`: Rate limits (HTTP 429) or upstream downtime. Safe to retry after a pause.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Telemetry & Privacy
|
|
129
|
+
|
|
130
|
+
This server includes anonymous usage telemetry to monitor tool performance and errors.
|
|
131
|
+
To opt out completely, set either:
|
|
132
|
+
```bash
|
|
133
|
+
export DO_NOT_TRACK=1
|
|
134
|
+
# or
|
|
135
|
+
export MCP_TELEMETRY_OPT_OUT=1
|
|
136
|
+
```
|
|
137
|
+
API keys, URLs, and sensitive arguments are strictly redacted before transmission.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## License
|
|
142
|
+
|
|
143
|
+
MIT © [Surendran B](https://github.com/surendranb)
|
package/bin/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Bing Webmaster Tools MCP Server NPX Wrapper
|
|
5
|
+
* Spawns the python package via uvx with full stdio passthrough for MCP hosts.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const { spawn } = require('child_process');
|
|
9
|
+
|
|
10
|
+
const args = ['--from', 'bing-webmaster-mcp', 'bing-webmaster-mcp', ...process.argv.slice(2)];
|
|
11
|
+
|
|
12
|
+
const child = spawn('uvx', args, {
|
|
13
|
+
stdio: 'inherit',
|
|
14
|
+
shell: process.platform === 'win32'
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
child.on('error', (err) => {
|
|
18
|
+
if (err.code === 'ENOENT') {
|
|
19
|
+
console.error('[bing-webmaster-tools-mcp Error] "uvx" command not found.');
|
|
20
|
+
console.error('Please install uv (https://astral.sh/uv) or install directly via pip: pip install bing-webmaster-mcp');
|
|
21
|
+
} else {
|
|
22
|
+
console.error('[bing-webmaster-tools-mcp Error] Failed to start server process:', err.message);
|
|
23
|
+
}
|
|
24
|
+
process.exit(1);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
child.on('close', (code) => {
|
|
28
|
+
process.exit(code || 0);
|
|
29
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bing-webmaster-tools-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Model Context Protocol (MCP) server for Bing Webmaster Tools & IndexNow API via NPX. Spawns the Python package through uvx with full stdio passthrough.",
|
|
5
|
+
"main": "bin/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"bing-webmaster-tools-mcp": "bin/index.js",
|
|
8
|
+
"bing-webmaster-mcp": "bin/index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "node bin/index.js --help"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"mcp-server",
|
|
16
|
+
"bing-webmaster",
|
|
17
|
+
"bing",
|
|
18
|
+
"indexnow",
|
|
19
|
+
"seo",
|
|
20
|
+
"search-analytics",
|
|
21
|
+
"ai-agent",
|
|
22
|
+
"anthropic",
|
|
23
|
+
"claude",
|
|
24
|
+
"cursor"
|
|
25
|
+
],
|
|
26
|
+
"author": "Surendran B <reachsuren@gmail.com>",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/surendranb/bing-webmaster-mcp-server.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/surendranb/bing-webmaster-mcp-server/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://bing-webmaster.builditwithai.xyz",
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=16.0.0"
|
|
38
|
+
}
|
|
39
|
+
}
|