feat: support streamable http alongside sse

This commit is contained in:
Bar Hochman 2025-04-28 18:10:19 +03:00 committed by GitHub
parent 504aa26761
commit 1d1902208e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 87 additions and 48 deletions

View file

@ -79,12 +79,22 @@ To bypass authentication, or to emit custom headers on all requests to your remo
```json
"command": "npx",
"args": [
"-y"
"-y",
"mcp-remote",
"https://remote.mcp.server/sse"
]
```
* To use Streamable HTTP instead of Server-Sent Events (SSE), add the `--streamableHttp` flag. This is recommended as SSE is deprecated:
```json
"args": [
"mcp-remote",
"https://remote.mcp.server/sse",
"--streamableHttp"
]
```
* To force `npx` to always check for an updated version of `mcp-remote`, add the `@latest` flag:
```json