feat: support streamable http alongside sse
This commit is contained in:
parent
504aa26761
commit
1d1902208e
7 changed files with 87 additions and 48 deletions
12
README.md
12
README.md
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue