Title: [v1.x] Add Streamable HTTP request body limits by Kludex · Pull Request #3101 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: [v1.x] Add Streamable HTTP request body limits by Kludex · Pull Request #3101 · modelcontextprotocol/python-sdk
X Title: [v1.x] Add Streamable HTTP request body limits by Kludex · Pull Request #3101 · modelcontextprotocol/python-sdk
Description: Summary backport the configurable max_request_body_size option to the V1 Streamable HTTP server apply the default 4 MiB limit to declared and streamed POST bodies and return HTTP 413 when exceeded expose the setting through FastMCP and document how to configure larger messages consolidate streamed chunks before replaying the bounded request body Backport of #3095. Validation ./scripts/test — 1,156 passed, 95 skipped, 1 xfailed, 100% coverage uv run --frozen pre-commit run --all-files
Open Graph Description: Summary backport the configurable max_request_body_size option to the V1 Streamable HTTP server apply the default 4 MiB limit to declared and streamed POST bodies and return HTTP 413 when exceeded...
X Description: Summary backport the configurable max_request_body_size option to the V1 Streamable HTTP server apply the default 4 MiB limit to declared and streamed POST bodies and return HTTP 413 when exceeded...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3101
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a01bb64e-cbf0-da1b-135c-d0dc3b274ad5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A04:235E94:D7819F:12D5891:6A625E41 |
| html-safe-nonce | cc4ae9309119a93664fbdf275b716d50facd322d8ec7e2a79bac4c5524ac6791 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTA0OjIzNUU5NDpENzgxOUY6MTJENTg5MTo2QTYyNUU0MSIsInZpc2l0b3JfaWQiOiI4OTAzMTgxMjI2NjMwNzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f49a25eda5de42545b9e7f8e1a43f18c5dae46711c0595486e14fd5d160d9eb |
| hovercard-subject-tag | pull_request:4066747523 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/modelcontextprotocol/python-sdk/pull/3101/files |
| twitter:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| og:image:alt | Summary backport the configurable max_request_body_size option to the V1 Streamable HTTP server apply the default 4 MiB limit to declared and streamed POST bodies and return HTTP 413 when exceeded... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d5cd56dfa7e7ed6718ba879da3c0d884bd8b5fecd3883b5f00dcb66b8b8680f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d28abcf30a4025dfeef7673e1509edbc5d402c97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width