@jinshuju/mcp 0.0.0-stage → 0.2.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/LICENSE +17 -0
- package/README.md +153 -2
- package/dist/analytics.d.ts +64 -0
- package/dist/analytics.js +139 -0
- package/dist/api.d.ts +54 -0
- package/dist/api.js +166 -0
- package/dist/app.d.ts +35 -0
- package/dist/app.js +224 -0
- package/dist/auth.d.ts +36 -0
- package/dist/auth.js +94 -0
- package/dist/cli-credential.d.ts +21 -0
- package/dist/cli-credential.js +120 -0
- package/dist/composites.d.ts +12 -0
- package/dist/composites.js +82 -0
- package/dist/config.d.ts +34 -0
- package/dist/config.js +44 -0
- package/dist/credential.d.ts +26 -0
- package/dist/credential.js +32 -0
- package/dist/generated/meta.json +113 -0
- package/dist/generated/operations.json +3996 -0
- package/dist/generated/schemas.json +30825 -0
- package/dist/generated/tools.json +6130 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +12 -0
- package/dist/node.d.ts +2 -0
- package/dist/node.js +27 -0
- package/dist/result.d.ts +8 -0
- package/dist/result.js +79 -0
- package/dist/server.d.ts +20 -0
- package/dist/server.js +59 -0
- package/dist/stdio.d.ts +2 -0
- package/dist/stdio.js +29 -0
- package/dist/tools.d.ts +21 -0
- package/dist/tools.js +84 -0
- package/dist/types.d.ts +73 -0
- package/dist/types.js +2 -0
- package/dist/validation.d.ts +16 -0
- package/dist/validation.js +56 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.js +5 -0
- package/dist/worker.d.ts +13 -0
- package/dist/worker.js +30 -0
- package/package.json +74 -4
package/package.json
CHANGED
|
@@ -1,6 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jinshuju/mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "MCP server for the Jinshuju (金数据) Open API v1, generated from openapi.yaml",
|
|
5
|
+
"homepage": "https://github.com/jinshuju/mcp#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/jinshuju/mcp/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/jinshuju/mcp.git"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"jinshuju-mcp": "dist/stdio.js"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"!dist/**/*.test.js",
|
|
20
|
+
"!dist/**/*.test.d.ts",
|
|
21
|
+
"!dist/**/*.map"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "dist/index.js",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./dist/index.js",
|
|
27
|
+
"./app": "./dist/app.js"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public",
|
|
31
|
+
"registry": "https://registry.npmjs.org"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"",
|
|
35
|
+
"generate": "tsx scripts/generate.ts",
|
|
36
|
+
"spec:update": "node scripts/fetch-spec.mjs && npm run generate",
|
|
37
|
+
"build": "npm run clean && tsc -p tsconfig.json && chmod +x dist/stdio.js",
|
|
38
|
+
"prepare": "npm run build",
|
|
39
|
+
"test": "npm run build && node --test dist/*.test.js",
|
|
40
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
41
|
+
"lint": "oxlint",
|
|
42
|
+
"fmt": "oxfmt",
|
|
43
|
+
"fmt:check": "oxfmt --check",
|
|
44
|
+
"check": "npm run typecheck && npm run typecheck:evals && npm run lint && npm run fmt:check",
|
|
45
|
+
"start": "node dist/node.js",
|
|
46
|
+
"dev": "tsx src/node.ts",
|
|
47
|
+
"worker:dev": "wrangler dev",
|
|
48
|
+
"worker:deploy": "wrangler deploy",
|
|
49
|
+
"worker:dry-run": "wrangler deploy --dry-run --outdir .wrangler/dry-run",
|
|
50
|
+
"wdl:deploy": "wdl deploy .",
|
|
51
|
+
"wdl:tail": "wdl tail jinshuju-mcp",
|
|
52
|
+
"eval": "tsx evals/src/cli.ts",
|
|
53
|
+
"typecheck:evals": "tsc -p evals/tsconfig.json"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@hono/node-server": "^2.1.4",
|
|
57
|
+
"@modelcontextprotocol/server": "^2.3.1",
|
|
58
|
+
"@posthog/mcp": "^0.22.3",
|
|
59
|
+
"@sentry/cloudflare": "^11.7.0",
|
|
60
|
+
"hono": "^4.13.13",
|
|
61
|
+
"posthog-node": "^5.55.3"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@modelcontextprotocol/client": "^2.3.1",
|
|
65
|
+
"@types/node": "^22.10.0",
|
|
66
|
+
"oxfmt": "^0.72.0",
|
|
67
|
+
"oxlint": "^1.87.0",
|
|
68
|
+
"tsx": "^4.23.0",
|
|
69
|
+
"typescript": "^5.9.3",
|
|
70
|
+
"wrangler": "^4.149.0",
|
|
71
|
+
"yaml": "^2.9.1"
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=22"
|
|
75
|
+
}
|
|
76
|
+
}
|