Skip to content

Commit 37d5533

Browse files
committed
chore: add keep-alive flag to readme
1 parent a79e7ba commit 37d5533

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ To bypass authentication, or to emit custom headers on all requests to your remo
104104
]
105105
```
106106

107+
* 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`.
108+
109+
```json
110+
"args": [
111+
"mcp-remote",
112+
"https://remote.mcp.server/sse",
113+
"--keep-alive"
114+
]
115+
```
116+
107117
* 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.
108118

109119
```json

0 commit comments

Comments
 (0)