yandex-webmaster-mcp 1.2.1 → 1.2.2
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/LICENSE +1 -1
- package/package.json +10 -7
- package/src/index.mjs +5 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yandex-webmaster-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "MCP server for Yandex Webmaster API - site analytics, indexing status, search queries, and SEO diagnostics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.mjs",
|
|
@@ -28,22 +28,25 @@
|
|
|
28
28
|
"claude",
|
|
29
29
|
"ai"
|
|
30
30
|
],
|
|
31
|
-
"author":
|
|
31
|
+
"author": {
|
|
32
|
+
"name": "Seyka AI",
|
|
33
|
+
"url": "https://seyka.ru"
|
|
34
|
+
},
|
|
32
35
|
"license": "MIT",
|
|
33
36
|
"repository": {
|
|
34
37
|
"type": "git",
|
|
35
|
-
"url": "git+https://github.com/
|
|
38
|
+
"url": "git+https://github.com/seyka-ai/yandex-tools-mcp.git",
|
|
36
39
|
"directory": "packages/yandex-webmaster-mcp"
|
|
37
40
|
},
|
|
38
41
|
"bugs": {
|
|
39
|
-
"url": "https://github.com/
|
|
42
|
+
"url": "https://github.com/seyka-ai/yandex-tools-mcp/issues"
|
|
40
43
|
},
|
|
41
|
-
"homepage": "https://github.com/
|
|
44
|
+
"homepage": "https://github.com/seyka-ai/yandex-tools-mcp/tree/main/packages/yandex-webmaster-mcp#readme",
|
|
42
45
|
"engines": {
|
|
43
46
|
"node": ">=18.0.0"
|
|
44
47
|
},
|
|
45
48
|
"dependencies": {
|
|
46
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
47
|
-
"zod": "^4.
|
|
49
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
50
|
+
"zod": "^4.6.7"
|
|
48
51
|
}
|
|
49
52
|
}
|
package/src/index.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
import { createRequire } from 'node:module';
|
|
3
4
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
4
5
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
5
6
|
import { z } from 'zod';
|
|
6
7
|
|
|
8
|
+
// Reported to MCP clients; read from package.json so it can't drift from releases.
|
|
9
|
+
const { version } = createRequire(import.meta.url)('../package.json');
|
|
10
|
+
|
|
7
11
|
// Handle CLI commands
|
|
8
12
|
const command = process.argv[2];
|
|
9
13
|
if (command === 'auth') {
|
|
@@ -174,7 +178,7 @@ async function runServer() {
|
|
|
174
178
|
{ id: 16, name: 'Ярославль' },
|
|
175
179
|
];
|
|
176
180
|
|
|
177
|
-
const server = new McpServer({ name: 'yandex-webmaster', version
|
|
181
|
+
const server = new McpServer({ name: 'yandex-webmaster', version });
|
|
178
182
|
|
|
179
183
|
// ============ Core Tools ============
|
|
180
184
|
|