fix(mcp): normalize streamable http server aliases

This commit is contained in:
Peter Steinberger
2026-04-27 12:29:10 +01:00
parent 3da4b28d1b
commit 053aff6d35
17 changed files with 244 additions and 11 deletions

View File

@@ -149,6 +149,7 @@ MCP servers can use stdio or HTTP transport:
```
- `transport` may be set to `"streamable-http"` or `"sse"`; when omitted, OpenClaw uses `sse`
- `type: "http"` is a CLI-native downstream shape; use `transport: "streamable-http"` in OpenClaw config. `openclaw mcp set` and `openclaw doctor --fix` normalize the common alias.
- only `http:` and `https:` URL schemes are allowed
- `headers` values support `${ENV_VAR}` interpolation
- a server entry with both `command` and `url` is rejected