mcp-proxy 2.14.2 → 2.14.3
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/dist/bin/mcp-proxy.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
proxyServer,
|
|
5
5
|
startHTTPStreamServer,
|
|
6
6
|
startSSEServer
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-43AXMLZU.js";
|
|
8
8
|
|
|
9
9
|
// src/bin/mcp-proxy.ts
|
|
10
10
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
11
11
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
12
12
|
import { EventSource } from "eventsource";
|
|
13
|
-
import { setTimeout } from "
|
|
14
|
-
import util from "
|
|
13
|
+
import { setTimeout } from "timers";
|
|
14
|
+
import util from "util";
|
|
15
15
|
import yargs from "yargs";
|
|
16
16
|
import { hideBin } from "yargs/helpers";
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ReadBuffer,
|
|
21
21
|
serializeMessage
|
|
22
22
|
} from "@modelcontextprotocol/sdk/shared/stdio.js";
|
|
23
|
-
import { spawn } from "
|
|
23
|
+
import { spawn } from "child_process";
|
|
24
24
|
var StdioClientTransport = class {
|
|
25
25
|
onclose;
|
|
26
26
|
onerror;
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
} from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
150
150
|
import { isInitializeRequest } from "@modelcontextprotocol/sdk/types.js";
|
|
151
151
|
import http from "http";
|
|
152
|
-
import { randomUUID } from "
|
|
152
|
+
import { randomUUID } from "crypto";
|
|
153
153
|
var startHTTPStreamServer = async ({
|
|
154
154
|
createServer,
|
|
155
155
|
endpoint,
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
startHTTPStreamServer,
|
|
469
469
|
startSSEServer
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-43AXMLZU.js.map
|
package/dist/index.js
CHANGED
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-proxy",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
7
|
-
"test": "vitest run && tsc &&
|
|
8
|
-
"format": "
|
|
7
|
+
"test": "vitest run && tsc && eslint . && jsr publish --dry-run --allow-dirty",
|
|
8
|
+
"format": "eslint --fix ."
|
|
9
9
|
},
|
|
10
10
|
"bin": {
|
|
11
11
|
"mcp-proxy": "dist/bin/mcp-proxy.js"
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"module": "dist/index.js",
|
|
23
23
|
"types": "dist/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
26
|
-
"eventsource": "^
|
|
25
|
+
"@modelcontextprotocol/sdk": "^1.11.4",
|
|
26
|
+
"eventsource": "^4.0.0",
|
|
27
27
|
"yargs": "^17.7.2"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -43,26 +43,26 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@eslint/js": "^9.
|
|
47
|
-
"@sebbo2002/semantic-release-jsr": "^
|
|
48
|
-
"@tsconfig/node22": "^22.0.
|
|
49
|
-
"@types/express": "^5.0.
|
|
50
|
-
"@types/node": "^22.
|
|
46
|
+
"@eslint/js": "^9.27.0",
|
|
47
|
+
"@sebbo2002/semantic-release-jsr": "^3.0.0",
|
|
48
|
+
"@tsconfig/node22": "^22.0.2",
|
|
49
|
+
"@types/express": "^5.0.2",
|
|
50
|
+
"@types/node": "^22.15.21",
|
|
51
51
|
"@types/yargs": "^17.0.33",
|
|
52
|
-
"eslint": "^9.
|
|
53
|
-
"eslint-config-prettier": "^10.1.
|
|
54
|
-
"eslint-plugin-perfectionist": "^4.
|
|
52
|
+
"eslint": "^9.27.0",
|
|
53
|
+
"eslint-config-prettier": "^10.1.5",
|
|
54
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
55
55
|
"express": "^5.0.1",
|
|
56
56
|
"get-port-please": "^3.1.2",
|
|
57
57
|
"jiti": "^2.4.2",
|
|
58
58
|
"jsr": "^0.13.4",
|
|
59
59
|
"prettier": "^3.5.3",
|
|
60
|
-
"semantic-release": "^24.2.
|
|
61
|
-
"tsup": "^8.
|
|
60
|
+
"semantic-release": "^24.2.4",
|
|
61
|
+
"tsup": "^8.5.0",
|
|
62
62
|
"tsx": "^4.19.3",
|
|
63
63
|
"typescript": "^5.8.3",
|
|
64
|
-
"typescript-eslint": "^8.
|
|
65
|
-
"vitest": "^3.1.
|
|
64
|
+
"typescript-eslint": "^8.32.1",
|
|
65
|
+
"vitest": "^3.1.4"
|
|
66
66
|
},
|
|
67
67
|
"tsup": {
|
|
68
68
|
"entry": [
|
|
File without changes
|