From 78647e08dda50948e85661a87a5839804a147e1f Mon Sep 17 00:00:00 2001 From: Wenyi Xu Date: Thu, 4 Dec 2025 12:36:44 +0800 Subject: [PATCH] [model-gateway][doc] Add STDIO Explicitly to Example in README (#14393) --- sgl-router/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgl-router/README.md b/sgl-router/README.md index a7b099978..70ae5e35c 100644 --- a/sgl-router/README.md +++ b/sgl-router/README.md @@ -263,6 +263,7 @@ servers: - name: "filesystem" command: "npx" args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"] + protocol: "stdio" required: false - name: "github" @@ -298,7 +299,7 @@ inventory: - `command` + `args`: For STDIO transport (local process execution) - `url`: For SSE or Streamable transports (HTTP/HTTPS endpoints) - `token`: Optional authentication token for HTTP-based transports -- `protocol`: Protocol type (`"sse"` or `"streamable"`; STDIO is inferred from `command`) +- `protocol`: Protocol type (`"sse"`, `"streamable"`, or `"stdio"`) - `required`: If `true`, router fails to start if server is unreachable (default: `false`) - `envs`: Environment variables for STDIO processes (optional) - `proxy`: Per-server proxy override (set to `null` to bypass global proxy)