Title: Equivalent of stdio ENV vars in SSE · Issue #424 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Equivalent of stdio ENV vars in SSE · Issue #424 · modelcontextprotocol/python-sdk
X Title: Equivalent of stdio ENV vars in SSE · Issue #424 · modelcontextprotocol/python-sdk
Description: What is the equivalent of environment variables or CLI arguments to customize each SSE connection? I haven't found anything, and not being able to send additional parameters that are accessible from the context makes it difficult to host...
Open Graph Description: What is the equivalent of environment variables or CLI arguments to customize each SSE connection? I haven't found anything, and not being able to send additional parameters that are accessible fro...
X Description: What is the equivalent of environment variables or CLI arguments to customize each SSE connection? I haven't found anything, and not being able to send additional parameters that are accessible...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/424
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Equivalent of stdio ENV vars in SSE","articleBody":"What is the equivalent of environment variables or CLI arguments to customize each SSE connection?\n\nI haven't found anything, and not being able to send additional parameters that are accessible from the context makes it difficult to host a single SSE server that is flexible and reusable.\n\nI’ve seen that the FastMCP client allows sending headers, but there’s no way to access them from the context, so they can’t be used to parameterize the connection.\n\nAt the moment, it seems that using SSE limits the user to have a single configuration, a single api key, a single user that can perform remote actions, a single database to connect to.","author":{"url":"https://github.com/JorgeRuizITCL","@type":"Person","name":"JorgeRuizITCL"},"datePublished":"2025-04-04T05:22:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/424/python-sdk/issues/424"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cc164cd3-368d-1cfe-c77d-f83b4771853c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9658:2C5C59:69D19A:971FC6:6A59EA3C |
| html-safe-nonce | 210bb8f17a1aca6a73f466745ff2adf2252433f4ca3742ade995b1dfd5d559f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjU4OjJDNUM1OTo2OUQxOUE6OTcxRkM2OjZBNTlFQTNDIiwidmlzaXRvcl9pZCI6IjI4MzY3MzcxMjM4MTgyNjkyNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4fde3d511ddde79c45589eb55b8d2cbce3fb1214ac6f299f6ac3b089af141e58 |
| hovercard-subject-tag | issue:2971304750 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/424/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d7c2f73cf8e6032e2439dd10cf3a60d296d8b155b9f56e3706a9929fb6f09272/modelcontextprotocol/python-sdk/issues/424 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7c2f73cf8e6032e2439dd10cf3a60d296d8b155b9f56e3706a9929fb6f09272/modelcontextprotocol/python-sdk/issues/424 |
| og:image:alt | What is the equivalent of environment variables or CLI arguments to customize each SSE connection? I haven't found anything, and not being able to send additional parameters that are accessible fro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JorgeRuizITCL |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32bf0b7849e1b6561059cca2cb03568251960859 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width