René's URL Explorer Experiment


Title: refactor: consolidate MCP client initialization logic by tzolov · Pull Request #334 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: refactor: consolidate MCP client initialization logic by tzolov · Pull Request #334 · modelcontextprotocol/java-sdk

X Title: refactor: consolidate MCP client initialization logic by tzolov · Pull Request #334 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - refactor: consolidate MCP client initialization logic by tzolov · Pull Request #334 · modelcontextprotocol/java-sdk

Open Graph Description: Move session setup, completion, and error callbacks into doInitialize method Rename variables in McpClientSession for better clarity (sink -> responseSink/resultSink)

X Description: Move session setup, completion, and error callbacks into doInitialize method Rename variables in McpClientSession for better clarity (sink -> responseSink/resultSink)

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

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:ec83d06e-cf82-3522-011c-db4819a15a56
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA352:2F9D41:743A35:9B032F:6A5B3BD9
html-safe-nonced1d55d32385931e198a87e2b1384be99e453431674160e3c0bda4b9898078c79
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzUyOjJGOUQ0MTo3NDNBMzU6OUIwMzJGOjZBNUIzQkQ5IiwidmlzaXRvcl9pZCI6IjU1NzI5NTI2MDY0NjM3MDQwMjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacee682ee3e90c3abbfb0f90ecb5986592e10d4c9cd1e61d58d109044f87e7c0f9
hovercard-subject-tagpull_request:2608923384
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/334/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/92691de2ac96dd1ec1657b20459b50c9c4f51ca3bf299279552e48030216b5c9/modelcontextprotocol/java-sdk/pull/334
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/92691de2ac96dd1ec1657b20459b50c9c4f51ca3bf299279552e48030216b5c9/modelcontextprotocol/java-sdk/pull/334
og:image:altMove session setup, completion, and error callbacks into doInitialize method Rename variables in McpClientSession for better clarity (sink -> responseSink/resultSink)
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametzolov
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/334#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F334
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%2F334
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/334
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/334
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/334
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
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 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
tzolovhttps://github.com/tzolov
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
improve-mcp-client-structurehttps://github.com/modelcontextprotocol/java-sdk/tree/improve-mcp-client-structure
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/334
Commits1 (1)https://github.com/modelcontextprotocol/java-sdk/pull/334/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/334/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/334/files
refactor: consolidate MCP client initialization logichttps://github.com/modelcontextprotocol/java-sdk/pull/334#top
tzolovhttps://github.com/tzolov
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
improve-mcp-client-structurehttps://github.com/modelcontextprotocol/java-sdk/tree/improve-mcp-client-structure
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 21, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#issue-3164961705
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
https://github.com/tzolov
refactor: consolidate MCP client initialization logichttps://github.com/modelcontextprotocol/java-sdk/pull/334/commits/57985c05a24912bda9de2beee3c1938b3ed2d5f0
57985c0https://github.com/modelcontextprotocol/java-sdk/pull/334/commits/57985c05a24912bda9de2beee3c1938b3ed2d5f0
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 24, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/334#pullrequestreview-2952472236
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/334/files/57985c05a24912bda9de2beee3c1938b3ed2d5f0
chemicLhttps://github.com/chemicL
https://github.com/modelcontextprotocol/java-sdk/pull/334#pullrequestreview-2952472236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
mcp/src/main/java/io/modelcontextprotocol/spec/McpClientSession.javahttps://github.com/modelcontextprotocol/java-sdk/pull/334/files/57985c05a24912bda9de2beee3c1938b3ed2d5f0#diff-196ac8af748547b20dc5d0eb2203f4d949e4c9b4da17c9529392220e4f1deed4
chemicLhttps://github.com/chemicL
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#discussion_r2163150157
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#discussion_r2163360106
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
mcp/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.javahttps://github.com/modelcontextprotocol/java-sdk/pull/334/files/57985c05a24912bda9de2beee3c1938b3ed2d5f0#diff-31e16deaf3da3266ef0811b072b367a44c30e9c03c9e1fc738de6dc07d22d63d
chemicLhttps://github.com/chemicL
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#discussion_r2163155344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
tzolovhttps://github.com/tzolov
Jun 24, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/334#ref-commit-be719f5
https://github.com/tzolov
refactor: consolidate MCP client initialization logic (https://github.com/modelcontextprotocol/java-sdk/commit/be719f53d80d5e813521432a34e5db0e974043fa
#334https://github.com/modelcontextprotocol/java-sdk/pull/334
)https://github.com/modelcontextprotocol/java-sdk/commit/be719f53d80d5e813521432a34e5db0e974043fa
be719f5https://github.com/modelcontextprotocol/java-sdk/commit/be719f53d80d5e813521432a34e5db0e974043fa
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#issuecomment-2999486644
be719f5https://github.com/modelcontextprotocol/java-sdk/commit/be719f53d80d5e813521432a34e5db0e974043fa
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/334#event-18290063995
https://github.com/tzolov
tzolovhttps://github.com/tzolov
June 24, 2025 09:25https://github.com/modelcontextprotocol/java-sdk/pull/334#event-18290370401
rhishirajnemahttps://github.com/rhishirajnema
Jun 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/334#ref-commit-7f007e3
https://github.com/parth-iprime
https://github.com/jitokim
https://github.com/denniskawurek
https://github.com/chemicL
https://github.com/tzolov
https://github.com/LucaButBoring
https://github.com/pantanurag555
https://github.com/JooKS-me
https://github.com/sunyuhan1998
https://github.com/gongwn1
https://github.com/epaga
https://github.com/OrGivati
https://github.com/bzsurbhi
https://github.com/Kehrlann
https://github.com/134130
https://github.com/ZachGerman
https://github.com/ilayaperumalg
https://github.com/quaff
https://github.com/codezkk
https://github.com/Randgalt
https://github.com/He-Pin
https://github.com/Zizo-Vi
https://github.com/zhangjingcn
https://github.com/stantonk
https://github.com/arcaputo3
https://github.com/graemerocher
https://github.com/sdelamo
https://github.com/JunJieLiu51520
https://github.com/asaikali
https://github.com/sheegansrigm
https://github.com/leehaut
https://github.com/bedrin
https://github.com/uarlouski
https://github.com/vorburger
https://github.com/hbsjz-swl
https://github.com/mingo1996
https://github.com/codeboyzhou
https://github.com/ashakirin
https://github.com/jonathanhefner
https://github.com/rhtnr
https://github.com/sdeleuze
https://github.com/filiphr
https://github.com/scottslewis
https://github.com/rhishirajnema
link #115926 Upgrade MCP SDK fork to upstream v0.18.2 for streamable …https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
7f007e3https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
#7https://github.com/GreywallSoftware/java-sdk/pull/7
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%2F334
https://github.com/chemicL
chemicL https://github.com/chemicL
https://github.com/modelcontextprotocol/java-sdk/pull/334/files/57985c05a24912bda9de2beee3c1938b3ed2d5f0
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/334
https://github.com/tzolov
https://github.com/chemicL
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.