René's URL Explorer Experiment


Title: fix(server): return -32602 for resource not found (SEP-2164) by pja-ant · Pull Request #2344 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix(server): return -32602 for resource not found (SEP-2164) by pja-ant · Pull Request #2344 · modelcontextprotocol/python-sdk

X Title: fix(server): return -32602 for resource not found (SEP-2164) by pja-ant · Pull Request #2344 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix(server): return -32602 for resource not found (SEP-2164) by pja-ant · Pull Request #2344 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Implements SEP-2164 — standardizes the resource-not-found error code to -32602 (Invalid Params). Problem The Python SDK currently returns error code 0 for resource-not-found, making it impo...

X Description: Summary Implements SEP-2164 — standardizes the resource-not-found error code to -32602 (Invalid Params). Problem The Python SDK currently returns error code 0 for resource-not-found, making it impo...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b53c83e0-2cf6-0e4b-110c-627f39b3d59a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EE2:145567:DB7CC:124848:6A5B14F2
html-safe-nonce0cdfd1080121894dcccada6d5dec301817af676ddbcdad2bfa430f9977c7987d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUUyOjE0NTU2NzpEQjdDQzoxMjQ4NDg6NkE1QjE0RjIiLCJ2aXNpdG9yX2lkIjoiMjY0NzYwOTE5OTg5MDk3NzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4c7503fd3ff7404663c4adac888825ba8328c7eb860309e7fa26122b8840b741
hovercard-subject-tagpull_request:3445761142
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
twitter:imagehttps://opengraph.githubassets.com/4b8798babb8e9b4d46c39c268ca436f5804f2abd2af57369dc2503815c867163/modelcontextprotocol/python-sdk/pull/2344
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b8798babb8e9b4d46c39c268ca436f5804f2abd2af57369dc2503815c867163/modelcontextprotocol/python-sdk/pull/2344
og:image:altSummary Implements SEP-2164 — standardizes the resource-not-found error code to -32602 (Invalid Params). Problem The Python SDK currently returns error code 0 for resource-not-found, making it impo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepja-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/2344/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2344%2Fcommits
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%2F2344%2Fcommits
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%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
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 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
pja-anthttps://github.com/pja-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
feat/sep-2164-resource-not-found-error-codehttps://github.com/modelcontextprotocol/python-sdk/tree/feat/sep-2164-resource-not-found-error-code
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2344
Commits7 (7)https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2344/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2344/files
fix(server): return -32602 for resource not found (SEP-2164)https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits#top
pja-anthttps://github.com/pja-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
feat/sep-2164-resource-not-found-error-codehttps://github.com/modelcontextprotocol/python-sdk/tree/feat/sep-2164-resource-not-found-error-code
fix(server): return -32602 for resource not found (SEP-2164)https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/3007354833cf12f674672951ec2b9267f39adb60
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
3007354https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/3007354833cf12f674672951ec2b9267f39adb60
https://github.com/modelcontextprotocol/python-sdk/tree/3007354833cf12f674672951ec2b9267f39adb60
fix(server): raise distinct errors for not-found vs template failurehttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/bcbb7acccbccfbca8e89f56aa7e6d69cc4c71228
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
bcbb7achttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/bcbb7acccbccfbca8e89f56aa7e6d69cc4c71228
https://github.com/modelcontextprotocol/python-sdk/tree/bcbb7acccbccfbca8e89f56aa7e6d69cc4c71228
fix(server): let template handlers signal not-found per SEP-2164https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/36e5268cc5be39aacb32cea7d4777760a2c55b2e
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
36e5268https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/36e5268cc5be39aacb32cea7d4777760a2c55b2e
https://github.com/modelcontextprotocol/python-sdk/tree/36e5268cc5be39aacb32cea7d4777760a2c55b2e
refactor(server): keep ResourceNotFoundError out of top-level mcpserver exportshttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/0172696cb0f96c6fde92d89cb2a671ebed992ed9
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
0172696https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/0172696cb0f96c6fde92d89cb2a671ebed992ed9
https://github.com/modelcontextprotocol/python-sdk/tree/0172696cb0f96c6fde92d89cb2a671ebed992ed9
chore(server): address review nits on resource error handlinghttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/6bc310eed3eb9e3d6a9f82a61c7e2245fa766498
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
6bc310ehttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/6bc310eed3eb9e3d6a9f82a61c7e2245fa766498
https://github.com/modelcontextprotocol/python-sdk/tree/6bc310eed3eb9e3d6a9f82a61c7e2245fa766498
docs(server): document Raises on MCPServer.read_resource()https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/8ded8de25f958d896c150037a47a945d2978b424
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
8ded8dehttps://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/8ded8de25f958d896c150037a47a945d2978b424
https://github.com/modelcontextprotocol/python-sdk/tree/8ded8de25f958d896c150037a47a945d2978b424
docs(server): document Raises on Context.read_resource()https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/fc4058825d8f9ad161aa6eae84191e3196c61a6c
https://github.com/pja-ant
pja-anthttps://github.com/modelcontextprotocol/python-sdk/commits?author=pja-ant
fc40588https://github.com/modelcontextprotocol/python-sdk/pull/2344/commits/fc4058825d8f9ad161aa6eae84191e3196c61a6c
https://github.com/modelcontextprotocol/python-sdk/tree/fc4058825d8f9ad161aa6eae84191e3196c61a6c
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.