From 4eaf2ef69269d52fd450c5d02c86cbf222d309f2 Mon Sep 17 00:00:00 2001 From: Chiran Fernando Date: Mon, 7 Apr 2025 11:21:30 +0530 Subject: [PATCH] Remove option to use existing stdio --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2a2b46d..f197891 100644 --- a/README.md +++ b/README.md @@ -122,15 +122,15 @@ The proxy supports two transport modes: - **SSE Mode (Default)**: For Server-Sent Events transport - **stdio Mode**: For MCP servers that use stdio transport -When using stdio mode, the proxy can: -- Connect to an already running MCP server that uses stdio transport -- Start an MCP server as a subprocess using the command specified in the configuration - - **Note**: Any commands specified (like `npx` in the example below) must be installed on your system first +When using stdio mode, the proxy: +- Starts 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 To use stdio mode: ```bash -./openmcpauthproxy --stdio +./openmcpauthproxy --demo --stdio ``` #### Example: Running an MCP Server as a Subprocess @@ -150,7 +150,7 @@ stdio: # CORS configuration cors: allowed_origins: - - "http://localhost:5173" + - "http://localhost:5173" # Origin of your client application allowed_methods: - "GET" - "POST"