@cyanheads/mcp-ts-core 0.9.0 → 0.9.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.
Files changed (95) hide show
  1. package/CLAUDE.md +2 -1
  2. package/README.md +6 -2
  3. package/changelog/0.9.x/0.9.1.md +41 -0
  4. package/changelog/0.9.x/0.9.2.md +55 -0
  5. package/dist/cli/init.js +1 -1
  6. package/dist/cli/init.js.map +1 -1
  7. package/dist/core/app.d.ts.map +1 -1
  8. package/dist/core/app.js +3 -0
  9. package/dist/core/app.js.map +1 -1
  10. package/dist/core/context.d.ts +6 -0
  11. package/dist/core/context.d.ts.map +1 -1
  12. package/dist/core/context.js +2 -0
  13. package/dist/core/context.js.map +1 -1
  14. package/dist/core/serverManifest.d.ts +8 -2
  15. package/dist/core/serverManifest.d.ts.map +1 -1
  16. package/dist/core/serverManifest.js +16 -2
  17. package/dist/core/serverManifest.js.map +1 -1
  18. package/dist/linter/rules/format-parity-rules.d.ts.map +1 -1
  19. package/dist/linter/rules/format-parity-rules.js +134 -106
  20. package/dist/linter/rules/format-parity-rules.js.map +1 -1
  21. package/dist/logs/combined.log +7 -7
  22. package/dist/logs/error.log +5 -5
  23. package/dist/mcp-server/resources/resource-registration.d.ts.map +1 -1
  24. package/dist/mcp-server/resources/resource-registration.js +2 -0
  25. package/dist/mcp-server/resources/resource-registration.js.map +1 -1
  26. package/dist/mcp-server/resources/utils/resourceHandlerFactory.d.ts +2 -0
  27. package/dist/mcp-server/resources/utils/resourceHandlerFactory.d.ts.map +1 -1
  28. package/dist/mcp-server/resources/utils/resourceHandlerFactory.js +2 -0
  29. package/dist/mcp-server/resources/utils/resourceHandlerFactory.js.map +1 -1
  30. package/dist/mcp-server/server.d.ts +7 -0
  31. package/dist/mcp-server/server.d.ts.map +1 -1
  32. package/dist/mcp-server/server.js +11 -7
  33. package/dist/mcp-server/server.js.map +1 -1
  34. package/dist/mcp-server/tools/tool-registration.d.ts.map +1 -1
  35. package/dist/mcp-server/tools/tool-registration.js +4 -0
  36. package/dist/mcp-server/tools/tool-registration.js.map +1 -1
  37. package/dist/mcp-server/tools/utils/toolHandlerFactory.d.ts +2 -0
  38. package/dist/mcp-server/tools/utils/toolHandlerFactory.d.ts.map +1 -1
  39. package/dist/mcp-server/tools/utils/toolHandlerFactory.js +2 -0
  40. package/dist/mcp-server/tools/utils/toolHandlerFactory.js.map +1 -1
  41. package/dist/mcp-server/transports/http/httpTransport.d.ts.map +1 -1
  42. package/dist/mcp-server/transports/http/httpTransport.js +9 -0
  43. package/dist/mcp-server/transports/http/httpTransport.js.map +1 -1
  44. package/dist/mcp-server/transports/http/landing-page/assets/styles.d.ts.map +1 -1
  45. package/dist/mcp-server/transports/http/landing-page/assets/styles.js +90 -72
  46. package/dist/mcp-server/transports/http/landing-page/assets/styles.js.map +1 -1
  47. package/dist/mcp-server/transports/http/landing-page/sections/connect.d.ts +6 -4
  48. package/dist/mcp-server/transports/http/landing-page/sections/connect.d.ts.map +1 -1
  49. package/dist/mcp-server/transports/http/landing-page/sections/connect.js +76 -19
  50. package/dist/mcp-server/transports/http/landing-page/sections/connect.js.map +1 -1
  51. package/dist/mcp-server/transports/http/landing-page/sections/head.d.ts +2 -1
  52. package/dist/mcp-server/transports/http/landing-page/sections/head.d.ts.map +1 -1
  53. package/dist/mcp-server/transports/http/landing-page/sections/head.js +20 -2
  54. package/dist/mcp-server/transports/http/landing-page/sections/head.js.map +1 -1
  55. package/dist/mcp-server/transports/http/landing-page/sections/prompts.js +1 -1
  56. package/dist/mcp-server/transports/http/landing-page/sections/prompts.js.map +1 -1
  57. package/dist/mcp-server/transports/http/landing-page/sections/resources.js +1 -1
  58. package/dist/mcp-server/transports/http/landing-page/sections/resources.js.map +1 -1
  59. package/dist/mcp-server/transports/http/landing-page/sections/tools.js +23 -16
  60. package/dist/mcp-server/transports/http/landing-page/sections/tools.js.map +1 -1
  61. package/dist/mcp-server/transports/http/robotsTxt.d.ts +24 -0
  62. package/dist/mcp-server/transports/http/robotsTxt.d.ts.map +1 -0
  63. package/dist/mcp-server/transports/http/robotsTxt.js +39 -0
  64. package/dist/mcp-server/transports/http/robotsTxt.js.map +1 -0
  65. package/dist/testing/fuzz.js +1 -1
  66. package/dist/testing/fuzz.js.map +1 -1
  67. package/dist/testing/index.d.ts +4 -0
  68. package/dist/testing/index.d.ts.map +1 -1
  69. package/dist/testing/index.js +2 -0
  70. package/dist/testing/index.js.map +1 -1
  71. package/dist/utils/telemetry/instrumentation.d.ts.map +1 -1
  72. package/dist/utils/telemetry/instrumentation.js +5 -6
  73. package/dist/utils/telemetry/instrumentation.js.map +1 -1
  74. package/package.json +40 -35
  75. package/scripts/devcheck.ts +35 -4
  76. package/scripts/lint-packaging.ts +116 -0
  77. package/scripts/list-skills.ts +170 -0
  78. package/skills/api-workers/SKILL.md +15 -1
  79. package/skills/field-test/SKILL.md +96 -90
  80. package/skills/maintenance/SKILL.md +3 -1
  81. package/skills/multi-server-orchestration/SKILL.md +123 -0
  82. package/skills/multi-server-orchestration/references/greenfield-buildout.md +215 -0
  83. package/skills/multi-server-orchestration/references/maintenance-pass.md +119 -0
  84. package/skills/multi-server-orchestration/references/release-pass.md +189 -0
  85. package/skills/polish-docs-meta/SKILL.md +1 -1
  86. package/skills/polish-docs-meta/references/package-meta.md +1 -1
  87. package/skills/polish-docs-meta/references/readme.md +10 -7
  88. package/skills/polish-docs-meta/references/server-json.md +2 -2
  89. package/skills/release-and-publish/SKILL.md +38 -7
  90. package/skills/setup/SKILL.md +1 -1
  91. package/templates/AGENTS.md +37 -0
  92. package/templates/CLAUDE.md +37 -0
  93. package/templates/_.mcpbignore +13 -0
  94. package/templates/manifest.json +26 -0
  95. package/templates/package.json +6 -1
@@ -53,89 +53,114 @@ function unwrapSchema(schema) {
53
53
  function stringSentinel(path) {
54
54
  return `__MCP_PARITY_${path.replace(/[.[\]]/g, '_')}__`;
55
55
  }
56
- /** Builds a synthetic value and collects every leaf path simultaneously. */
57
- function walk(schema, path, keyName, state) {
58
- if (state.depth > 8)
59
- return null;
60
- state.depth++;
61
- try {
62
- const node = unwrapSchema(schema);
63
- const type = zodTypeOf(node);
64
- const n = node;
65
- switch (type) {
66
- case 'string': {
67
- const sentinel = stringSentinel(path || keyName || 'root');
68
- state.leaves.push({ path, keyName, sentinel, matchStrategy: 'strict' });
69
- return sentinel;
70
- }
71
- case 'number':
72
- case 'int':
73
- case 'bigint': {
74
- const sentinel = 900_000_001 + state.numberIndex++;
75
- state.leaves.push({ path, keyName, sentinel, matchStrategy: 'strict' });
76
- return sentinel;
77
- }
78
- case 'boolean': {
79
- state.leaves.push({ path, keyName, sentinel: true, matchStrategy: 'permissive' });
80
- return true;
81
- }
82
- case 'enum': {
83
- // Zod 4 exposes options as array on the schema itself.
84
- const options = n.options ?? getDefOptions(n);
85
- const value = Array.isArray(options) && options.length > 0 ? options[0] : '';
86
- state.leaves.push({ path, keyName, sentinel: value, matchStrategy: 'permissive' });
87
- return value;
88
- }
89
- case 'literal': {
90
- const value = n.value ?? getDefValue(n);
91
- state.leaves.push({ path, keyName, sentinel: value, matchStrategy: 'permissive' });
92
- return value;
93
- }
94
- case 'array': {
95
- const element = n.element ?? getDefElement(n);
96
- return [walk(element, `${path}[]`, keyName, state)];
97
- }
98
- case 'object': {
99
- const shape = n.shape ?? {};
100
- const out = {};
101
- for (const [key, childSchema] of Object.entries(shape)) {
102
- const childPath = path ? `${path}.${key}` : key;
103
- out[key] = walk(childSchema, childPath, key, state);
56
+ /** Terminal variant: append one leaf and use its sentinel as the synthetic value. */
57
+ function leafVariant(state, leaf, numberIndex = state.numberIndex) {
58
+ return {
59
+ value: leaf.sentinel,
60
+ numberIndex,
61
+ leaves: [...state.leaves, leaf],
62
+ };
63
+ }
64
+ /** Builds synthetic values and collects every leaf path for each union branch. */
65
+ function walkVariants(schema, path, keyName, state, depth = 0) {
66
+ if (depth > 8)
67
+ return [{ ...state, value: null }];
68
+ const node = unwrapSchema(schema);
69
+ const type = zodTypeOf(node);
70
+ const n = node;
71
+ switch (type) {
72
+ case 'string': {
73
+ const sentinel = stringSentinel(path || keyName || 'root');
74
+ return [leafVariant(state, { path, keyName, sentinel, matchStrategy: 'strict' })];
75
+ }
76
+ case 'number':
77
+ case 'int':
78
+ case 'bigint': {
79
+ const sentinel = 900_000_001 + state.numberIndex;
80
+ return [
81
+ leafVariant(state, { path, keyName, sentinel, matchStrategy: 'strict' }, state.numberIndex + 1),
82
+ ];
83
+ }
84
+ case 'boolean':
85
+ return [leafVariant(state, { path, keyName, sentinel: true, matchStrategy: 'permissive' })];
86
+ case 'enum': {
87
+ // Zod 4 exposes options as array on the schema itself.
88
+ const options = n.options ?? getDefOptions(n);
89
+ const value = Array.isArray(options) && options.length > 0 ? options[0] : '';
90
+ return [leafVariant(state, { path, keyName, sentinel: value, matchStrategy: 'permissive' })];
91
+ }
92
+ case 'literal': {
93
+ const value = n.value ?? getDefValue(n);
94
+ return [leafVariant(state, { path, keyName, sentinel: value, matchStrategy: 'permissive' })];
95
+ }
96
+ case 'array': {
97
+ const element = n.element ?? getDefElement(n);
98
+ return walkVariants(element, `${path}[]`, keyName, state, depth + 1).map((variant) => ({
99
+ ...variant,
100
+ value: [variant.value],
101
+ }));
102
+ }
103
+ case 'object': {
104
+ const shape = n.shape ?? {};
105
+ let variants = [{ ...state, value: {} }];
106
+ for (const [key, childSchema] of Object.entries(shape)) {
107
+ const childPath = path ? `${path}.${key}` : key;
108
+ const nextVariants = [];
109
+ for (const variant of variants) {
110
+ for (const child of walkVariants(childSchema, childPath, key, { leaves: variant.leaves, numberIndex: variant.numberIndex }, depth + 1)) {
111
+ nextVariants.push({
112
+ value: { ...variant.value, [key]: child.value },
113
+ leaves: child.leaves,
114
+ numberIndex: child.numberIndex,
115
+ });
116
+ }
104
117
  }
105
- return out;
118
+ variants = nextVariants;
106
119
  }
107
- case 'union':
108
- case 'discriminated_union': {
109
- const options = getDefOptions(n);
110
- if (Array.isArray(options) && options.length > 0) {
111
- return walk(options[0], path, keyName, state);
112
- }
113
- return null;
120
+ return variants;
121
+ }
122
+ case 'union':
123
+ case 'discriminated_union': {
124
+ const options = getDefOptions(n);
125
+ if (Array.isArray(options) && options.length > 0) {
126
+ return options.flatMap((option) => walkVariants(option, path, keyName, state, depth + 1));
114
127
  }
115
- case 'record': {
116
- const valueSchema = getDefValueType(n);
117
- if (valueSchema) {
118
- return { parity_key: walk(valueSchema, `${path}.<key>`, keyName, state) };
119
- }
120
- return {};
128
+ return [{ ...state, value: null }];
129
+ }
130
+ case 'record': {
131
+ const valueSchema = getDefValueType(n);
132
+ if (valueSchema) {
133
+ return walkVariants(valueSchema, `${path}.<key>`, keyName, state, depth + 1).map((variant) => ({
134
+ ...variant,
135
+ value: { parity_key: variant.value },
136
+ }));
121
137
  }
122
- case 'tuple': {
123
- const items = getDefItems(n);
124
- if (Array.isArray(items)) {
125
- return items.map((item, i) => walk(item, `${path}[${i}]`, keyName, state));
138
+ return [{ ...state, value: {} }];
139
+ }
140
+ case 'tuple': {
141
+ const items = getDefItems(n);
142
+ if (!Array.isArray(items))
143
+ return [{ ...state, value: [] }];
144
+ let variants = [{ ...state, value: [] }];
145
+ for (const [i, item] of items.entries()) {
146
+ const nextVariants = [];
147
+ for (const variant of variants) {
148
+ for (const child of walkVariants(item, `${path}[${i}]`, keyName, { leaves: variant.leaves, numberIndex: variant.numberIndex }, depth + 1)) {
149
+ nextVariants.push({
150
+ value: [...variant.value, child.value],
151
+ leaves: child.leaves,
152
+ numberIndex: child.numberIndex,
153
+ });
154
+ }
126
155
  }
127
- return [];
128
- }
129
- default: {
130
- // Unknown/unsupported type — emit leaf with permissive fallback so the
131
- // rule still asks "did format render this field's key somehow?"
132
- state.leaves.push({ path, keyName, sentinel: null, matchStrategy: 'permissive' });
133
- return null;
156
+ variants = nextVariants;
134
157
  }
158
+ return variants;
135
159
  }
136
- }
137
- finally {
138
- state.depth--;
160
+ default:
161
+ // Unknown/unsupported type — emit leaf with permissive fallback so the
162
+ // rule still asks "did format render this field's key somehow?"
163
+ return [leafVariant(state, { path, keyName, sentinel: null, matchStrategy: 'permissive' })];
139
164
  }
140
165
  }
141
166
  function getDefOptions(node) {
@@ -327,11 +352,11 @@ export function lintFormatParity(def, displayName) {
327
352
  return [];
328
353
  if (typeof format !== 'function')
329
354
  return [];
330
- // Build synthetic sample.
331
- const state = { leaves: [], numberIndex: 0, depth: 0 };
332
- let synthetic;
355
+ // Build synthetic samples. Union schemas produce one sample per branch so
356
+ // list/detail variants are checked against their own formatter path.
357
+ let syntheticVariants;
333
358
  try {
334
- synthetic = walk(output, '', '', state);
359
+ syntheticVariants = walkVariants(output, '', '', { leaves: [], numberIndex: 0 });
335
360
  }
336
361
  catch (err) {
337
362
  return [
@@ -346,33 +371,36 @@ export function lintFormatParity(def, displayName) {
346
371
  },
347
372
  ];
348
373
  }
349
- if (state.leaves.length === 0)
374
+ if (syntheticVariants.every((variant) => variant.leaves.length === 0))
350
375
  return [];
351
- // Run format().
352
- let rendered;
353
- try {
354
- const result = format(synthetic);
355
- rendered = extractText(result);
356
- }
357
- catch (err) {
358
- return [
359
- {
360
- rule: 'format-parity-threw',
361
- severity: 'warning',
362
- message: `Tool '${displayName}' format() threw on a synthetic sample ` +
363
- `(${err instanceof Error ? err.message : String(err)}). ` +
364
- 'format() should be total render any valid value of the output schema.',
365
- definitionType: 'tool',
366
- definitionName: displayName,
367
- },
368
- ];
369
- }
370
- // Verify each leaf.
371
- const diagnostics = [];
372
- for (const leaf of state.leaves) {
373
- if (!leafIsRendered(leaf, rendered)) {
376
+ // Run format() and verify each leaf for every variant.
377
+ const diagnosticsByPath = new Map();
378
+ for (const variant of syntheticVariants) {
379
+ let rendered;
380
+ try {
381
+ const result = format(variant.value);
382
+ rendered = extractText(result);
383
+ }
384
+ catch (err) {
385
+ return [
386
+ {
387
+ rule: 'format-parity-threw',
388
+ severity: 'warning',
389
+ message: `Tool '${displayName}' format() threw on a synthetic sample ` +
390
+ `(${err instanceof Error ? err.message : String(err)}). ` +
391
+ 'format() should be total — render any valid value of the output schema.',
392
+ definitionType: 'tool',
393
+ definitionName: displayName,
394
+ },
395
+ ];
396
+ }
397
+ for (const leaf of variant.leaves) {
398
+ if (leafIsRendered(leaf, rendered))
399
+ continue;
374
400
  const displayPath = leaf.path || leaf.keyName || '<root>';
375
- diagnostics.push({
401
+ if (diagnosticsByPath.has(displayPath))
402
+ continue;
403
+ diagnosticsByPath.set(displayPath, {
376
404
  rule: 'format-parity',
377
405
  severity: 'error',
378
406
  message: `Tool '${displayName}' format() does not render output field '${displayPath}'.\n` +
@@ -387,6 +415,6 @@ export function lintFormatParity(def, displayName) {
387
415
  });
388
416
  }
389
417
  }
390
- return diagnostics;
418
+ return [...diagnosticsByPath.values()];
391
419
  }
392
420
  //# sourceMappingURL=format-parity-rules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"format-parity-rules.js","sourceRoot":"","sources":["../../../src/linter/rules/format-parity-rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AA2BH,yFAAyF;AACzF,SAAS,SAAS,CAAC,MAAe;IAChC,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,EAAE,CAAC;IACrD,MAAM,CAAC,GAAG,MAA0E,CAAC;IACrF,OAAO,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;GAGG;AACH,SAAS,YAAY,CAAC,MAAe;IACnC,IAAI,OAAO,GAAG,MAAM,CAAC;IACrB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5B,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAChC,IAAI,IAAI,KAAK,UAAU,IAAI,IAAI,KAAK,UAAU,IAAI,IAAI,KAAK,SAAS;YAAE,O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AC;QACb,OAAO;YACL;gBACE,IAAI,EAAE,qBAAqB;gBAC3B,QAAQ,EAAE,SAAS;gBACnB,OAAO,EACL,SAAS,WAAW,yCAAyC;oBAC7D,IAAI,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK;oBACzD,yEAAyE;gBAC3E,cAAc,EAAE,MAAM;gBACtB,cAAc,EAAE,WAAW;aAC5B;SACF,CAAC;IACJ,CAAC;IAED,oBAAoB;IACpB,MAAM,WAAW,GAAqB,EAAE,CAAC;IACzC,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QAChC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YACpC,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,QAAQ,CAAC;YAC1D,WAAW,CAAC,IAAI,CAAC;gBACf,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,OAAO;gBACjB,OAAO,EACL,SAAS,WAAW,4CAA4C,WAAW,MAAM;oBACjF,kGAAkG;oBAClG,mFAAmF;oBACnF,sFAAsF;oBACtF,wJAAwJ;oBACxJ,4IAA4I;oBAC5I,6PAA6P;gBAC/P,cAAc,EAAE,MAAM;gBACtB,cAAc,EAAE,WAAW;aAC5B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC"}
1
+ {"version":3,"file":"format-parity-rules.js","sourceRoot":"","sources":["../../../src/linter/rules/format-parity-rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AA8BH,yFAAyF;AACzF,SAAS,SAAS,CAAC,MAAe;IAChC,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,EAAE,CAAC;IACrD,MAAM,CAAC,GAAG,MAA0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KAAK;wBACzD,yEAAyE;oBAC3E,cAAc,EAAE,MAAM;oBACtB,cAAc,EAAE,WAAW;iBAC5B;aACF,CAAC;QACJ,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;YAClC,IAAI,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC;gBAAE,SAAS;YAC7C,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,QAAQ,CAAC;YAC1D,IAAI,iBAAiB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAAE,SAAS;YACjD,iBAAiB,CAAC,GAAG,CAAC,WAAW,EAAE;gBACjC,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,OAAO;gBACjB,OAAO,EACL,SAAS,WAAW,4CAA4C,WAAW,MAAM;oBACjF,kGAAkG;oBAClG,mFAAmF;oBACnF,sFAAsF;oBACtF,wJAAwJ;oBACxJ,4IAA4I;oBAC5I,6PAA6P;gBAC/P,cAAc,EAAE,MAAM;gBACtB,cAAc,EAAE,WAAW;aAC5B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,CAAC,GAAG,iBAAiB,CAAC,MAAM,EAAE,CAAC,CAAC;AACzC,CAAC"}
@@ -1,7 +1,7 @@
1
- {"level":40,"time":1778519252644,"env":"testing","version":"0.9.0","pid":67110,"transport":"http","requestId":"GOLN7-GE8MO","timestamp":"2026-05-11T17:07:32.643Z","operation":"TransportManager.start","component":"HttpTransportSetup","msg":"MCP_ALLOWED_ORIGINS is not set — CORS is wildcard for CLI clients; browser Origin headers are restricted to loopback. Set MCP_ALLOWED_ORIGINS for production deployments accepting remote browser origins."}
2
- {"level":40,"time":1778519254559,"env":"testing","version":"0.9.0","pid":67110,"transport":"http","requestId":"GOLN7-GE8MO","timestamp":"2026-05-11T17:07:32.643Z","operation":"TransportManager.start","component":"HttpTransportSetup","sessionId":"not-a-real-session-1778519254559","msg":"Session validation failed - invalid or hijacked session"}
3
- {"level":50,"time":1778519258602,"env":"testing","version":"0.0.0-test","pid":68113,"requestId":"UZNP7-OM4HO","timestamp":"2026-05-11T17:07:38.601Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"e544627474f097410d0b6003493710b37cc35ce2f12b8f658f08bae1d84ea14f","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"e544627474f097410d0b6003493710b37cc35ce2f12b8f658f08bae1d84ea14f","toolName":"scoped_echo","requestId":"UZNP7-OM4HO","timestamp":"2026-05-11T17:07:38.601Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:182:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
4
- {"level":50,"time":1778519258611,"env":"testing","version":"0.0.0-test","pid":68113,"requestId":"P90OS-MTCQ7","timestamp":"2026-05-11T17:07:38.611Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"cc5e4a439a32f2d1299ffb79a44bbcd346bafebfc33a41b4377c33810956722b","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"cc5e4a439a32f2d1299ffb79a44bbcd346bafebfc33a41b4377c33810956722b","toolName":"scoped_echo","requestId":"P90OS-MTCQ7","timestamp":"2026-05-11T17:07:38.611Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:182:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
5
- {"level":50,"time":1778519260005,"env":"testing","version":"0.9.0","pid":68451,"requestId":"X79FJ-LXYAD","timestamp":"2026-05-11T17:07:40.005Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"X79FJ-LXYAD","timestamp":"2026-05-11T17:07:40.005Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:231:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
6
- {"level":50,"time":1778519260020,"env":"testing","version":"0.9.0","pid":68451,"requestId":"J0TP7-4YVYB","timestamp":"2026-05-11T17:07:40.020Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"J0TP7-4YVYB","timestamp":"2026-05-11T17:07:40.020Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Token has expired.","originalStack":"McpError: Token has expired.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at handleJoseVerifyError (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/claimParser.js:72:11)\n at verify (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/strategies/jwtStrategy.js:91:13)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Token has expired.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Token has expired."}
7
- {"level":50,"time":1778519260024,"env":"testing","version":"0.9.0","pid":68451,"requestId":"0BA2S-NO6ZU","timestamp":"2026-05-11T17:07:40.024Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"GET","errorData":{"path":"/mcp","method":"GET","requestId":"0BA2S-NO6ZU","timestamp":"2026-05-11T17:07:40.024Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:231:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
1
+ {"level":40,"time":1779502476945,"env":"testing","version":"0.9.2","pid":7052,"transport":"http","requestId":"TVDXO-GDGLD","timestamp":"2026-05-23T02:14:36.945Z","operation":"TransportManager.start","component":"HttpTransportSetup","msg":"MCP_ALLOWED_ORIGINS is not set — CORS is wildcard for CLI clients; browser Origin headers are restricted to loopback. Set MCP_ALLOWED_ORIGINS for production deployments accepting remote browser origins."}
2
+ {"level":40,"time":1779502478669,"env":"testing","version":"0.9.2","pid":7052,"transport":"http","requestId":"TVDXO-GDGLD","timestamp":"2026-05-23T02:14:36.945Z","operation":"TransportManager.start","component":"HttpTransportSetup","sessionId":"not-a-real-session-1779502478668","msg":"Session validation failed - invalid or hijacked session"}
3
+ {"level":50,"time":1779502482526,"env":"testing","version":"0.0.0-test","pid":7127,"requestId":"1WGDS-4VZST","timestamp":"2026-05-23T02:14:42.526Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"27a67439512d6211a3726ade80d2260c415d6d46a5ef1a740dd9226cbc14d696","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"27a67439512d6211a3726ade80d2260c415d6d46a5ef1a740dd9226cbc14d696","toolName":"scoped_echo","requestId":"1WGDS-4VZST","timestamp":"2026-05-23T02:14:42.526Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:184:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
4
+ {"level":50,"time":1779502482533,"env":"testing","version":"0.0.0-test","pid":7127,"requestId":"MUT08-CF3QS","timestamp":"2026-05-23T02:14:42.532Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"c147d3c387ef7cf45510ca4cac3de7dd82733bbdea68685fdd985ad1e1fc8d43","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"c147d3c387ef7cf45510ca4cac3de7dd82733bbdea68685fdd985ad1e1fc8d43","toolName":"scoped_echo","requestId":"MUT08-CF3QS","timestamp":"2026-05-23T02:14:42.532Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:184:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
5
+ {"level":50,"time":1779502483928,"env":"testing","version":"0.9.2","pid":7166,"requestId":"MNP6J-ZSRO1","timestamp":"2026-05-23T02:14:43.927Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"MNP6J-ZSRO1","timestamp":"2026-05-23T02:14:43.927Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:232:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
6
+ {"level":50,"time":1779502483943,"env":"testing","version":"0.9.2","pid":7166,"requestId":"G1UMV-F5UUV","timestamp":"2026-05-23T02:14:43.943Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"G1UMV-F5UUV","timestamp":"2026-05-23T02:14:43.943Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Token has expired.","originalStack":"McpError: Token has expired.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at handleJoseVerifyError (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/claimParser.js:72:11)\n at verify (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/strategies/jwtStrategy.js:91:13)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Token has expired.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Token has expired."}
7
+ {"level":50,"time":1779502483946,"env":"testing","version":"0.9.2","pid":7166,"requestId":"89AJR-E5YLL","timestamp":"2026-05-23T02:14:43.946Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"GET","errorData":{"path":"/mcp","method":"GET","requestId":"89AJR-E5YLL","timestamp":"2026-05-23T02:14:43.946Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:232:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
@@ -1,5 +1,5 @@
1
- {"level":50,"time":1778519258602,"env":"testing","version":"0.0.0-test","pid":68113,"requestId":"UZNP7-OM4HO","timestamp":"2026-05-11T17:07:38.601Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"e544627474f097410d0b6003493710b37cc35ce2f12b8f658f08bae1d84ea14f","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"e544627474f097410d0b6003493710b37cc35ce2f12b8f658f08bae1d84ea14f","toolName":"scoped_echo","requestId":"UZNP7-OM4HO","timestamp":"2026-05-11T17:07:38.601Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:182:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
2
- {"level":50,"time":1778519258611,"env":"testing","version":"0.0.0-test","pid":68113,"requestId":"P90OS-MTCQ7","timestamp":"2026-05-11T17:07:38.611Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"cc5e4a439a32f2d1299ffb79a44bbcd346bafebfc33a41b4377c33810956722b","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"cc5e4a439a32f2d1299ffb79a44bbcd346bafebfc33a41b4377c33810956722b","toolName":"scoped_echo","requestId":"P90OS-MTCQ7","timestamp":"2026-05-11T17:07:38.611Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:182:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
3
- {"level":50,"time":1778519260005,"env":"testing","version":"0.9.0","pid":68451,"requestId":"X79FJ-LXYAD","timestamp":"2026-05-11T17:07:40.005Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"X79FJ-LXYAD","timestamp":"2026-05-11T17:07:40.005Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:231:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
4
- {"level":50,"time":1778519260020,"env":"testing","version":"0.9.0","pid":68451,"requestId":"J0TP7-4YVYB","timestamp":"2026-05-11T17:07:40.020Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"J0TP7-4YVYB","timestamp":"2026-05-11T17:07:40.020Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Token has expired.","originalStack":"McpError: Token has expired.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at handleJoseVerifyError (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/claimParser.js:72:11)\n at verify (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/strategies/jwtStrategy.js:91:13)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Token has expired.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Token has expired."}
5
- {"level":50,"time":1778519260024,"env":"testing","version":"0.9.0","pid":68451,"requestId":"0BA2S-NO6ZU","timestamp":"2026-05-11T17:07:40.024Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"GET","errorData":{"path":"/mcp","method":"GET","requestId":"0BA2S-NO6ZU","timestamp":"2026-05-11T17:07:40.024Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:231:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
1
+ {"level":50,"time":1779502482526,"env":"testing","version":"0.0.0-test","pid":7127,"requestId":"1WGDS-4VZST","timestamp":"2026-05-23T02:14:42.526Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"27a67439512d6211a3726ade80d2260c415d6d46a5ef1a740dd9226cbc14d696","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"27a67439512d6211a3726ade80d2260c415d6d46a5ef1a740dd9226cbc14d696","toolName":"scoped_echo","requestId":"1WGDS-4VZST","timestamp":"2026-05-23T02:14:42.526Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["tool:other:read"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:184:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
2
+ {"level":50,"time":1779502482533,"env":"testing","version":"0.0.0-test","pid":7127,"requestId":"MUT08-CF3QS","timestamp":"2026-05-23T02:14:42.532Z","operation":"HandleToolRequest","critical":false,"errorCode":-32005,"originalErrorType":"McpError","finalErrorType":"McpError","sessionId":"c147d3c387ef7cf45510ca4cac3de7dd82733bbdea68685fdd985ad1e1fc8d43","toolName":"scoped_echo","tenantId":"authz-tenant","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"errorData":{"sessionId":"c147d3c387ef7cf45510ca4cac3de7dd82733bbdea68685fdd985ad1e1fc8d43","toolName":"scoped_echo","requestId":"MUT08-CF3QS","timestamp":"2026-05-23T02:14:42.532Z","tenantId":"authz-tenant","operation":"HandleToolRequest","auth":{"sub":"authz-user","scopes":["openid","email","profile","offline_access"],"clientId":"authz-client","tenantId":"authz-tenant","token":"[REDACTED]"},"originalErrorName":"McpError","originalMessage":"Insufficient permissions.","originalStack":"McpError: Insufficient permissions.\n at forbidden (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:84:58)\n at withRequiredScopes (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/authUtils.js:68:15)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:146:17)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Insufficient permissions.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/tools/utils/toolHandlerFactory.js:184:26)\n at executeToolHandler (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:231:34)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js:126:43)\n at processTicksAndRejections (native:7:39)","msg":"Error in tool:scoped_echo: Insufficient permissions."}
3
+ {"level":50,"time":1779502483928,"env":"testing","version":"0.9.2","pid":7166,"requestId":"MNP6J-ZSRO1","timestamp":"2026-05-23T02:14:43.927Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"MNP6J-ZSRO1","timestamp":"2026-05-23T02:14:43.927Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:232:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
4
+ {"level":50,"time":1779502483943,"env":"testing","version":"0.9.2","pid":7166,"requestId":"G1UMV-F5UUV","timestamp":"2026-05-23T02:14:43.943Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"POST","errorData":{"path":"/mcp","method":"POST","requestId":"G1UMV-F5UUV","timestamp":"2026-05-23T02:14:43.943Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Token has expired.","originalStack":"McpError: Token has expired.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at handleJoseVerifyError (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/lib/claimParser.js:72:11)\n at verify (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/strategies/jwtStrategy.js:91:13)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Token has expired.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Token has expired."}
5
+ {"level":50,"time":1779502483946,"env":"testing","version":"0.9.2","pid":7166,"requestId":"89AJR-E5YLL","timestamp":"2026-05-23T02:14:43.946Z","operation":"httpErrorHandler","critical":false,"errorCode":-32006,"originalErrorType":"McpError","finalErrorType":"McpError","path":"/mcp","method":"GET","errorData":{"path":"/mcp","method":"GET","requestId":"89AJR-E5YLL","timestamp":"2026-05-23T02:14:43.946Z","operation":"httpErrorHandler","originalErrorName":"McpError","originalMessage":"Missing or invalid Authorization header. Bearer scheme required.","originalStack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at unauthorized (/Users/casey/Developer/github/mcp-ts-core/dist/types-global/errors.js:86:61)\n at authMiddleware (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/auth/authMiddleware.js:64:19)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpTransport.js:232:22)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:22:23)\n at cors2 (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/middleware/cors/index.js:79:11)\n at processTicksAndRejections (native:7:39)"},"stack":"McpError: Missing or invalid Authorization header. Bearer scheme required.\n at handleError (/Users/casey/Developer/github/mcp-ts-core/dist/utils/internal/error-handler/errorHandler.js:170:23)\n at <anonymous> (/Users/casey/Developer/github/mcp-ts-core/dist/mcp-server/transports/http/httpErrorHandler.js:59:39)\n at dispatch (/Users/casey/Developer/github/mcp-ts-core/node_modules/hono/dist/compose.js:26:25)\n at processTicksAndRejections (native:7:39)","msg":"Error in httpTransport: Missing or invalid Authorization header. Bearer scheme required."}
@@ -1 +1 @@
1
- {"version":3,"file":"resource-registration.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/resources/resource-registration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,yCAAyC,CAAC;AAE3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAEL,KAAK,8BAA8B,EAEpC,MAAM,wDAAwD,CAAC;AAchE,qBAAa,gBAAgB;IAKzB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,QAAQ;IALlB,wEAAwE;IACxE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAqB;gBAG3C,YAAY,EAAE,qBAAqB,EAAE,EACrC,QAAQ,EAAE,8BAA8B;IAGlD;;OAEG;IACU,WAAW,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B1D,iFAAiF;IACjF,OAAO,CAAC,gBAAgB;YAUV,gBAAgB;CAoD/B"}
1
+ {"version":3,"file":"resource-registration.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/resources/resource-registration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,yCAAyC,CAAC;AAE3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAEL,KAAK,8BAA8B,EAEpC,MAAM,wDAAwD,CAAC;AAchE,qBAAa,gBAAgB;IAKzB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,QAAQ;IALlB,wEAAwE;IACxE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAqB;gBAG3C,YAAY,EAAE,qBAAqB,EAAE,EACrC,QAAQ,EAAE,8BAA8B;IAGlD;;OAEG;IACU,WAAW,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IA6B1D,iFAAiF;IACjF,OAAO,CAAC,gBAAgB;YAUV,gBAAgB;CAoD/B"}
@@ -29,8 +29,10 @@ export class ResourceRegistry {
29
29
  // passed through to each handler factory — never mutated on a shared
30
30
  // services object (which would race under concurrent HTTP requests).
31
31
  const notifiers = {
32
+ notifyPromptListChanged: () => server.sendPromptListChanged(),
32
33
  notifyResourceListChanged: () => server.sendResourceListChanged(),
33
34
  notifyResourceUpdated: (uri) => server.server.sendResourceUpdated({ uri }),
35
+ notifyToolListChanged: () => server.sendToolListChanged(),
34
36
  };
35
37
  const context = requestContextService.createRequestContext({
36
38
  operation: 'ResourceRegistry.registerAll',
@@ -1 +1 @@
1
- {"version":3,"file":"resource-registration.js","sourceRoot":"","sources":["../../../src/mcp-server/resources/resource-registration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAkB,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAG3F,OAAO,EACL,qBAAqB,GAGtB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE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,GAAG,CAAC,WAAW,IAAI,EAAE,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC;gBACxD,GAAG,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC;aACvC,CAAC;YAEF,IAAI,uBAAuB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC7C,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CAAC,GAAG,CAAC,WAAW,EAAE;oBACrD,IAAI,EAAE,GAAG,CAAC,IAAI;iBACf,CAAC,CAAC;gBAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC7D,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,GAAG,CAAC,WAAW,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CACtE,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE,KAAK,CAAC,CACxB,CAAC;YACJ,CAAC;YAED,MAAM,CAAC,KAAK,CAAC,aAAa,YAAY,4BAA4B,EAAE,mBAAmB,CAAC,CAAC;QAC3F,CAAC,EACD;YACE,SAAS,EAAE,uBAAuB,YAAY,EAAE;YAChD,OAAO,EAAE,mBAAmB;YAC5B,SAAS,EAAE,gBAAgB,CAAC,oBAAoB;YAChD,QAAQ,EAAE,IAAI;SACf,CACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"resource-registration.js","sourceRoot":"","sources":["../../../src/mcp-server/resources/resource-registration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAkB,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAG3F,OAAO,EACL,qBAAqB,GAGtB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM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I,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC;gBAC3C,GAAG,CAAC,GAAG,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,CAAC;gBAC/C,GAAG,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC;gBACxD,GAAG,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC;aACvC,CAAC;YAEF,IAAI,uBAAuB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC7C,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CAAC,GAAG,CAAC,WAAW,EAAE;oBACrD,IAAI,EAAE,GAAG,CAAC,IAAI;iBACf,CAAC,CAAC;gBAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC7D,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,GAAG,CAAC,WAAW,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CACtE,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE,KAAK,CAAC,CACxB,CAAC;YACJ,CAAC;YAED,MAAM,CAAC,KAAK,CAAC,aAAa,YAAY,4BAA4B,EAAE,mBAAmB,CAAC,CAAC;QAC3F,CAAC,EACD;YACE,SAAS,EAAE,uBAAuB,YAAY,EAAE;YAChD,OAAO,EAAE,mBAAmB;YAC5B,SAAS,EAAE,gBAAgB,CAAC,oBAAoB;YAChD,QAAQ,EAAE,IAAI;SACf,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -29,8 +29,10 @@ export interface ResourceHandlerFactoryServices {
29
29
  * registerAll() from overwriting an in-flight handler's notifier target.
30
30
  */
31
31
  export interface ResourceHandlerNotifiers {
32
+ notifyPromptListChanged?: () => void;
32
33
  notifyResourceListChanged?: () => void;
33
34
  notifyResourceUpdated?: (uri: string) => void;
35
+ notifyToolListChanged?: () => void;
34
36
  }
35
37
  /**
36
38
  * Creates an MCP resource read handler from a resource definition.
@@ -1 +1 @@
1
- {"version":3,"file":"resourceHandlerFactory.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/resources/utils/resourceHandlerFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACd,MAAM,oCAAoC,CAAC;AAM5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAEhG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAQzD,KAAK,QAAQ,GAAG,mBAAmB,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AAOvE,qEAAqE;AACrE,MAAM,WAAW,8BAA8B;IAC7C;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAqDD;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,qBAAqB,EAC1B,QAAQ,EAAE,8BAA8B,EACxC,SAAS,EAAE,wBAAwB,GAClC,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC,kBAAkB,CAAC,CA2FlF"}
1
+ {"version":3,"file":"resourceHandlerFactory.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/resources/utils/resourceHandlerFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACd,MAAM,oCAAoC,CAAC;AAM5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAEhG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAQzD,KAAK,QAAQ,GAAG,mBAAmB,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AAOvE,qEAAqE;AACrE,MAAM,WAAW,8BAA8B;IAC7C;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAqDD;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,qBAAqB,EAC1B,QAAQ,EAAE,8BAA8B,EACxC,SAAS,EAAE,wBAAwB,GAClC,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC,kBAAkB,CAAC,CA6FlF"}
@@ -114,8 +114,10 @@ export function createResourceHandler(def, services, notifiers) {
114
114
  sessionId: handlerSessionId,
115
115
  elicit: wrapElicit(sdkCaps),
116
116
  sample: wrapSample(sdkCaps),
117
+ notifyPromptListChanged: notifiers.notifyPromptListChanged,
117
118
  notifyResourceListChanged: notifiers.notifyResourceListChanged,
118
119
  notifyResourceUpdated: notifiers.notifyResourceUpdated,
120
+ notifyToolListChanged: notifiers.notifyToolListChanged,
119
121
  uri,
120
122
  }), def.errors);
121
123
  // Execute handler with performance measurement
@@ -1 +1 @@
1
- {"version":3,"file":"resourceHandlerFactory.js","sourceRoot":"","sources":["../../../../src/mcp-server/resources/utils/resourceHandlerFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAE9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAqC3E,8EAA8E;AAC9E,oBAAoB;AACpB,8EAA8E;AAE9E,SAAS,cAAc,CAAC,QAAgB;IACtC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC;IACjF,OAAO,kBAAkB,KAAK,kBAAkB,IAAI,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC3F,CAAC;AA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