René's URL Explorer Experiment


Title: fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec by maxisbey · Pull Request #2056 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec by maxisbey · Pull Request #2056 · modelcontextprotocol/python-sdk

X Title: fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec by maxisbey · Pull Request #2056 · modelcontextprotocol/python-sdk

Description: Problem The JSON-RPC 2.0 specification states: If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null. The SDK's JSONRPCError.id was typed as RequestId (int | str), rejecting null. This forced a non-compliant id="server-error" sentinel workaround in the server transports. The TypeScript SDK and MCP schema both allow null ids — the Python SDK was the sole outlier. Changes Type layer (src/mcp/types/jsonrpc.py): JSONRPCError.id changed from RequestId to RequestId | None Added @model_serializer to ensure id: null is preserved in JSON output even when serializing with exclude_none=True (which is used across 20+ call sites) JSONRPCResponse.id unchanged — successful responses always have a non-null id Server transports (streamable_http.py, streamable_http_manager.py): Replaced id="server-error" sentinel with id=None Added null guard in the server-side message router to prevent str(None) producing "None" Session layer (shared/session.py): Added null-id guard in _handle_response before response routing — surfaces null-id errors as MCPError via the message handler instead of silently discarding them Partially addresses #1821 This fixes the id field problem described in #1821 (Python used id="server-error" where the spec requires null). The error code divergence tracked in that issue is still pending spec clarification. AI Disclaimer

Open Graph Description: Problem The JSON-RPC 2.0 specification states: If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null. The SDK's JSONRPCError.id w...

X Description: Problem The JSON-RPC 2.0 specification states: If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null. The SDK's JSONRPCError....

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2056

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:42c4a330-23bc-6a1d-edf8-03739954f2b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDEB4:1E741D:1F21DC4:2969239:6A5BD882
html-safe-noncee9b8f07c0c8f81f15f63ebe30a2ee998ce9d469f277507a58449aeb129538a5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUI0OjFFNzQxRDoxRjIxREM0OjI5NjkyMzk6NkE1QkQ4ODIiLCJ2aXNpdG9yX2lkIjoiMTQ4NDk1MjI3NTczNDkxODQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac855d8c254a5411148242abdb82470822433c53ac519f465e7b3a1279ffb41d8b
hovercard-subject-tagpull_request:3282047281
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2056/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altProblem The JSON-RPC 2.0 specification states: If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null. The SDK's JSONRPCError.id w...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2056%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2056%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 307 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/jsonrpc-error-null-idhttps://github.com/modelcontextprotocol/python-sdk/tree/fix/jsonrpc-error-null-id
Conversation 12 https://github.com/modelcontextprotocol/python-sdk/pull/2056
Commits 7 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits
Checks 30 https://github.com/modelcontextprotocol/python-sdk/pull/2056/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#top
Show all changes 7 commits https://github.com/modelcontextprotocol/python-sdk/pull/2056/files
88bb121 fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec maxisbey Feb 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/88bb1215898072b30aadbce6ec25478f03073749
6500c7c fix: use PARSE_ERROR constant instead of raw -32700 in tests maxisbey Feb 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/6500c7ce78e32140053cf6eb4ef104bc1b53eba8
bf35f27 fix: eliminate uncovered branches in null-id handling maxisbey Feb 13, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/bf35f272f483ba3685f0cc6ccf30faa5e07f58bc
c583fb6 refactor: replace assert with natural type narrowing for null-id check maxisbey Feb 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/c583fb67dd511897c8fa9032a0a7e54d4e8a609d
43ee2d9 refactor: use exclude_unset for JSONRPC wire serialization maxisbey Feb 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/43ee2d994701a56fc0f89fdd69ed603e0755abb6
75c84bf fix: prevent MCPError from marking data as set when None maxisbey Feb 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/75c84bfa050fa072d72aa7c66b8694452f996e21
dbfba9d test: remove vanilla Pydantic serialization test maxisbey Feb 16, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2056/commits/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
websocket.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
websocket.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
exceptions.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
jsonrpc.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
test_streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d
test_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
src/mcp/client/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/client/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-41ed2e8548ae223801c0a37a6b50ce913e24f0e660bbbc2ddd91686820c86336
src/mcp/client/stdio.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/client/stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/client/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
src/mcp/client/websocket.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/client/websocket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-8f9b2dd9cb0b005e59cbf396efef3f1c4bf00192414df9443339697ff60fc340
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
src/mcp/server/stdio.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-19a44750677a645222700b9984d14682f626518ae045cf909c4daf665cb3264e
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
src/mcp/server/streamable_http_manager.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/streamable_http_manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
src/mcp/server/websocket.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/server/websocket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-50e548f9338e642984d43370856447086548f28b9f0c2732988e64e7a56d2b31
src/mcp/shared/exceptions.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/shared/exceptions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-78c8edd9357c34d072f24eac006407d819a6743472714abaf9a3c915d9be9d8a
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/shared/session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
src/mcp/types/jsonrpc.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/src/mcp/types/jsonrpc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
tests/server/test_streamable_http_manager.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/tests/server/test_streamable_http_manager.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d
tests/shared/test_session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
View file https://github.com/modelcontextprotocol/python-sdk/blob/dbfba9d53a213c96722bbf401b60ec1ab45a7bf7/tests/shared/test_session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2056/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
https://github.com/modelcontextprotocol/python-sdk/pull/2056/files#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.