@cnbcool/mcp-server 0.1.0-beta.2 → 0.1.0-beta.4
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 +4 -3
- package/package.json +2 -5
- package/CHANGELOG.md +0 -9
package/README.md
CHANGED
|
@@ -5,9 +5,10 @@ https://cnb.cool toolkits for LLMs supporting the MCP protocol
|
|
|
5
5
|
## How to develop
|
|
6
6
|
|
|
7
7
|
1. `npm install`
|
|
8
|
-
2.
|
|
9
|
-
3. `
|
|
10
|
-
4. `
|
|
8
|
+
2. `npx openapi-typescript@5.4.2 https://api.cnb.cool/swagger.json -o src/schema.d.ts`
|
|
9
|
+
3. Rename `.env.example` to `.env` and fill in the values
|
|
10
|
+
4. `npm build`
|
|
11
|
+
5. `npx @modelcontextprotocol/inspector node dist/index.js`
|
|
11
12
|
|
|
12
13
|
## How to configure
|
|
13
14
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cnbcool/mcp-server",
|
|
3
3
|
"description": "CMB MCP server",
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.4",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"mcp-server": "
|
|
7
|
+
"cnbcool-mcp-server": "dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"postinstall": "openapi-typescript https://api.cnb.cool/swagger.json -o src/schema.d.ts",
|
|
12
11
|
"build": "tsc",
|
|
13
12
|
"start": "node dist/index.js"
|
|
14
13
|
},
|
|
@@ -26,7 +25,6 @@
|
|
|
26
25
|
"files": [
|
|
27
26
|
"dist/",
|
|
28
27
|
"package.json",
|
|
29
|
-
"CHANGELOG.md",
|
|
30
28
|
"README.md"
|
|
31
29
|
],
|
|
32
30
|
"engines": {
|
|
@@ -40,7 +38,6 @@
|
|
|
40
38
|
},
|
|
41
39
|
"devDependencies": {
|
|
42
40
|
"@types/node": "^22.13.9",
|
|
43
|
-
"openapi-typescript": "^5.4.2",
|
|
44
41
|
"typescript": "^5.8.2"
|
|
45
42
|
}
|
|
46
43
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
## 0.1.0 (March 17, 2025)
|
|
2
|
-
|
|
3
|
-
### New Features
|
|
4
|
-
|
|
5
|
-
- Supports list user repositories with various filters
|
|
6
|
-
- Supports get repository details
|
|
7
|
-
- Supports list repository issues with various filters
|
|
8
|
-
- Supports get issue details
|
|
9
|
-
- Supports create repository issue
|