@alsania-io/mcpnyx 1.0.3 → 1.0.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/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
* Usage:
|
|
8
8
|
* # stdio→SSE
|
|
9
9
|
* npx -y @alsania-io/mcpnyx --stdio "npx -y @modelcontextprotocol/server-filesystem /" \
|
|
10
|
-
* --port
|
|
10
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
11
11
|
*
|
|
12
12
|
* # SSE→stdio
|
|
13
13
|
* npx -y @alsania-io/mcpnyx --sse "https://mcp-server-ab71a6b2-cd55-49d0-adba-562bc85956e3.supermachine.app"
|
|
14
14
|
*
|
|
15
15
|
* # SSE→SSE
|
|
16
16
|
* npx -y @alsania-io/mcpnyx --sse "https://input-sse-server.example.com/sse" --outputTransport ssetosse \
|
|
17
|
-
* --port
|
|
17
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
18
18
|
*
|
|
19
19
|
* # SSE→WS
|
|
20
20
|
* npx -y @alsania-io/mcpnyx --sse "https://input-sse-server.example.com/sse" --outputTransport ws \
|
|
21
|
-
* --port
|
|
21
|
+
* --port 3055 --messagePath /message
|
|
22
22
|
*
|
|
23
23
|
* # stdio→WS
|
|
24
24
|
* npx -y @alsania-io/mcpnyx --stdio "npx -y @modelcontextprotocol/server-filesystem /" --outputTransport ws
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
*
|
|
29
29
|
* # Streamable HTTP→SSE
|
|
30
30
|
* npx -y @alsania-io/mcpnyx --streamableHttp "https://mcp-server.example.com/mcp" --outputTransport sse \
|
|
31
|
-
* --port
|
|
31
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
32
32
|
*
|
|
33
33
|
* # Config→SSE (unified multiple servers)
|
|
34
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport sse --port
|
|
34
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport sse --port 3055
|
|
35
35
|
*
|
|
36
36
|
* # Config→WS (unified multiple servers)
|
|
37
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport ws --port
|
|
37
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport ws --port 3055
|
|
38
38
|
*
|
|
39
39
|
* # Config→StreamableHttp (unified multiple servers - stateless)
|
|
40
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port
|
|
40
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port 3055
|
|
41
41
|
*
|
|
42
42
|
* # Config→StreamableHttp (unified multiple servers - stateful with session timeout)
|
|
43
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port
|
|
43
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port 3055 --stateful --sessionTimeout 300000
|
|
44
44
|
*/
|
|
45
45
|
export {};
|
|
46
|
-
//# sourceMappingURL=index.d.ts.map
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
* Usage:
|
|
8
8
|
* # stdio→SSE
|
|
9
9
|
* npx -y @alsania-io/mcpnyx --stdio "npx -y @modelcontextprotocol/server-filesystem /" \
|
|
10
|
-
* --port
|
|
10
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
11
11
|
*
|
|
12
12
|
* # SSE→stdio
|
|
13
13
|
* npx -y @alsania-io/mcpnyx --sse "https://mcp-server-ab71a6b2-cd55-49d0-adba-562bc85956e3.supermachine.app"
|
|
14
14
|
*
|
|
15
15
|
* # SSE→SSE
|
|
16
16
|
* npx -y @alsania-io/mcpnyx --sse "https://input-sse-server.example.com/sse" --outputTransport ssetosse \
|
|
17
|
-
* --port
|
|
17
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
18
18
|
*
|
|
19
19
|
* # SSE→WS
|
|
20
20
|
* npx -y @alsania-io/mcpnyx --sse "https://input-sse-server.example.com/sse" --outputTransport ws \
|
|
21
|
-
* --port
|
|
21
|
+
* --port 3055 --messagePath /message
|
|
22
22
|
*
|
|
23
23
|
* # stdio→WS
|
|
24
24
|
* npx -y @alsania-io/mcpnyx --stdio "npx -y @modelcontextprotocol/server-filesystem /" --outputTransport ws
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
*
|
|
29
29
|
* # Streamable HTTP→SSE
|
|
30
30
|
* npx -y @alsania-io/mcpnyx --streamableHttp "https://mcp-server.example.com/mcp" --outputTransport sse \
|
|
31
|
-
* --port
|
|
31
|
+
* --port 3055 --baseUrl http://localhost:3055 --ssePath /sse --messagePath /message
|
|
32
32
|
*
|
|
33
33
|
* # Config→SSE (unified multiple servers)
|
|
34
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport sse --port
|
|
34
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport sse --port 3055
|
|
35
35
|
*
|
|
36
36
|
* # Config→WS (unified multiple servers)
|
|
37
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport ws --port
|
|
37
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport ws --port 3055
|
|
38
38
|
*
|
|
39
39
|
* # Config→StreamableHttp (unified multiple servers - stateless)
|
|
40
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port
|
|
40
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port 3055
|
|
41
41
|
*
|
|
42
42
|
* # Config→StreamableHttp (unified multiple servers - stateful with session timeout)
|
|
43
|
-
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port
|
|
43
|
+
* npx -y @alsania-io/mcpnyx --config ./config.json --outputTransport streamableHttp --port 3055 --stateful --sessionTimeout 300000
|
|
44
44
|
*/
|
|
45
45
|
import yargs from 'yargs';
|
|
46
46
|
import { hideBin } from 'yargs/helpers';
|
|
@@ -421,4 +421,4 @@ async function main() {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
main();
|
|
424
|
-
//# sourceMappingURL=index.js.map
|
|
424
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@alsania-io/mcpnyx",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "MCPNyx - Advanced MCP proxy server for Nyx extension. Run multiple MCP stdio-based and SSE-based servers through a unified SSE/HTTP/WebSocket endpoint.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"mcp",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/alsania-
|
|
23
|
+
"url": "https://github.com/alsania-dev/mcpnyx.git"
|
|
24
24
|
},
|
|
25
25
|
"bugs": {
|
|
26
|
-
"url": "https://github.com/alsania-
|
|
26
|
+
"url": "https://github.com/alsania-dev/mcpnyx/issues"
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://alsania-io.com",
|
|
29
29
|
"type": "module",
|
|
@@ -92,4 +92,4 @@
|
|
|
92
92
|
"singleQuote": true,
|
|
93
93
|
"printWidth": 120
|
|
94
94
|
}
|
|
95
|
-
}
|
|
95
|
+
}
|