René's URL Explorer Experiment


Title: Fix error behavior on unregistered handlers in stateless server handler by maff · Pull Request #800 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: Fix error behavior on unregistered handlers in stateless server handler by maff · Pull Request #800 · modelcontextprotocol/java-sdk

X Title: Fix error behavior on unregistered handlers in stateless server handler by maff · Pull Request #800 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - Fix error behavior on unregistered handlers in stateless server handler by maff · Pull Request #800 · modelcontextprotocol/java-sdk

Open Graph Description: When a client requests a resource without a registered handler despite a stateless server not advertising it, the server now returns with a JSON-RPC method not found error (-32601), aligned with th...

X Description: When a client requests a resource without a registered handler despite a stateless server not advertising it, the server now returns with a JSON-RPC method not found error (-32601), aligned with th...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/800

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:47e667e1-8e47-f5f1-a698-ca6758df0e77
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2B8:330FFF:133BBD:18F9A3:6A5CD354
html-safe-noncec6a936ccb96b713fabafab61568b6568a516c4642bfa764460ad9cdf1a87e1d5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkI4OjMzMEZGRjoxMzNCQkQ6MThGOUEzOjZBNUNEMzU0IiwidmlzaXRvcl9pZCI6IjEyNDk1MTI1OTM1NzQxMjIzMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2d274f96aa8e9bf80aafee3a4d021cd3e85c10c7011b4859e71e899b3d1ace0e
hovercard-subject-tagpull_request:3291315158
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/java-sdk/800/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/380eb596a6e5d0f7a13e55df0f3658754fc01e0adbead07351a8a85dd4e3cc56/modelcontextprotocol/java-sdk/pull/800
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/380eb596a6e5d0f7a13e55df0f3658754fc01e0adbead07351a8a85dd4e3cc56/modelcontextprotocol/java-sdk/pull/800
og:image:altWhen a client requests a resource without a registered handler despite a stateless server not advertising it, the server now returns with a JSON-RPC method not found error (-32601), aligned with th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaff
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-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/java-sdk/pull/800#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F800
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%2Fjava-sdk%2Fpull%2F800
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%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/800
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/800
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/800
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 134 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Kehrlannhttps://github.com/Kehrlann
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
maff:fix-stateless-server-unregistered-handler-behaviorhttps://github.com/maff/mcp-java-sdk/tree/fix-stateless-server-unregistered-handler-behavior
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/800
Commits2 (2)https://github.com/modelcontextprotocol/java-sdk/pull/800/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/800/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/800/files
Fix error behavior on unregistered handlers in stateless server handlerhttps://github.com/modelcontextprotocol/java-sdk/pull/800#top
Kehrlannhttps://github.com/Kehrlann
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
maff:fix-stateless-server-unregistered-handler-behaviorhttps://github.com/maff/mcp-java-sdk/tree/fix-stateless-server-unregistered-handler-behavior
https://github.com/maff
maffhttps://github.com/maff
Feb 16, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#issue-3949268555
#784https://github.com/modelcontextprotocol/java-sdk/issues/784
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/maff
maffhttps://github.com/maff
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/caf847490f7499b987b9d0d016a0939ca8eec0a1..3ac4484f9e77070ca3b734d2a1ef8266b3189678
caf8474https://github.com/modelcontextprotocol/java-sdk/commit/caf847490f7499b987b9d0d016a0939ca8eec0a1
3ac4484https://github.com/modelcontextprotocol/java-sdk/commit/3ac4484f9e77070ca3b734d2a1ef8266b3189678
Compare https://github.com/modelcontextprotocol/java-sdk/compare/caf847490f7499b987b9d0d016a0939ca8eec0a1..3ac4484f9e77070ca3b734d2a1ef8266b3189678
February 16, 2026 19:40https://github.com/modelcontextprotocol/java-sdk/pull/800#event-22834019939
https://github.com/maff
maffhttps://github.com/maff
Feb 16, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/800#pullrequestreview-3810260024
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/800/files
...ing-webmvc/src/test/java/io/modelcontextprotocol/server/WebMvcStatelessIntegrationTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/800/files#diff-b475c400cec7b57c391cf71dd803c90d7e5a214f3ac22e31ee835842e6af72bd
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/maff
maffhttps://github.com/maff
Feb 18, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#issuecomment-3922842624
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
@tzolovhttps://github.com/tzolov
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/maff
maffhttps://github.com/maff
Feb 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/800#ref-issue-3933758233
Stateless server handler throws exception instead of returning JSON-RPC -32601 (Method not found) for not registered capabilities #784 https://github.com/modelcontextprotocol/java-sdk/issues/784
https://github.com/maff
maffhttps://github.com/maff
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/3ac4484f9e77070ca3b734d2a1ef8266b3189678..2d76d16dd0377268582fdf3e0059cde963de7424
3ac4484https://github.com/modelcontextprotocol/java-sdk/commit/3ac4484f9e77070ca3b734d2a1ef8266b3189678
2d76d16https://github.com/modelcontextprotocol/java-sdk/commit/2d76d16dd0377268582fdf3e0059cde963de7424
Compare https://github.com/modelcontextprotocol/java-sdk/compare/3ac4484f9e77070ca3b734d2a1ef8266b3189678..2d76d16dd0377268582fdf3e0059cde963de7424
February 25, 2026 15:14https://github.com/modelcontextprotocol/java-sdk/pull/800#event-23071799736
https://github.com/maff
maffhttps://github.com/maff
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/2d76d16dd0377268582fdf3e0059cde963de7424..ef0dbebed25d6821528a6dd53469f13c98577b84
2d76d16https://github.com/modelcontextprotocol/java-sdk/commit/2d76d16dd0377268582fdf3e0059cde963de7424
ef0dbebhttps://github.com/modelcontextprotocol/java-sdk/commit/ef0dbebed25d6821528a6dd53469f13c98577b84
Compare https://github.com/modelcontextprotocol/java-sdk/compare/2d76d16dd0377268582fdf3e0059cde963de7424..ef0dbebed25d6821528a6dd53469f13c98577b84
March 16, 2026 10:30https://github.com/modelcontextprotocol/java-sdk/pull/800#event-23602432351
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 25, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27208511868
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 26, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/800#pullrequestreview-4578584490
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/800/files
Kehrlannhttps://github.com/Kehrlann
https://github.com/modelcontextprotocol/java-sdk/pull/800#pullrequestreview-4578584490
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@maffhttps://github.com/maff
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
...core/src/test/java/io/modelcontextprotocol/server/DefaultMcpStatelessServerHandlerTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/800/files#diff-4c909d2c0a16bdb6379e45aad50df2c79cb24e1340a699d58bd57829b3e1a9fb
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
mcp-test/src/test/java/io/modelcontextprotocol/server/HttpServletStatelessIntegrationTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/800/files#diff-ff765d37c949924d19d5525fbe0c3ea1364922346bf2e43059c1d048bec45b5a
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
mcp-test/src/test/java/io/modelcontextprotocol/server/HttpServletStatelessIntegrationTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/800/files#diff-ff765d37c949924d19d5525fbe0c3ea1364922346bf2e43059c1d048bec45b5a
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
bug https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abug
area/server https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fserver
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
area/transport https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Ftransport
Jun 26, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27249385029
maffhttps://github.com/maff
July 8, 2026 14:13https://github.com/modelcontextprotocol/java-sdk/pull/800#commits-pushed-67747c2
https://github.com/maff
Fix error behavior on unregistered handlers in stateless server handlerhttps://github.com/modelcontextprotocol/java-sdk/pull/800/commits/67747c22419412c802a2ea78f63290d8a17c8d27
67747c2https://github.com/modelcontextprotocol/java-sdk/pull/800/commits/67747c22419412c802a2ea78f63290d8a17c8d27
https://github.com/maff
Rewrite testMissingHandlerReturnsMethodNotFoundError using a client t…https://github.com/modelcontextprotocol/java-sdk/pull/800/commits/a446be457cea2a9796ef010dc3c39a3e405fc85e
a446be4https://github.com/modelcontextprotocol/java-sdk/pull/800/commits/a446be457cea2a9796ef010dc3c39a3e405fc85e
https://github.com/maff
maffhttps://github.com/maff
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/8d6ec5417f2da5db8997e623fc2c994e2b783914..a446be457cea2a9796ef010dc3c39a3e405fc85e
8d6ec54https://github.com/modelcontextprotocol/java-sdk/commit/8d6ec5417f2da5db8997e623fc2c994e2b783914
a446be4https://github.com/modelcontextprotocol/java-sdk/commit/a446be457cea2a9796ef010dc3c39a3e405fc85e
Compare https://github.com/modelcontextprotocol/java-sdk/compare/8d6ec5417f2da5db8997e623fc2c994e2b783914..a446be457cea2a9796ef010dc3c39a3e405fc85e
July 8, 2026 12:23https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27714534453
https://github.com/maff
maffhttps://github.com/maff
Jul 8, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#issuecomment-4914746524
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jul 8, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/800#pullrequestreview-4654146827
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/800/files/a446be457cea2a9796ef010dc3c39a3e405fc85e
Kehrlannhttps://github.com/Kehrlann
https://github.com/modelcontextprotocol/java-sdk/pull/800#pullrequestreview-4654146827
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
2.0.1https://github.com/modelcontextprotocol/java-sdk/milestone/32
Jul 8, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27715199794
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
Jul 8, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27715201671
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
5d3decehttps://github.com/modelcontextprotocol/java-sdk/commit/5d3decebd695fe3c7d5b942f45e4ccc6fef032ad
Jul 8, 2026https://github.com/modelcontextprotocol/java-sdk/pull/800#event-27715330174
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-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%2Fjava-sdk%2Fpull%2F800
https://github.com/Kehrlann
Kehrlann https://github.com/Kehrlann
https://github.com/modelcontextprotocol/java-sdk/pull/800/files/a446be457cea2a9796ef010dc3c39a3e405fc85e
https://github.com/Kehrlann
Kehrlann https://github.com/Kehrlann
area/server https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fserver
area/transport https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Ftransport
bug https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abug
2.0.1 https://github.com/modelcontextprotocol/java-sdk/milestone/32
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/800
https://github.com/maff
https://github.com/Kehrlann
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.