@uteamup/mcp-server 1.0.0-beta.2 → 1.0.0-beta.4
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 +17 -0
- package/index.js +7 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ 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
|
+
## [1.0.0-beta.4] - 2026-02-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **NPM Package:** Fixed bin field path from `index.js` to `./index.js` for proper npm installation
|
|
12
|
+
- **Debug Logging:** Added comprehensive MCP response logging to help diagnose JSON-RPC format issues
|
|
13
|
+
- Now logs raw response body
|
|
14
|
+
- Now logs parsed JSON response
|
|
15
|
+
- Now logs parse errors if they occur
|
|
16
|
+
|
|
17
|
+
## [1.0.0-beta.3] - 2026-02-10
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
- **CRITICAL:** Added `Accept: application/json, text/event-stream` header to MCP requests
|
|
21
|
+
- Backend requires both content types for HTTP transport compatibility
|
|
22
|
+
- Fixes HTTP 406 "Not Acceptable" error
|
|
23
|
+
- Enables proper MCP endpoint communication
|
|
24
|
+
|
|
8
25
|
## [1.0.0-beta.2] - 2026-02-10
|
|
9
26
|
|
|
10
27
|
### Fixed
|
package/index.js
CHANGED
|
@@ -185,6 +185,7 @@ async function forwardRequest(request) {
|
|
|
185
185
|
headers: {
|
|
186
186
|
'Authorization': `Bearer ${token}`,
|
|
187
187
|
'Content-Type': 'application/json',
|
|
188
|
+
'Accept': 'application/json, text/event-stream',
|
|
188
189
|
'Content-Length': Buffer.byteLength(data)
|
|
189
190
|
},
|
|
190
191
|
rejectUnauthorized: false
|
|
@@ -193,9 +194,13 @@ async function forwardRequest(request) {
|
|
|
193
194
|
res.on('data', chunk => responseData += chunk);
|
|
194
195
|
res.on('end', () => {
|
|
195
196
|
debug('MCP response received:', { statusCode: res.statusCode, dataLength: responseData.length });
|
|
197
|
+
debug('MCP response body:', responseData);
|
|
196
198
|
try {
|
|
197
|
-
|
|
199
|
+
const parsed = JSON.parse(responseData);
|
|
200
|
+
debug('MCP response parsed:', JSON.stringify(parsed));
|
|
201
|
+
resolve(parsed);
|
|
198
202
|
} catch (e) {
|
|
203
|
+
debug('MCP response parse error:', e.message);
|
|
199
204
|
resolve({ error: { code: -32700, message: 'Parse error', data: responseData } });
|
|
200
205
|
}
|
|
201
206
|
});
|
|
@@ -245,7 +250,7 @@ async function main() {
|
|
|
245
250
|
}
|
|
246
251
|
|
|
247
252
|
console.error('[MCP Proxy] Starting UteamUP MCP Server');
|
|
248
|
-
console.error(`[MCP Proxy] Version: 1.0.0-beta.
|
|
253
|
+
console.error(`[MCP Proxy] Version: 1.0.0-beta.4`);
|
|
249
254
|
console.error(`[MCP Proxy] Base URL: ${BASE_URL}`);
|
|
250
255
|
console.error(`[MCP Proxy] API Key: ${API_KEY.substring(0, 8)}...`);
|
|
251
256
|
console.error(`[MCP Proxy] Debug: ${DEBUG ? 'enabled' : 'disabled'}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uteamup/mcp-server",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
4
|
"description": "MCP server client for UteamUP - enables Claude Desktop/Code integration with automatic OAuth 2.0 authentication",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/uteamup/mcp-server.git"
|
|
32
|
+
"url": "git+https://github.com/uteamup/mcp-server.git"
|
|
33
33
|
},
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/uteamup/mcp-server/issues"
|