mcp-ts-template 2.1.7 → 2.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.
Files changed (4) hide show
  1. package/README.md +58 -49
  2. package/dist/index.js +336 -124
  3. package/package.json +5 -3
  4. package/dist/worker.js +0 -60707
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-ts-template",
3
- "version": "2.1.7",
3
+ "version": "2.2.0",
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",
@@ -55,8 +55,8 @@
55
55
  "prepare": "[ -d .husky ] && husky || true",
56
56
  "inspector": "bunx mcp-inspector --config mcp.json --server mcp-ts-template",
57
57
  "db:duckdb-example": "MCP_LOG_LEVEL=debug tsc && node dist/storage/duckdbExample.js",
58
- "test": "bun test",
59
- "test:coverage": "bun test --coverage",
58
+ "test": "bun test --config vitest.config.ts",
59
+ "test:coverage": "bun test --coverage --config vitest.config.ts",
60
60
  "audit": "bun audit",
61
61
  "audit:fix": "bun audit --fix",
62
62
  "publish-mcp": "bun scripts/validate-mcp-publish-schema.ts"
@@ -90,6 +90,7 @@
90
90
  "reflect-metadata": "^0.2.2",
91
91
  "repomix": "^1.6.0",
92
92
  "sanitize-html": "^2.17.0",
93
+ "@apidevtools/swagger-parser": "^12.0.0",
93
94
  "tslib": "^2.8.1",
94
95
  "tsyringe": "^4.10.0",
95
96
  "validator": "13.15.15",
@@ -153,6 +154,7 @@
153
154
  "mcp",
154
155
  "model-context-protocol",
155
156
  "mcp-server",
157
+ "elicitation",
156
158
  "observability",
157
159
  "opentelemetry",
158
160
  "otel",