@uteamup/mcp-server 2.6.5-beta.9 → 2.6.6-beta.9

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/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.6.6-beta.9](https://github.com/UteamUP/uteamup-mcp/compare/2.6.5-beta.9...2.6.6-beta.9) (2026-11-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bound MCP OAuth refresh requests ([f7a6c8e](https://github.com/UteamUP/uteamup-mcp/commit/f7a6c8ee13b9f0e5910cc7c13213c12afc9ad129))
14
+
15
+
16
+ ### Tests
17
+
18
+ * preserve exact hardware filters in physical identity tool forwarding ([149ea28](https://github.com/UteamUP/uteamup-mcp/commit/149ea288dfd74b0ae8a2dd448a4a874c73ab2554))
19
+
8
20
  ## [2.6.5-beta.9](https://github.com/UteamUP/uteamup-mcp/compare/2.6.4-beta.9...2.6.5-beta.9) (2026-11-03)
9
21
 
10
22
 
package/index.js CHANGED
@@ -23,6 +23,7 @@ const { buildMcpForwardHeaders } = require('./lib/mcp-http-headers');
23
23
  const {
24
24
  BoundedLineBuffer,
25
25
  ProxyTransportError,
26
+ attachRequestDeadline,
26
27
  attachRequestTimeout,
27
28
  collectResponseBody,
28
29
  getMcpRetryLimit,
@@ -267,6 +268,7 @@ async function requestNewAccessToken() {
267
268
  }
268
269
  });
269
270
  authRequest.once('error', reject);
271
+ attachRequestDeadline(authRequest, 'OAuth authorization request', config.requestTimeout, reject);
270
272
  attachRequestTimeout(authRequest, 'OAuth authorization request');
271
273
  });
272
274
  },
@@ -335,6 +337,7 @@ async function requestNewAccessToken() {
335
337
  });
336
338
 
337
339
  req.once('error', reject);
340
+ attachRequestDeadline(req, 'OAuth token request', config.requestTimeout, reject);
338
341
  attachRequestTimeout(req, 'OAuth token request');
339
342
  req.write(tokenData);
340
343
  req.end();
@@ -230,6 +230,22 @@ function attachRequestTimeout(request, label) {
230
230
  });
231
231
  }
232
232
 
233
+ /**
234
+ * Bound the entire request, including connection setup and a response that keeps sending data.
235
+ * @param {import('node:http').ClientRequest} request
236
+ * @param {string} label
237
+ * @param {number} timeoutMs
238
+ * @param {(error: ProxyTransportError) => void} reject
239
+ */
240
+ function attachRequestDeadline(request, label, timeoutMs, reject) {
241
+ const timer = setTimeout(() => {
242
+ reject(new ProxyTransportError(`${label} timed out after ${timeoutMs} ms`));
243
+ request.destroy();
244
+ }, timeoutMs);
245
+ timer.unref();
246
+ request.once('close', () => clearTimeout(timer));
247
+ }
248
+
233
249
  /**
234
250
  * @param {unknown} error
235
251
  * @returns {string}
@@ -243,6 +259,7 @@ function toPublicErrorMessage(error) {
243
259
  module.exports = {
244
260
  BoundedLineBuffer,
245
261
  ProxyTransportError,
262
+ attachRequestDeadline,
246
263
  attachRequestTimeout,
247
264
  collectResponseBody,
248
265
  getMcpRetryLimit,
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "UteamUP CMMS Read-Only Assistant Actions",
5
5
  "description": "OpenAPI 3.1.0 Action schema for ChatGPT Custom GPTs (GPT Store) and Google Gemini / Vertex AI Extensions. Invokes the UteamUP read-only MCP endpoint (/mcp/read-only) to list and search assets and work orders using the caller's tenant-scoped permissions.",
6
- "version": "2.6.5-beta.9",
6
+ "version": "2.6.6-beta.9",
7
7
  "x-logo": {
8
8
  "url": "https://raw.githubusercontent.com/UteamUP/uteamup-mcp/main/assets/logo.png",
9
9
  "altText": "UteamUP CMMS"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uteamup/mcp-server",
3
- "version": "2.6.5-beta.9",
3
+ "version": "2.6.6-beta.9",
4
4
  "mcpName": "io.github.UteamUP/mcp-server",
5
5
  "description": "MCP server client for UteamUP - enables Claude Desktop/Code integration with automatic OAuth 2.0 authentication",
6
6
  "main": "index.js",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.UteamUP/mcp-server",
4
4
  "title": "UteamUP CMMS",
5
5
  "description": "Connect AI assistants to UteamUP CMMS for work orders, assets, maintenance, and inventory.",
6
- "version": "2.6.5-beta.9",
6
+ "version": "2.6.6-beta.9",
7
7
  "websiteUrl": "https://uteamup.com",
8
8
  "icons": [
9
9
  {
@@ -30,7 +30,7 @@
30
30
  "registryType": "npm",
31
31
  "registryBaseUrl": "https://registry.npmjs.org",
32
32
  "identifier": "@uteamup/mcp-server",
33
- "version": "2.6.5-beta.9",
33
+ "version": "2.6.6-beta.9",
34
34
  "transport": {
35
35
  "type": "stdio"
36
36
  },