@findtime/mcp-server 3.25.20 → 3.25.21

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/package.json +1 -1
  2. package/server.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findtime/mcp-server",
3
- "version": "3.25.20",
3
+ "version": "3.25.21",
4
4
  "mcpName": "io.github.hkchao/findtime-mcp-server",
5
5
  "description": "Production-parity MCP server for the findtime.io Time API",
6
6
  "bin": {
package/server.js CHANGED
@@ -1094,6 +1094,11 @@ function createFindtimeMcpServer(options = {}) {
1094
1094
  headers.Authorization = `Bearer ${apiKey.trim()}`;
1095
1095
  }
1096
1096
 
1097
+ const clientUserId = getMcpClientId();
1098
+ if (typeof clientUserId === 'string' && clientUserId.trim()) {
1099
+ headers['X-Findtime-User-ID'] = clientUserId.trim();
1100
+ }
1101
+
1097
1102
  const resolvedBindingHeader = typeof bindingHeader === 'string' && bindingHeader.trim()
1098
1103
  ? bindingHeader.trim()
1099
1104
  : normalizeBindingHeader(bindingType);