@@ -256,7 +256,8 @@ services:
256
256
# # Command line arguments
257
257
258
258
` ` ` bash
259
- usage: mcp-proxy [-h] [-H KEY VALUE] [-e KEY VALUE] [--pass-environment | --no-pass-environment] [--sse-port SSE_PORT] [--sse-host SSE_HOST]
259
+ usage: mcp-proxy [-h] [-H KEY VALUE] [-e KEY VALUE] [--cwd CWD] [--pass-environment | --no-pass-environment] [--debug | --no-debug] [--port PORT]
260
+ [--host HOST] [--stateless | --no-stateless] [--sse-port SSE_PORT] [--sse-host SSE_HOST]
260
261
[--allow-origin ALLOW_ORIGIN [ALLOW_ORIGIN ...]]
261
262
[command_or_url] [args ...]
262
263
@@ -269,20 +270,24 @@ options:
269
270
-h, --help show this help message and exit
270
271
271
272
SSE client options:
272
- -H KEY VALUE , --headers KEY VALUE
273
+ -H, --headers KEY VALUE
273
274
Headers to pass to the SSE server. Can be used multiple times.
274
275
275
276
stdio client options:
276
277
args Any extra arguments to the command to spawn the server
277
- -e KEY VALUE , --env KEY VALUE
278
- Environment variables used when spawning the server. Can be used multiple times .
278
+ -e, --env KEY VALUE Environment variables used when spawning the server. Can be used multiple times.
279
+ --cwd CWD The working directory to use when spawning the process .
279
280
--pass-environment, --no-pass-environment
280
281
Pass through all environment variables when spawning the server.
281
282
--debug, --no-debug Enable debug mode with detailed logging output.
282
283
283
284
SSE server options:
284
- --port MCP_PORT Port to expose an MCP server on. Default is a random port
285
- --host MCP_HOST Host to expose an MCP server on. Default is 127.0.0.1
285
+ --port PORT Port to expose an SSE server on. Default is a random port
286
+ --host HOST Host to expose an SSE server on. Default is 127.0.0.1
287
+ --stateless, --no-stateless
288
+ Enable stateless mode for streamable http transports. Default is False
289
+ --sse-port SSE_PORT (deprecated) Same as --port
290
+ --sse-host SSE_HOST (deprecated) Same as --host
286
291
--allow-origin ALLOW_ORIGIN [ALLOW_ORIGIN ...]
287
292
Allowed origins for the SSE server. Can be used multiple times. Default is no CORS allowed.
288
293
0 commit comments