mcp-local-tunnel 1.1.0 → 1.2.0
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/README.md +1 -1
- package/dist/relay.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ Only `mode` and `auth.issuer` are required. Everything else has sensible default
|
|
|
107
107
|
| `auth.scopes` | No | Scopes to request during login. Defaults to `["openid"]`. |
|
|
108
108
|
| `auth.userClaim` | No | Which field from the login token identifies the user. Defaults to `"sub"`. |
|
|
109
109
|
| `port` | No | Port to listen on. Defaults to `3000`. |
|
|
110
|
-
| `host` | No | Host to bind to. Defaults to `"
|
|
110
|
+
| `host` | No | Host to bind to. Defaults to `"::"`. |
|
|
111
111
|
| `issuerUrl` | No | Public URL of this server. Required when behind a reverse proxy. |
|
|
112
112
|
| `secret` | No | Signing key for tokens. Random if not set. Set a fixed value to survive restarts. |
|
|
113
113
|
|
package/dist/relay.js
CHANGED
|
@@ -11,7 +11,7 @@ const startRelay = (config) => {
|
|
|
11
11
|
const connectionManager = new connection_manager_js_1.ConnectionManager();
|
|
12
12
|
const { app, attachWebSocket } = (0, relay_server_js_1.createRelayApp)(config, provider, oidcClient, connectionManager);
|
|
13
13
|
const port = config.port ?? 3000;
|
|
14
|
-
const host = config.host ?? '
|
|
14
|
+
const host = config.host ?? '::';
|
|
15
15
|
const server = app.listen(port, host, () => {
|
|
16
16
|
console.log(`mcp-local-tunnel relay listening on ${host}:${port}`);
|
|
17
17
|
console.log(`Auth: ${config.auth.issuer}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-local-tunnel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Expose local MCP servers to remote clients without opening ports.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Adam Jones (domdomegg)",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"eslint-config-domdomegg": "^2.0.9",
|
|
30
30
|
"tsconfig-domdomegg": "^1.0.0",
|
|
31
31
|
"typescript": "^5.8.3",
|
|
32
|
-
"vitest": "^
|
|
32
|
+
"vitest": "^4.1.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.26.0",
|