@myspec/mcp-server 0.1.0-next.10 → 0.1.0-next.12

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 (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +4 -1
package/dist/index.js CHANGED
@@ -3381,7 +3381,8 @@ async function runOneConnection(opts) {
3381
3381
  headers: {
3382
3382
  Authorization: `Bearer ${opts.accessToken}`,
3383
3383
  "X-Mcp-Client": `myspec-mcp-server/${opts.version}`,
3384
- "X-Mcp-Root-Label": opts.rootLabel
3384
+ "X-Mcp-Root-Label": opts.rootLabel,
3385
+ "X-Client-Type": "mcp-server"
3385
3386
  }
3386
3387
  });
3387
3388
  await waitForOpen(ws);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myspec/mcp-server",
3
- "version": "0.1.0-next.10",
3
+ "version": "0.1.0-next.12",
4
4
  "description": "MySpec MCP server — exposes MySpec platform projects, files and attachments to MCP-aware clients via OAuth-authenticated access tokens.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -23,6 +23,8 @@
23
23
  "typecheck": "tsc --noEmit",
24
24
  "test": "vitest run",
25
25
  "test:watch": "vitest",
26
+ "test:coverage": "vitest run --coverage",
27
+ "coverage:check": "npx tsx scripts/check-coverage.ts",
26
28
  "test:integration": "npm run build && vitest run --config vitest.integration.config.ts",
27
29
  "lint": "eslint src",
28
30
  "lint:fix": "eslint src --fix",
@@ -52,6 +54,7 @@
52
54
  "@myspec/shared": "file:../../packages/shared",
53
55
  "@types/node": "^25.9.1",
54
56
  "@types/ws": "^8.18.1",
57
+ "@vitest/coverage-v8": "^3.0.0",
55
58
  "eslint": "^10.4.1",
56
59
  "tsup": "^8.3.5",
57
60
  "tsx": "^4.22.3",