@xiedada/nodemw-mcp-server 0.2.0 → 0.2.1
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/dist/index.js +10 -4
- package/package.json +55 -55
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
37
37
|
// package.json
|
|
38
38
|
var package_default = {
|
|
39
39
|
name: "@xiedada/nodemw-mcp-server",
|
|
40
|
-
version: "0.2.
|
|
40
|
+
version: "0.2.1",
|
|
41
41
|
description: "MCP server for nodemw - MediaWiki API client",
|
|
42
42
|
repository: {
|
|
43
43
|
type: "git",
|
|
@@ -98,9 +98,12 @@ function createServer(description) {
|
|
|
98
98
|
{
|
|
99
99
|
name: "nodemw-mcp-server",
|
|
100
100
|
version: package_default.version,
|
|
101
|
-
description
|
|
101
|
+
description: "MediaWiki API bridge for AI agents"
|
|
102
102
|
},
|
|
103
|
-
{
|
|
103
|
+
{
|
|
104
|
+
capabilities: { tools: {} },
|
|
105
|
+
instructions: description
|
|
106
|
+
}
|
|
104
107
|
);
|
|
105
108
|
}
|
|
106
109
|
|
|
@@ -2109,8 +2112,11 @@ function editTool(server) {
|
|
|
2109
2112
|
);
|
|
2110
2113
|
tool.update({ outputSchema: {
|
|
2111
2114
|
result: z34.string(),
|
|
2115
|
+
pageid: z34.number(),
|
|
2112
2116
|
title: z34.string(),
|
|
2113
|
-
|
|
2117
|
+
contentmodel: z34.string().optional(),
|
|
2118
|
+
newrevid: z34.number(),
|
|
2119
|
+
newtimestamp: z34.string().optional(),
|
|
2114
2120
|
oldrevid: z34.number().optional()
|
|
2115
2121
|
} });
|
|
2116
2122
|
return tool;
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xiedada/nodemw-mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "MCP server for nodemw - MediaWiki API client",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/xiedada05/nodemw-mcp.git"
|
|
8
|
-
},
|
|
9
|
-
"bugs": {
|
|
10
|
-
"url": "https://github.com/xiedada05/nodemw-mcp/issues"
|
|
11
|
-
},
|
|
12
|
-
"homepage": "https://github.com/xiedada05/nodemw-mcp#readme",
|
|
13
|
-
"type": "module",
|
|
14
|
-
"main": "dist/index.js",
|
|
15
|
-
"bin": {
|
|
16
|
-
"nodemw-mcp-server": "./dist/index.js"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "node scripts/build.js",
|
|
20
|
-
"dev": "node scripts/build.js --watch",
|
|
21
|
-
"lint": "eslint src/**/*.ts",
|
|
22
|
-
"test": "vitest",
|
|
23
|
-
"prepare": "npm run build",
|
|
24
|
-
"clean": "rimraf dist"
|
|
25
|
-
},
|
|
26
|
-
"keywords": [
|
|
27
|
-
"mcp",
|
|
28
|
-
"mediawiki",
|
|
29
|
-
"nodemw",
|
|
30
|
-
"wiki"
|
|
31
|
-
],
|
|
32
|
-
"author": "",
|
|
33
|
-
"license": "BSD-2-Clause",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
36
|
-
"nodemw": "^0.26.0",
|
|
37
|
-
"zod": "^3.23.8"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@types/node": "^22.0.0",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
42
|
-
"@typescript-eslint/parser": "^8.0.0",
|
|
43
|
-
"esbuild": "^0.24.0",
|
|
44
|
-
"eslint": "^9.0.0",
|
|
45
|
-
"rimraf": "^5.0.5",
|
|
46
|
-
"typescript": "^5.5.0",
|
|
47
|
-
"vitest": "^2.0.0"
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist"
|
|
51
|
-
],
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=18.0.0"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xiedada/nodemw-mcp-server",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "MCP server for nodemw - MediaWiki API client",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/xiedada05/nodemw-mcp.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/xiedada05/nodemw-mcp/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/xiedada05/nodemw-mcp#readme",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"bin": {
|
|
16
|
+
"nodemw-mcp-server": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "node scripts/build.js",
|
|
20
|
+
"dev": "node scripts/build.js --watch",
|
|
21
|
+
"lint": "eslint src/**/*.ts",
|
|
22
|
+
"test": "vitest",
|
|
23
|
+
"prepare": "npm run build",
|
|
24
|
+
"clean": "rimraf dist"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"mcp",
|
|
28
|
+
"mediawiki",
|
|
29
|
+
"nodemw",
|
|
30
|
+
"wiki"
|
|
31
|
+
],
|
|
32
|
+
"author": "",
|
|
33
|
+
"license": "BSD-2-Clause",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
36
|
+
"nodemw": "^0.26.0",
|
|
37
|
+
"zod": "^3.23.8"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/node": "^22.0.0",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
42
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
43
|
+
"esbuild": "^0.24.0",
|
|
44
|
+
"eslint": "^9.0.0",
|
|
45
|
+
"rimraf": "^5.0.5",
|
|
46
|
+
"typescript": "^5.5.0",
|
|
47
|
+
"vitest": "^2.0.0"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist"
|
|
51
|
+
],
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=18.0.0"
|
|
54
|
+
}
|
|
55
|
+
}
|