chore: add keep-alive flag to readme

This commit is contained in:
justin 2025-05-11 15:16:03 -04:00
parent cc84c2ce10
commit 9fc56bb7b7

View file

@ -104,6 +104,16 @@ To bypass authentication, or to emit custom headers on all requests to your remo
]
```
* If the remote server is automatically closing your connection while not actively being used (e.g., disconnects after 5 minutes of inactivity) you can add the `--keep-alive` flag to ping the server every 30 seconds. The interval can also be customized using `--ping-interval`.
```json
"args": [
"mcp-remote",
"https://remote.mcp.server/sse",
"--keep-alive"
]
```
* To allow HTTP connections in trusted private networks, add the `--allow-http` flag. Note: This should only be used in secure private networks where traffic cannot be intercepted.
```json