René's URL Explorer Experiment


Title: Add schema validation to lowlevel server by bhosmer-ant · Pull Request #1005 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add schema validation to lowlevel server by bhosmer-ant · Pull Request #1005 · modelcontextprotocol/python-sdk

X Title: Add schema validation to lowlevel server by bhosmer-ant · Pull Request #1005 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add schema validation to lowlevel server by bhosmer-ant · Pull Request #1005 · modelcontextprotocol/python-sdk

Open Graph Description: Lowlevel server validates incoming tool call arguments against tool's inputSchema note: @server.call_tool(validate_input=False) can be used to disable input validation validates tool call r...

X Description: Lowlevel server validates incoming tool call arguments against tool's inputSchema note: @server.call_tool(validate_input=False) can be used to disable input validation validates tool ca...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b9261712-0717-67d2-6b04-601d2de60562
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEC2:2E1F49:345652:43B59C:6A5BF1CD
html-safe-nonce7835a86fa6ec98d9b7a53dbced61b8ed1172b31a19a0ac133f628aafcb4fc824
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUMyOjJFMUY0OTozNDU2NTI6NDNCNTlDOjZBNUJGMUNEIiwidmlzaXRvcl9pZCI6IjI1NzQ2MDQwMjU1MTkxNDEzMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac96ff354e6ea3c04f3ef4849e9a8107b7d01655fb7b1e82860836013344ffa852
hovercard-subject-tagpull_request:2612418520
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/1005/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1e41b5d3e263d52402eb567f08324942b3a6aceb9b51afd5c8ec631f8d1bf25a/modelcontextprotocol/python-sdk/pull/1005
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e41b5d3e263d52402eb567f08324942b3a6aceb9b51afd5c8ec631f8d1bf25a/modelcontextprotocol/python-sdk/pull/1005
og:image:altLowlevel server validates incoming tool call arguments against tool's inputSchema note: @server.call_tool(validate_input=False) can be used to disable input validation validates tool call r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebhosmer-ant
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
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
disable-turbofalse
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/1005#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1005
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%2F1005
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1005
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1005
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1005
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
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.7k 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
bhosmer-anthttps://github.com/bhosmer-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
basil/lowlevel_schema_validationhttps://github.com/modelcontextprotocol/python-sdk/tree/basil/lowlevel_schema_validation
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1005
Commits5 (5)https://github.com/modelcontextprotocol/python-sdk/pull/1005/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1005/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files
Add schema validation to lowlevel serverhttps://github.com/modelcontextprotocol/python-sdk/pull/1005#top
bhosmer-anthttps://github.com/bhosmer-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
basil/lowlevel_schema_validationhttps://github.com/modelcontextprotocol/python-sdk/tree/basil/lowlevel_schema_validation
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
Jun 23, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1005#issue-3169034257
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
ihrprhttps://github.com/ihrpr
June 23, 2025 18:11https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18278737331
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/50311b7c2de4c6430d06c699996a188d7f5a5e5a..fff4cf9ab3f1c4d3bd206799096c1c65a687d209
50311b7https://github.com/modelcontextprotocol/python-sdk/commit/50311b7c2de4c6430d06c699996a188d7f5a5e5a
fff4cf9https://github.com/modelcontextprotocol/python-sdk/commit/fff4cf9ab3f1c4d3bd206799096c1c65a687d209
Compare https://github.com/modelcontextprotocol/python-sdk/compare/50311b7c2de4c6430d06c699996a188d7f5a5e5a..fff4cf9ab3f1c4d3bd206799096c1c65a687d209
June 23, 2025 19:33https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18279998472
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
June 23, 2025 19:55https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18280300565
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/b9cd587514af75263ef66f9e446e1e28f00376ef..727660ffdda109e74171afcfbbf814eaa5a0ee41
b9cd587https://github.com/modelcontextprotocol/python-sdk/commit/b9cd587514af75263ef66f9e446e1e28f00376ef
727660fhttps://github.com/modelcontextprotocol/python-sdk/commit/727660ffdda109e74171afcfbbf814eaa5a0ee41
Compare https://github.com/modelcontextprotocol/python-sdk/compare/b9cd587514af75263ef66f9e446e1e28f00376ef..727660ffdda109e74171afcfbbf814eaa5a0ee41
June 23, 2025 20:28https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18280752183
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
Jun 24, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1005#pullrequestreview-2952734999
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1005/files
ihrprhttps://github.com/ihrpr
https://github.com/modelcontextprotocol/python-sdk/pull/1005#pullrequestreview-2952734999
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
examples/servers/structured_output_lowlevel.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files#diff-8604d4c5baa0596ca92de98a6318ad440e6597c3f72ab2fbd8eba942fb58c290
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
README.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
ihrprhttps://github.com/ihrpr
stale reviewhttps://github.com/modelcontextprotocol/python-sdk/pull/1005#pullrequestreview-2952734999
93bd16fhttps://github.com/modelcontextprotocol/python-sdk/commit/93bd16fafacfd3476c96ca8ee37c0738f9de0f38
June 24, 2025 17:23https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18299351264
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
ihrprhttps://github.com/ihrpr
June 24, 2025 17:25https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18299375782
bhosmer-anthttps://github.com/bhosmer-ant
June 25, 2025 01:51https://github.com/modelcontextprotocol/python-sdk/pull/1005#commits-pushed-c0cbc9e
https://github.com/bhosmer-ant
Add inputSchema validation to lowlevel serverhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/c0cbc9ee3a1f6030939f1d849ae119ffad5ef903
c0cbc9ehttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/c0cbc9ee3a1f6030939f1d849ae119ffad5ef903
https://github.com/bhosmer-ant
Add outputSchema validation to lowlevel serverhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/35b7efb116a84fd0f073621ccc6ba6e1c81ad9ad
35b7efbhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/35b7efb116a84fd0f073621ccc6ba6e1c81ad9ad
https://github.com/bhosmer-ant
update README.md and add examplehttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/3c30ba456c9ca2666a070d698b71c94222d36d4a
3c30ba4https://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/3c30ba456c9ca2666a070d698b71c94222d36d4a
https://github.com/bhosmer-ant
address commentshttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/e69fd7830db31d2446c5cb4ec49af0d6d7dab6d9
e69fd78https://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/e69fd7830db31d2446c5cb4ec49af0d6d7dab6d9
https://github.com/bhosmer-ant
add validate_input flag to @server.call_toolhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/193b28fa344092d17f56f17e3e333f62af3be0f5
193b28fhttps://github.com/modelcontextprotocol/python-sdk/pull/1005/commits/193b28fa344092d17f56f17e3e333f62af3be0f5
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/5b75167f0cfb766b76b269e6884f031f1c7009e6..193b28fa344092d17f56f17e3e333f62af3be0f5
5b75167https://github.com/modelcontextprotocol/python-sdk/commit/5b75167f0cfb766b76b269e6884f031f1c7009e6
193b28fhttps://github.com/modelcontextprotocol/python-sdk/commit/193b28fa344092d17f56f17e3e333f62af3be0f5
Compare https://github.com/modelcontextprotocol/python-sdk/compare/5b75167f0cfb766b76b269e6884f031f1c7009e6..193b28fa344092d17f56f17e3e333f62af3be0f5
June 25, 2025 05:52https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18308999986
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
Jun 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1005#pullrequestreview-2956973815
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1005/files/193b28fa344092d17f56f17e3e333f62af3be0f5
ihrprhttps://github.com/ihrpr
https://github.com/modelcontextprotocol/python-sdk/pull/1005#pullrequestreview-2956973815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
c8bbfc0https://github.com/modelcontextprotocol/python-sdk/commit/c8bbfc034d5cb876d6b91185cf02da2af6fb8b44
Jun 25, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18316766511
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
June 25, 2025 13:23https://github.com/modelcontextprotocol/python-sdk/pull/1005#event-18316767245
https://github.com/DenisDupeyron
DenisDupeyronhttps://github.com/DenisDupeyron
Jul 30, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1005#ref-pullrequest-3277667610
Update recipe to 1.12.2 AnacondaRecipes/mcp-feedstock#5 https://github.com/AnacondaRecipes/mcp-feedstock/pull/5
https://github.com/rekby
rekbyhttps://github.com/rekby
Aug 11, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1005#ref-pullrequest-3310428033
Fix error outputSchema defined but no structured output returned ydb-platform/ydb-mcp#11 https://github.com/ydb-platform/ydb-mcp/pull/11
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 5, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1005#ref-pullrequest-3046787166
OutputSchema support in MCP tools #654 https://github.com/modelcontextprotocol/python-sdk/pull/654
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1005
https://github.com/ihrpr
ihrpr https://github.com/ihrpr
https://github.com/modelcontextprotocol/python-sdk/pull/1005/files/193b28fa344092d17f56f17e3e333f62af3be0f5
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1005
https://github.com/bhosmer-ant
https://github.com/ihrpr
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.