mcp-ts-template 2.4.2 → 2.4.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 +3 -3
- package/dist/index.js +3 -3
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-06-18/changelog.mdx) [](https://modelcontextprotocol.io/) [](./LICENSE) [](https://github.com/cyanheads/mcp-ts-template/issues) [](https://www.typescriptlang.org/) [](https://bun.sh/) [](./coverage/index.html)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -78,7 +78,7 @@ Add the following to your MCP Client configuration file (e.g., `cline_mcp_settin
|
|
|
78
78
|
|
|
79
79
|
### Prerequisites
|
|
80
80
|
|
|
81
|
-
- [Bun v1.2.
|
|
81
|
+
- [Bun v1.2.21](https://bun.sh/) or higher.
|
|
82
82
|
|
|
83
83
|
### Installation
|
|
84
84
|
|
|
@@ -160,7 +160,7 @@ All configuration is centralized and validated at startup in `src/config/index.t
|
|
|
160
160
|
- **Run checks and tests**:
|
|
161
161
|
```sh
|
|
162
162
|
bun devcheck # Lints, formats, type-checks, and more
|
|
163
|
-
bun test # Runs the test suite
|
|
163
|
+
bun run test # Runs the test suite (Do not use 'bun test' directly as it may not work correctly)
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
### Cloudflare Workers
|
package/dist/index.js
CHANGED
|
@@ -117141,7 +117141,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
117141
117141
|
// package.json
|
|
117142
117142
|
var package_default = {
|
|
117143
117143
|
name: "mcp-ts-template",
|
|
117144
|
-
version: "2.4.
|
|
117144
|
+
version: "2.4.3",
|
|
117145
117145
|
mcpName: "io.github.cyanheads/mcp-ts-template",
|
|
117146
117146
|
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.",
|
|
117147
117147
|
main: "dist/index.js",
|
|
@@ -117193,8 +117193,8 @@ var package_default = {
|
|
|
117193
117193
|
format: 'bunx prettier --write "**/*.{ts,js,json,md,html,css}"',
|
|
117194
117194
|
prepare: "bunx husky",
|
|
117195
117195
|
inspector: "bunx mcp-inspector --config mcp.json --server mcp-ts-template",
|
|
117196
|
-
test: "
|
|
117197
|
-
"test:coverage": "
|
|
117196
|
+
test: "bunx vitest run",
|
|
117197
|
+
"test:coverage": "bunx vitest run --coverage",
|
|
117198
117198
|
audit: "bun audit",
|
|
117199
117199
|
"audit:fix": "bun audit --fix",
|
|
117200
117200
|
"publish-mcp": "bun scripts/validate-mcp-publish-schema.ts"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-ts-template",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
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",
|
|
@@ -52,8 +52,10 @@
|
|
|
52
52
|
"format": "bunx prettier --write \"**/*.{ts,js,json,md,html,css}\"",
|
|
53
53
|
"prepare": "bunx husky",
|
|
54
54
|
"inspector": "bunx mcp-inspector --config mcp.json --server mcp-ts-template",
|
|
55
|
-
"test": "
|
|
56
|
-
"test:coverage": "
|
|
55
|
+
"test": "bunx vitest run",
|
|
56
|
+
"test:coverage": "bunx vitest run --coverage",
|
|
57
|
+
"coverage:update": "bun run scripts/update-coverage.ts",
|
|
58
|
+
"coverage:commit": "bun run scripts/update-coverage.ts --commit",
|
|
57
59
|
"audit": "bun audit",
|
|
58
60
|
"audit:fix": "bun audit --fix",
|
|
59
61
|
"publish-mcp": "bun scripts/validate-mcp-publish-schema.ts"
|
|
@@ -66,33 +68,12 @@
|
|
|
66
68
|
"zod": "3.23.8",
|
|
67
69
|
"typescript": "5.9.3"
|
|
68
70
|
},
|
|
69
|
-
"
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@cloudflare/workers-types": "^4.20251011.0",
|
|
73
|
+
"@eslint/js": "^9.37.0",
|
|
70
74
|
"@hono/mcp": "^0.1.4",
|
|
71
75
|
"@hono/node-server": "^1.19.5",
|
|
72
76
|
"@modelcontextprotocol/sdk": "^1.20.0",
|
|
73
|
-
"@supabase/supabase-js": "^2.75.0",
|
|
74
|
-
"axios": "^1.12.2",
|
|
75
|
-
"chrono-node": "^2.9.0",
|
|
76
|
-
"dotenv": "^17.2.3",
|
|
77
|
-
"fast-xml-parser": "^5.3.0",
|
|
78
|
-
"hono": "^4.9.12",
|
|
79
|
-
"ignore": "^7.0.5",
|
|
80
|
-
"jose": "^6.1.0",
|
|
81
|
-
"js-yaml": "^4.1.0",
|
|
82
|
-
"node-cron": "^4.2.1",
|
|
83
|
-
"openai": "^6.3.0",
|
|
84
|
-
"papaparse": "^5.5.3",
|
|
85
|
-
"partial-json": "^0.1.7",
|
|
86
|
-
"pdf-lib": "^1.17.1",
|
|
87
|
-
"pino": "^10.0.0",
|
|
88
|
-
"pino-pretty": "^13.1.2",
|
|
89
|
-
"reflect-metadata": "^0.2.2",
|
|
90
|
-
"repomix": "^1.7.0",
|
|
91
|
-
"sanitize-html": "^2.17.0",
|
|
92
|
-
"tslib": "^2.8.1",
|
|
93
|
-
"tsyringe": "^4.10.0",
|
|
94
|
-
"validator": "13.15.15",
|
|
95
|
-
"zod": "^3.23.8",
|
|
96
77
|
"@opentelemetry/api": "^1.9.0",
|
|
97
78
|
"@opentelemetry/auto-instrumentations-node": "^0.65.0",
|
|
98
79
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.206.0",
|
|
@@ -102,11 +83,8 @@
|
|
|
102
83
|
"@opentelemetry/sdk-metrics": "^2.1.0",
|
|
103
84
|
"@opentelemetry/sdk-node": "^0.206.0",
|
|
104
85
|
"@opentelemetry/sdk-trace-node": "^2.1.0",
|
|
105
|
-
"@opentelemetry/semantic-conventions": "^1.37.0"
|
|
106
|
-
|
|
107
|
-
"devDependencies": {
|
|
108
|
-
"@cloudflare/workers-types": "^4.20251011.0",
|
|
109
|
-
"@eslint/js": "^9.37.0",
|
|
86
|
+
"@opentelemetry/semantic-conventions": "^1.37.0",
|
|
87
|
+
"@supabase/supabase-js": "^2.75.0",
|
|
110
88
|
"@types/bun": "^1.3.0",
|
|
111
89
|
"@types/js-yaml": "^4.0.9",
|
|
112
90
|
"@types/node": "^24.7.2",
|
|
@@ -117,21 +95,43 @@
|
|
|
117
95
|
"@vitest/coverage-v8": "3.2.4",
|
|
118
96
|
"ajv": "^8.17.1",
|
|
119
97
|
"ajv-formats": "^3.0.1",
|
|
98
|
+
"axios": "^1.12.2",
|
|
120
99
|
"bun-types": "^1.3.0",
|
|
100
|
+
"chrono-node": "^2.9.0",
|
|
121
101
|
"clipboardy": "^5.0.0",
|
|
122
102
|
"depcheck": "^1.4.7",
|
|
103
|
+
"dotenv": "^17.2.3",
|
|
123
104
|
"eslint": "^9.37.0",
|
|
124
105
|
"execa": "^9.6.0",
|
|
106
|
+
"fast-xml-parser": "^5.3.0",
|
|
125
107
|
"globals": "^16.4.0",
|
|
108
|
+
"hono": "^4.9.12",
|
|
126
109
|
"husky": "^9.1.7",
|
|
110
|
+
"ignore": "^7.0.5",
|
|
111
|
+
"jose": "^6.1.0",
|
|
112
|
+
"js-yaml": "^4.1.0",
|
|
127
113
|
"msw": "^2.11.5",
|
|
114
|
+
"node-cron": "^4.2.1",
|
|
115
|
+
"openai": "^6.3.0",
|
|
116
|
+
"papaparse": "^5.5.3",
|
|
117
|
+
"partial-json": "^0.1.7",
|
|
118
|
+
"pdf-lib": "^1.17.1",
|
|
119
|
+
"pino": "^10.0.0",
|
|
120
|
+
"pino-pretty": "^13.1.2",
|
|
128
121
|
"prettier": "^3.6.2",
|
|
122
|
+
"reflect-metadata": "^0.2.2",
|
|
123
|
+
"repomix": "^1.7.0",
|
|
124
|
+
"sanitize-html": "^2.17.0",
|
|
125
|
+
"tslib": "^2.8.1",
|
|
126
|
+
"tsyringe": "^4.10.0",
|
|
129
127
|
"typedoc": "^0.28.14",
|
|
130
128
|
"typescript": "^5.9.3",
|
|
131
129
|
"typescript-eslint": "8.46.1",
|
|
130
|
+
"validator": "13.15.15",
|
|
132
131
|
"vite": "7.1.10",
|
|
133
132
|
"vite-tsconfig-paths": "^5.1.4",
|
|
134
|
-
"vitest": "^3.2.4"
|
|
133
|
+
"vitest": "^3.2.4",
|
|
134
|
+
"zod": "^3.23.8"
|
|
135
135
|
},
|
|
136
136
|
"keywords": [
|
|
137
137
|
"agent",
|