@vantageos/mcp-boilerplate 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/.claude-plugin/plugin.json +12 -0
- package/LICENSE +21 -0
- package/README.md +183 -0
- package/dist/auth.d.ts +27 -0
- package/dist/auth.js +31 -0
- package/dist/config.d.ts +21 -0
- package/dist/config.js +43 -0
- package/dist/exampleItems.d.ts +13 -0
- package/dist/exampleItems.js +20 -0
- package/dist/http.d.ts +1 -0
- package/dist/http.js +28 -0
- package/dist/httpApp.d.ts +52 -0
- package/dist/httpApp.js +113 -0
- package/dist/i18n.d.ts +33 -0
- package/dist/i18n.js +70 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/locales/en.json +13 -0
- package/dist/locales/fr.json +13 -0
- package/dist/mcpServerFactory.d.ts +60 -0
- package/dist/mcpServerFactory.js +180 -0
- package/dist/stdio.d.ts +8 -0
- package/dist/stdio.js +19 -0
- package/dist/tenancy.d.ts +49 -0
- package/dist/tenancy.js +58 -0
- package/dist/ui/uiResource.d.ts +34 -0
- package/dist/ui/uiResource.js +59 -0
- package/dist/ui-bundle/widget.html +61 -0
- package/examples/claude-desktop.json +8 -0
- package/package.json +86 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vantageos/mcp-boilerplate",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Clonable MCP server skeleton: dual-transport bootstrap (stdio + Streamable HTTP, stateless) on the official @modelcontextprotocol/sdk, ready to extend with protocol-kit, auth, tenant and UI layers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"mcp-boilerplate": "./dist/stdio.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
".claude-plugin/plugin.json",
|
|
23
|
+
"examples/claude-desktop.json"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/elpiarthera/vantage-mcp-boilerplate.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/elpiarthera/vantage-mcp-boilerplate/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/elpiarthera/vantage-mcp-boilerplate#readme",
|
|
36
|
+
"author": "ElPi Corp / Laurent Perello",
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc && mkdir -p dist/locales && cp src/locales/en.json src/locales/fr.json dist/locales/",
|
|
39
|
+
"build:ui": "vite build && mv dist/ui-bundle/index.html dist/ui-bundle/widget.html",
|
|
40
|
+
"pretest": "npm run build && npm run build:ui",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"test:watch": "vitest",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"start:http": "node dist/http.js",
|
|
45
|
+
"start:stdio": "node dist/stdio.js",
|
|
46
|
+
"evals": "npm run build && npm run build:ui && vitest run --config vitest.evals.config.ts",
|
|
47
|
+
"prepublishOnly": "npm run build && npm run build:ui && npm test && npm run evals",
|
|
48
|
+
"lint": "biome check src evals tests",
|
|
49
|
+
"lint:fix": "biome check --write src evals tests"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"mcp",
|
|
53
|
+
"model-context-protocol",
|
|
54
|
+
"boilerplate",
|
|
55
|
+
"starter"
|
|
56
|
+
],
|
|
57
|
+
"license": "MIT",
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=20"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@modelcontextprotocol/ext-apps": "^1.7.5",
|
|
63
|
+
"@modelcontextprotocol/sdk": "^1.13.0",
|
|
64
|
+
"@vantageos/cloud-identity": "^0.3.0",
|
|
65
|
+
"@vantageos/mcp-auth-kit": "^0.1.0",
|
|
66
|
+
"@vantageos/mcp-protocol-kit": "^0.2.0",
|
|
67
|
+
"@vantageos/mosaic-i18n": "^0.1.1",
|
|
68
|
+
"hono": "^4.6.0",
|
|
69
|
+
"jose": "^6.2.7",
|
|
70
|
+
"zod": "^3.23.8"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@biomejs/biome": "1.9.4",
|
|
74
|
+
"@types/node": "^20.14.0",
|
|
75
|
+
"@types/react": "^19.0.0",
|
|
76
|
+
"@types/react-dom": "^19.0.0",
|
|
77
|
+
"@vantageos/mosaic-blocks": "^0.5.34-alpha",
|
|
78
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
79
|
+
"react": "^19.0.0",
|
|
80
|
+
"react-dom": "^19.0.0",
|
|
81
|
+
"typescript": "^5.7.2",
|
|
82
|
+
"vite": "^5.4.0",
|
|
83
|
+
"vite-plugin-singlefile": "^2.0.0",
|
|
84
|
+
"vitest": "^2.1.8"
|
|
85
|
+
}
|
|
86
|
+
}
|