René's URL Explorer Experiment


Title: Look the tool schema up by name for Mcp-Param-* validation instead of running tools/list by maxisbey · Pull Request #3630 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Look the tool schema up by name for Mcp-Param-* validation instead of running tools/list by maxisbey · Pull Request #3630 · modelcontextprotocol/python-sdk

X Title: Look the tool schema up by name for Mcp-Param-* validation instead of running tools/list by maxisbey · Pull Request #3630 · modelcontextprotocol/python-sdk

Description: Fixes #3565. What was wrong On the 2026-07-28 Streamable HTTP path, a tools/call that carries arguments is checked against the called tool's x-mcp-header declarations before dispatch. To find that tool's input schema, the server ran its own tools/list handler, page by page, on every such call. A server whose listing is expensive (an aggregating gateway, a large catalog) paid for a full listing per call. A slow listing delayed the call, and a failing one logged an error for it. A call to an unknown tool walked every page. What changes MCPServer looks the called tool up by name among its registered tools. Nothing to configure. The low-level Server takes a new optional keyword, get_tool_input_schema=: schemas: dict[str, dict[str, Any]] = {} # kept up to date as the gateway lists its backends server = Server( "gateway", on_list_tools=list_tools, # fans out to every backend on_call_tool=call_tool, get_tool_input_schema=schemas.get, ) It takes the tool name and returns that tool's input schema, or None when there is nothing to validate. When it is set, it is called instead of the tools/list handler. If it raises, the error is logged and the call is served unvalidated, the same as a failed listing. A server that declares no x-mcp-header on any tool can pass lambda name: None. It is called before middleware runs, so it is not scoped to the caller. The value is also readable as server.get_tool_input_schema. What users will notice MCPServer: Middleware no longer sees a tools/list for each tools/call. The schema that is validated is the registered one. Middleware that filters or rewrites tools/list results no longer affects validation. A registered tool that middleware hides from a caller used to be skipped. It is now validated like any other registered tool. The check runs before middleware. A caller who names a hidden tool and its marked argument, without the header, is answered with the header mismatch, which names the header and the argument, rather than with whatever middleware would have answered. The tool is not run. The TypeScript, Go, C#, Rust and PHP SDKs also resolve the tool by name before dispatch. A subclass that overrides MCPServer.list_tools() to add tools outside the registry no longer gets those tools validated. Low-level Server with get_tool_input_schema=: The tools/list handler does not run for a tools/call. Validation runs even when no tools/list handler is registered. None from the function skips validation for that call. It does not fall back to the listing. What is unchanged A low-level Server without the keyword resolves the schema through tools/list exactly as before. How a header is compared with the body, the 400 status and the -32020 error code. Apart from the cases above, the same requests are accepted and rejected. A call with no arguments and no Mcp-Param-* headers is still not validated. Earlier protocol versions, stdio and in-memory transports. The check only exists on the 2026-07-28 HTTP entry. Docs docs/advanced/header-parameters.md gains a short section, "Schemas by name", under "On the low-level Server", with a runnable example (docs_src/header_parameters/tutorial003.py) and a recap line. docs/advanced/low-level-server.md gains one bullet under "The other handlers" that points to that section. The "Servers validate Mcp-Param-* headers against the request body" section is removed from docs/migration.md, along with the link to it in docs/whats-new.md. The check is new in 2026-07-28, so there is nothing to migrate from v1, and the section described the internal listing this change replaces. How it was checked New tests in tests/server/test_streamable_http_modern.py: An MCPServer tool with an x-mcp-header argument is accepted with a matching header, rejected with a mismatched or missing one, and an unregistered tool is left to dispatch. Middleware sees only the two dispatched tools/calls. On main it also sees a tools/list for each request. A low-level server with get_tool_input_schema gets the same outcomes and its tools/list handler never runs. A raising get_tool_input_schema is logged and the call is served. New tests in tests/docs_src/test_header_parameters.py, over the 2026-07-28 HTTP path: the page's low-level example without the keyword dispatches a tools/list before each tools/call, the one with it dispatches only the tools/call, and it still rejects a mismatched Mcp-Param-Region header. The existing tests for the listing path (pagination, cursor cycle, page cap, raising handler, caller envelope) pass unchanged. They cover a low-level server without the keyword. For every tool on the everything-server, and on a server with nested models, aliases, optional and annotated arguments, the registered schema equals the inputSchema that tools/list returns. The http-custom-header-server-validation conformance scenario passes against the everything-server. ./scripts/test (100% coverage), ruff and pyright are clean. AI Disclaimer

Open Graph Description: Fixes #3565. What was wrong On the 2026-07-28 Streamable HTTP path, a tools/call that carries arguments is checked against the called tool's x-mcp-header declarations before dispatch. To find t...

X Description: Fixes #3565. What was wrong On the 2026-07-28 Streamable HTTP path, a tools/call that carries arguments is checked against the called tool's x-mcp-header declarations before dispatch. To fi...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:71d9f3b7-31ed-898a-dc71-f96533eded45
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0C4:24ACB9:16889F2:1D969FB:6B012A25
html-safe-nonce4dba8fea650e4d711161a2d15622f6b0bc0cbee3ca6a8cb66efb77598cc8035a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEM0OjI0QUNCOToxNjg4OUYyOjFEOTY5RkI6NkIwMTJBMjUiLCJ2aXNpdG9yX2lkIjoiNDkyNTIxOTM2Mjk3NTA2NjY2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccb8d929e4e19aa23ba35aebb08059387b660807c70c2efc01d35c9c4166a1d19
hovercard-subject-tagpull_request:4717345166
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/3630/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:altFixes #3565. What was wrong On the 2026-07-28 Streamable HTTP path, a tools/call that carries arguments is checked against the called tool's x-mcp-header declarations before dispatch. To find t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3630%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3630%2Ffiles
Sign uphttps://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/3630/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues313 (313)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
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
3565-param-validation-schema-lookuphttps://github.com/modelcontextprotocol/python-sdk/tree/3565-param-validation-schema-lookup
Conversation 10 https://github.com/modelcontextprotocol/python-sdk/pull/3630
Commits 2 https://github.com/modelcontextprotocol/python-sdk/pull/3630/commits
Checks 40 https://github.com/modelcontextprotocol/python-sdk/pull/3630/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Look the tool schema up by name for Mcp-Param-* validation instead of running tools/list https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#top
Show all changes 2 commits https://github.com/modelcontextprotocol/python-sdk/pull/3630/files
b04cf03 Look the tool schema up by name for Mcp-Param-* validation maxisbey Oct 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3630/commits/b04cf033cf5876f24a3b6eaa89c7fac0623522ef
cf29493 Say that the tool schema lookup runs before middleware maxisbey Oct 2, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3630/commits/cf29493dd41f1d10d3e54303cc6a9b9fc8710792
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
header-parameters.md https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-643e611228023a0b16e9c85a80c13970a4b29fc7554f31ca232b6dd330020a45
low-level-server.md https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
whats-new.md https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-9428ccc149911a1fdbacb719bfe6f6e4d0c4fbe84f4ce18d14cdb5cd82b9df45
tutorial003.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-cf9c14f77bb0326663870cf69fb7881ffc1b2387545a69bb982b8217d764a765
_streamable_http_modern.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-c5e06136c127a1503b8eab18375355c38ceb7e71b5a1c04b36ebf2fbc3d9067d
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
test_header_parameters.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-acf5f5d96c5d0a5ee0643ad6515d15a4a3e7570c47f8b4a84178480e674287c7
test_streamable_http_modern.py https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-1e3c8aa3513b03c2ac6b7534d2b3a45dcbf59ef32f158028e9cc2fff0760893f
docs/advanced/header-parameters.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-643e611228023a0b16e9c85a80c13970a4b29fc7554f31ca232b6dd330020a45
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/docs/advanced/header-parameters.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-643e611228023a0b16e9c85a80c13970a4b29fc7554f31ca232b6dd330020a45
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166465659
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
docs/advanced/low-level-server.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/docs/advanced/low-level-server.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-70e089ea18cc1d0dcc9b488293d6a16a84f37f75d8984e67b8c8064a9721b537
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
claudehttps://github.com/apps/claude
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166666868
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
docs/whats-new.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-9428ccc149911a1fdbacb719bfe6f6e4d0c4fbe84f4ce18d14cdb5cd82b9df45
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/docs/whats-new.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-9428ccc149911a1fdbacb719bfe6f6e4d0c4fbe84f4ce18d14cdb5cd82b9df45
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166465682
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-9428ccc149911a1fdbacb719bfe6f6e4d0c4fbe84f4ce18d14cdb5cd82b9df45
docs_src/header_parameters/tutorial003.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-cf9c14f77bb0326663870cf69fb7881ffc1b2387545a69bb982b8217d764a765
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/docs_src/header_parameters/tutorial003.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
src/mcp/server/_streamable_http_modern.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-c5e06136c127a1503b8eab18375355c38ceb7e71b5a1c04b36ebf2fbc3d9067d
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/src/mcp/server/_streamable_http_modern.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-c5e06136c127a1503b8eab18375355c38ceb7e71b5a1c04b36ebf2fbc3d9067d
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-c5e06136c127a1503b8eab18375355c38ceb7e71b5a1c04b36ebf2fbc3d9067d
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-c5e06136c127a1503b8eab18375355c38ceb7e71b5a1c04b36ebf2fbc3d9067d
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
claudehttps://github.com/apps/claude
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166666859
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/src/mcp/server/mcpserver/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
claudehttps://github.com/apps/claude
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166666889
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#3565https://github.com/modelcontextprotocol/python-sdk/issues/3565
cafa33bhttps://github.com/modelcontextprotocol/python-sdk/commit/cafa33b3530b0af2e4a8467d11f92bc1cb00368e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
claudehttps://github.com/apps/claude
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#r4166666844
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
tests/docs_src/test_header_parameters.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-acf5f5d96c5d0a5ee0643ad6515d15a4a3e7570c47f8b4a84178480e674287c7
View file https://github.com/modelcontextprotocol/python-sdk/blob/cf29493dd41f1d10d3e54303cc6a9b9fc8710792/tests/docs_src/test_header_parameters.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3630/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-acf5f5d96c5d0a5ee0643ad6515d15a4a3e7570c47f8b4a84178480e674287c7
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-acf5f5d96c5d0a5ee0643ad6515d15a4a3e7570c47f8b4a84178480e674287c7
https://github.com/modelcontextprotocol/python-sdk/pull/3630/files#diff-acf5f5d96c5d0a5ee0643ad6515d15a4a3e7570c47f8b4a84178480e674287c7
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3630/files
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.