René's URL Explorer Experiment


Title: Add URL elicitation support (SEP-1036) by Kehrlann · Pull Request #993 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: Add URL elicitation support (SEP-1036) by Kehrlann · Pull Request #993 · modelcontextprotocol/java-sdk

X Title: Add URL elicitation support (SEP-1036) by Kehrlann · Pull Request #993 · modelcontextprotocol/java-sdk

Description: Add URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry. Breaking changes: ElicitRequest changed from a record to an interface. The original ElicitRequest record was renamed to ElicitFormRequest. McpClient builder elicitation() methods now accept ElicitFormRequest instead of ElicitRequest. New APIs: ElicitUrlRequest record for URL-mode elicitation. urlElicitation() builder methods in McpClient. elicitationCompleteConsumer() and elicitationCompleteConsumers() builder methods in McpClient. sendElicitationComplete() methods in McpAsyncServer and McpSyncServer. McpError.URL_ELICITATION_REQUIRED and McpSchema.ErrorCodes.URL_ELICITATION_REQUIRED. ElicitationCompleteNotification record and METHOD_NOTIFICATION_ELICITATION_COMPLETE constant. Supersedes #939 Closes #692

Open Graph Description: Add URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry. Break...

X Description: Add URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry. Break...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0d6e0ebd-4229-dbb8-7a8c-e4e5d65704f5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3B6:24344:57EBCD:75B11D:6A5B71BE
html-safe-nonceba1c4ac23edb9c8ef8597068b8e7ab447e5358db47c7fc5820491e242a93ec6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0I2OjI0MzQ0OjU3RUJDRDo3NUIxMUQ6NkE1QjcxQkUiLCJ2aXNpdG9yX2lkIjoiNDIxMDg3Mjk3MDg3OTU5NDg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5822a83bed2843d694de5408e80129780cd102df53f09f4dd6d52df460aeb521
hovercard-subject-tagpull_request:3788295941
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/java-sdk/pull/993/files
twitter:imagehttps://avatars.githubusercontent.com/u/5676779?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5676779?s=400&v=4
og:image:altAdd URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry. Break...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
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 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/java-sdk/pull/993/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F993%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%2Fjava-sdk%2Fpull%2F993%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%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 979 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 133 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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fjava-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%2Fjava-sdk%2Fissues%2Fnew%2Fchoose
Kehrlannhttps://github.com/Kehrlann
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
dgarnier/url-mode-elicitation-handlerhttps://github.com/modelcontextprotocol/java-sdk/tree/dgarnier/url-mode-elicitation-handler
Conversation 17 https://github.com/modelcontextprotocol/java-sdk/pull/993
Commits 3 https://github.com/modelcontextprotocol/java-sdk/pull/993/commits
Checks 24 https://github.com/modelcontextprotocol/java-sdk/pull/993/checks
Files changed https://github.com/modelcontextprotocol/java-sdk/pull/993/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Add URL elicitation support (SEP-1036) https://github.com/modelcontextprotocol/java-sdk/pull/993/files#top
Show all changes 3 commits https://github.com/modelcontextprotocol/java-sdk/pull/993/files
9cbe43b Add URL elicitation support (SEP-1036) Jun 1, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/993/commits/9cbe43bc61819dc920e5322c558cbcc4c7b0cbfa
395991e address feedback Kehrlann Jun 3, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/993/commits/395991e3d2e9405be083be6c9c3313225658b821
d01c83a Clean up ElicitFormRequest.Builder Kehrlann Jun 3, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/993/commits/d01c83ae740d6df1a2bd383d2992e4273b2c9b4b
Clear filters https://github.com/modelcontextprotocol/java-sdk/pull/993/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
client.md https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5323dcc2b5e999ce4ad5b916d9f63514e20a8d40d86ff16d89a1c21aad7179f0
server.md https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-307dce2103600fbe7bdad557e2576f7c0a7f658e9600357c81ba7c4b642d49b6
McpAsyncClient.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
McpClient.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-75a351c5e8ebafba95458ed93e5ad4a84fc3b715a296b0a1ece82d8f3caf87ea
McpClientFeatures.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-76de0b733b9c354edd31c769f95ecbeeb210288f7e6800adfbf1814f79b1a5c0
McpAsyncServer.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f
McpAsyncServerExchange.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5ccbf0e78f2c3331b314693b6e364245f382988e6b56a61fea52d8e463fa69a4
McpSyncServer.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-9a97c5273c2d210279bc6bfee3a4865fe993e9fe31dff202bfbf5f7d05dfdf13
McpError.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5ab8e1dbfa9394c21d4dbe5bcab758cdc5552ae2882bcf07d17a8b3060c658ec
McpSchema.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-8ac83bd9fbe0774d8d98808d03fc46fab670b2bb8e09a1acc84e543886e61d79
McpAsyncClientTest.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-c5bcf516e6a8fee47b54152745ef040ddcad5e79afce21c6086d9e2e6cc17ddc
McpSyncClientTest.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-e5133501a0040e68842f690f3944837ab51a325f2d6b3ceba9dcc48a93a50745
McpAsyncServerExchangeTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-ee7fca54782969e3dbfc1327ac6fb45b4078c75e09c6f75c9bb2fc27f9dcbffc
AbstractMcpClientServerIntegrationTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-8a7092de2b895ef8883890498686ed9d8e2d24f1ca8ae03bf5c64f1e6f4045a0
AbstractMcpAsyncClientTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-6bdf12ed7cfbacd69dc27ba7f902e9dc81ba04b290ac0fb6d2ea9974798f9d9b
McpAsyncClientResponseHandlerTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-c0bb6120d6530d451871217e81f218f33b2edbb9e41721e22b1d64f4bc0ba462
McpErrorTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4eca07b92435be5d6f1d6b092f0b9177db2aeb42262fd559bc1d77393bb7fbd9
McpSchemaTests.java https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-e474a915d644bb8740238fcb9ede490ae6a7e62e61109b7f1987bc4604b5dae3
docs/client.mdhttps://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5323dcc2b5e999ce4ad5b916d9f63514e20a8d40d86ff16d89a1c21aad7179f0
View file https://github.com/modelcontextprotocol/java-sdk/blob/d01c83ae740d6df1a2bd383d2992e4273b2c9b4b/docs/client.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/993/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5323dcc2b5e999ce4ad5b916d9f63514e20a8d40d86ff16d89a1c21aad7179f0
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5323dcc2b5e999ce4ad5b916d9f63514e20a8d40d86ff16d89a1c21aad7179f0
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-5323dcc2b5e999ce4ad5b916d9f63514e20a8d40d86ff16d89a1c21aad7179f0
docs/server.mdhttps://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-307dce2103600fbe7bdad557e2576f7c0a7f658e9600357c81ba7c4b642d49b6
View file https://github.com/modelcontextprotocol/java-sdk/blob/d01c83ae740d6df1a2bd383d2992e4273b2c9b4b/docs/server.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/993/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-307dce2103600fbe7bdad557e2576f7c0a7f658e9600357c81ba7c4b642d49b6
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-307dce2103600fbe7bdad557e2576f7c0a7f658e9600357c81ba7c4b642d49b6
chemicLhttps://github.com/chemicL
Jun 3, 2026https://github.com/modelcontextprotocol/java-sdk/pull/993/files#r3348257237
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-307dce2103600fbe7bdad557e2576f7c0a7f658e9600357c81ba7c4b642d49b6
mcp-core/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.javahttps://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
View file https://github.com/modelcontextprotocol/java-sdk/blob/d01c83ae740d6df1a2bd383d2992e4273b2c9b4b/mcp-core/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/993/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
https://github.com/modelcontextprotocol/java-sdk/pull/993/files#diff-4a7b3cc0ca46d3a01ae36554a9f4ba0cd914bcdb9e9fa7bbdaad3ed3f1856ad1
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/993/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.