mcp-ts-template 2.3.1 → 2.3.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/package.json +16 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-ts-template",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"mcpName": "io.github.cyanheads/mcp-ts-template",
|
|
5
5
|
"description": "The definitive, production-grade template for building powerful and scalable Model Context Protocol (MCP) servers with TypeScript, featuring built-in observability (OpenTelemetry), declarative tooling, robust error handling, and a modular, DI-driven architecture.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,30 +31,27 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "bun build ./src/index.ts --outdir ./dist --target node",
|
|
33
33
|
"build:worker": "bun build ./src/worker.ts --outdir ./dist --target bun --no-external",
|
|
34
|
-
"deploy:dev": "bunx wrangler dev",
|
|
35
|
-
"deploy:prod": "bunx wrangler deploy",
|
|
34
|
+
"deploy:dev": "MCP_TRANSPORT_TYPE=http bunx wrangler dev",
|
|
35
|
+
"deploy:prod": "MCP_TRANSPORT_TYPE=http bunx wrangler deploy",
|
|
36
36
|
"start": "bun ./dist/index.js",
|
|
37
|
-
"start:stdio": "
|
|
38
|
-
"start:http": "
|
|
39
|
-
"start:agent": "MCP_LOG_LEVEL=debug bun ./dist/agent/cli/boot.js",
|
|
37
|
+
"start:stdio": "MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js",
|
|
38
|
+
"start:http": "MCP_TRANSPORT_TYPE=http bun ./dist/index.js",
|
|
40
39
|
"dev": "bun --watch src/index.ts",
|
|
41
40
|
"dev:stdio": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=stdio bun --watch src/index.ts",
|
|
42
41
|
"dev:http": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=http bun --watch src/index.ts",
|
|
43
|
-
"dev:agent": "MCP_LOG_LEVEL=debug bun --watch src/agent/cli/boot.ts",
|
|
44
42
|
"devdocs": "bun run scripts/devdocs.ts",
|
|
45
43
|
"devcheck": "bun run scripts/devcheck.ts",
|
|
46
44
|
"rebuild": "bun run scripts/clean.ts && bun run build",
|
|
47
|
-
"docs:generate": "typedoc",
|
|
45
|
+
"docs:generate": "bunx typedoc",
|
|
48
46
|
"depcheck": "bunx depcheck",
|
|
49
|
-
"lint": "eslint .",
|
|
50
|
-
"lint:fix": "eslint . --fix",
|
|
51
|
-
"typecheck": "tsc --noEmit",
|
|
47
|
+
"lint": "bunx eslint .",
|
|
48
|
+
"lint:fix": "bunx eslint . --fix",
|
|
49
|
+
"typecheck": "bunx tsc --noEmit",
|
|
52
50
|
"tree": "bun run scripts/tree.ts",
|
|
53
51
|
"fetch-spec": "bun run scripts/fetch-openapi-spec.ts",
|
|
54
|
-
"format": "
|
|
55
|
-
"prepare": "
|
|
52
|
+
"format": "bunx prettier --write \"**/*.{ts,js,json,md,html,css}\"",
|
|
53
|
+
"prepare": "bunx husky",
|
|
56
54
|
"inspector": "bunx mcp-inspector --config mcp.json --server mcp-ts-template",
|
|
57
|
-
"db:duckdb-example": "MCP_LOG_LEVEL=debug tsc && node dist/storage/duckdbExample.js",
|
|
58
55
|
"test": "bun test --config vitest.config.ts",
|
|
59
56
|
"test:coverage": "bun test --coverage",
|
|
60
57
|
"audit": "bun audit",
|
|
@@ -83,7 +80,7 @@
|
|
|
83
80
|
"jose": "^6.1.0",
|
|
84
81
|
"js-yaml": "^4.1.0",
|
|
85
82
|
"node-cron": "^4.2.1",
|
|
86
|
-
"openai": "^6.0.
|
|
83
|
+
"openai": "^6.0.1",
|
|
87
84
|
"papaparse": "^5.5.3",
|
|
88
85
|
"partial-json": "^0.1.7",
|
|
89
86
|
"pdf-lib": "^1.17.1",
|
|
@@ -97,7 +94,7 @@
|
|
|
97
94
|
"zod": "^3.23.8"
|
|
98
95
|
},
|
|
99
96
|
"devDependencies": {
|
|
100
|
-
"@cloudflare/workers-types": "^4.
|
|
97
|
+
"@cloudflare/workers-types": "^4.20251001.0",
|
|
101
98
|
"@eslint/js": "^9.36.0",
|
|
102
99
|
"@opentelemetry/api": "^1.9.0",
|
|
103
100
|
"@opentelemetry/auto-instrumentations-node": "^0.64.6",
|
|
@@ -111,7 +108,7 @@
|
|
|
111
108
|
"@opentelemetry/semantic-conventions": "^1.37.0",
|
|
112
109
|
"@types/bun": "^1.2.23",
|
|
113
110
|
"@types/js-yaml": "^4.0.9",
|
|
114
|
-
"@types/node": "^24.6.
|
|
111
|
+
"@types/node": "^24.6.2",
|
|
115
112
|
"@types/node-cron": "^3.0.11",
|
|
116
113
|
"@types/papaparse": "^5.3.16",
|
|
117
114
|
"@types/sanitize-html": "^2.16.0",
|
|
@@ -130,9 +127,9 @@
|
|
|
130
127
|
"pino-pretty": "^13.1.1",
|
|
131
128
|
"prettier": "^3.6.2",
|
|
132
129
|
"typedoc": "^0.28.13",
|
|
133
|
-
"typescript": "^5.9.
|
|
130
|
+
"typescript": "^5.9.2",
|
|
134
131
|
"typescript-eslint": "8.45.0",
|
|
135
|
-
"vite": "^7.1.
|
|
132
|
+
"vite": "^7.1.8",
|
|
136
133
|
"vite-tsconfig-paths": "^5.1.4",
|
|
137
134
|
"vitest": "^3.2.4"
|
|
138
135
|
},
|