Remove option to use existing stdio

This commit is contained in:
Chiran Fernando 2025-04-07 11:21:30 +05:30
parent 3f861ad6f1
commit 4eaf2ef692

View file

@ -122,15 +122,15 @@ The proxy supports two transport modes:
- **SSE Mode (Default)**: For Server-Sent Events transport - **SSE Mode (Default)**: For Server-Sent Events transport
- **stdio Mode**: For MCP servers that use stdio transport - **stdio Mode**: For MCP servers that use stdio transport
When using stdio mode, the proxy can: When using stdio mode, the proxy:
- Connect to an already running MCP server that uses stdio transport - Starts an MCP server as a subprocess using the command specified in the configuration
- Start an MCP server as a subprocess using the command specified in the configuration - Communicates with the subprocess through standard input/output (stdio)
- **Note**: Any commands specified (like `npx` in the example below) must be installed on your system first - **Note**: Any commands specified (like `npx` in the example below) must be installed on your system first
To use stdio mode: To use stdio mode:
```bash ```bash
./openmcpauthproxy --stdio ./openmcpauthproxy --demo --stdio
``` ```
#### Example: Running an MCP Server as a Subprocess #### Example: Running an MCP Server as a Subprocess
@ -150,7 +150,7 @@ stdio:
# CORS configuration # CORS configuration
cors: cors:
allowed_origins: allowed_origins:
- "http://localhost:5173" - "http://localhost:5173" # Origin of your client application
allowed_methods: allowed_methods:
- "GET" - "GET"
- "POST" - "POST"