Skip to content

Commit b607403

Browse files
renamed REMOTE_SERVER_TYPE to REMOTE_SERVER_TRANSPORT_MODULE for clarity
1 parent 517ff08 commit b607403

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
web: uvicorn src.${REMOTE_SERVER_TYPE:-streamable_http_server}:app --host=0.0.0.0 --port=${PORT:-8000} --workers=${WEB_CONCURRENCY:-1}
1+
web: uvicorn src.${REMOTE_SERVER_TRANSPORT_MODULE:-streamable_http_server}:app --host=0.0.0.0 --port=${PORT:-8000} --workers=${WEB_CONCURRENCY:-1}
22
mcp-python: python -m src.stdio_server

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ heroku buildpacks:set heroku/python -a $APP_NAME
3636
heroku config:set API_KEY=$(openssl rand -hex 32) -a $APP_NAME
3737
heroku config:set STDIO_MODE_ONLY=<true/false> -a $APP_NAME
3838
# set the remote server type (module) that your web process will use (only relevant for web deployments)
39-
heroku config:set REMOTE_SERVER_TYPE=<streamable_http_server/sse_server>
39+
heroku config:set REMOTE_SERVER_TRANSPORT_MODULE=<streamable_http_server/sse_server>
4040
```
4141
*Note: we recommend setting `STDIO_MODE_ONLY` to `true` for security and code execution isolation security in non-dev environments.*
4242

@@ -157,7 +157,7 @@ You only need to do this once, unless you spin back down to 0 web dynos to save
157157

158158
By default, this app deploys a Streamable HTTP MCP server - if you want to deploy an SSE server, run:
159159
```bash
160-
heroku config:set REMOTE_SERVER_TYPE=sse_server
160+
heroku config:set REMOTE_SERVER_TRANSPORT_MODULE=sse_server
161161
```
162162
Which will affect which server is run in the Procfile.
163163

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"description": "Only allow tool requests via STDIO mode?",
1717
"value": "false"
1818
},
19-
"REMOTE_SERVER_TYPE": {
19+
"REMOTE_SERVER_TRANSPORT_MODULE": {
2020
"description": "Tranport module name used for deployed web app (applicable when web formation size is >0). `streamable_http_server` or `sse_server`.",
2121
"value": "streamable_http_server"
2222
}

0 commit comments

Comments
 (0)