René's URL Explorer Experiment


Title: fix: allow omitting mcpServers in session requests by PsiACE · Pull Request #58 · agentclientprotocol/python-sdk · GitHub

Open Graph Title: fix: allow omitting mcpServers in session requests by PsiACE · Pull Request #58 · agentclientprotocol/python-sdk

X Title: fix: allow omitting mcpServers in session requests by PsiACE · Pull Request #58 · agentclientprotocol/python-sdk

Description: Summary Allow clients to omit mcpServers in NewSessionRequest and LoadSessionRequest without triggering Pydantic validation errors. This keeps the Python SDK aligned with the protocol expectation from issue #55 while the upstream schema continues to mark the field as required. Related issues Closes #55 Testing make check make test Docs & screenshots None. Checklist Conventional Commit title (e.g. feat:, fix:). Tests cover the change or are not required (explain above). Docs/examples updated when behaviour is user-facing. Schema regenerations (make gen-all) are called out if applicable.

Open Graph Description: Summary Allow clients to omit mcpServers in NewSessionRequest and LoadSessionRequest without triggering Pydantic validation errors. This keeps the Python SDK aligned with the protocol expectation f...

X Description: Summary Allow clients to omit mcpServers in NewSessionRequest and LoadSessionRequest without triggering Pydantic validation errors. This keeps the Python SDK aligned with the protocol expectation f...

Opengraph URL: https://github.com/agentclientprotocol/python-sdk/pull/58

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:50a72a27-1003-7599-0e94-8e5c0b95cb4b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC160:21227D:56131BC:70ABEA0:69806B61
html-safe-nonce67fd18ed4c7712e66a4c45780c6361cc9d98e855f595f25ee7ba43b95af825e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTYwOjIxMjI3RDo1NjEzMUJDOjcwQUJFQTA6Njk4MDZCNjEiLCJ2aXNpdG9yX2lkIjoiMTg4NzMzODg2MzYzMDc3MzA4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac425700c011f3e9b065ccf40b48f62102b4fe131db92c574b4e0f377a378fbc17
hovercard-subject-tagpull_request:3163767899
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/agentclientprotocol/python-sdk/pull/58/files
twitter:imagehttps://avatars.githubusercontent.com/u/36896360?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/36896360?s=400&v=4
og:image:altSummary Allow clients to omit mcpServers in NewSessionRequest and LoadSessionRequest without triggering Pydantic validation errors. This keeps the Python SDK aligned with the protocol expectation f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0959b1a93ca48b0c88b3bddbdfd04ca43f388cb1a8293105a28c5ef6e8079db8
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/agentclientprotocol/python-sdk git https://github.com/agentclientprotocol/python-sdk.git
octolytics-dimension-user_id235308037
octolytics-dimension-user_loginagentclientprotocol
octolytics-dimension-repository_id1051445009
octolytics-dimension-repository_nwoagentclientprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1051445009
octolytics-dimension-repository_network_root_nwoagentclientprotocol/python-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
release78307334c66591a8f87f493dd2968126b34961dd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fagentclientprotocol%2Fpython-sdk%2Fpull%2F58%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fagentclientprotocol%2Fpython-sdk%2Fpull%2F58%2Ffiles
Sign up https://patch-diff.githubusercontent.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=agentclientprotocol%2Fpython-sdk
Reloadhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
Reloadhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
Reloadhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
agentclientprotocol https://patch-diff.githubusercontent.com/agentclientprotocol
python-sdkhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fagentclientprotocol%2Fpython-sdk
Fork 13 https://patch-diff.githubusercontent.com/login?return_to=%2Fagentclientprotocol%2Fpython-sdk
Star 143 https://patch-diff.githubusercontent.com/login?return_to=%2Fagentclientprotocol%2Fpython-sdk
Code https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk
Issues 2 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/issues
Pull requests 2 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pulls
Discussions https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/discussions
Actions https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/actions
Projects 0 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/projects
Security 0 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/security
Insights https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pulse
Code https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk
Issues https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/issues
Pull requests https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pulls
Discussions https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/discussions
Actions https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/actions
Projects https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/projects
Security https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/security
Insights https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fagentclientprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fagentclientprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
PsiACEhttps://patch-diff.githubusercontent.com/PsiACE
mainhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/tree/main
fix/issue-55-mcpservers-optionalhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/tree/fix/issue-55-mcpservers-optional
Conversation 0 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58
Commits 2 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/commits
Checks 8 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/checks
Files changed 7 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
fix: allow omitting mcpServers in session requests https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
446e856 fix: allow omitting mcpServers in session requests PsiACE Jan 11, 2026 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/commits/446e856398ab7db1043eb61781535fc36b121f5b
5771358 fix: warn on positional load_session session_id PsiACE Jan 11, 2026 https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/commits/5771358fa57178a2ab25121cd7a94031d75778d7
Clear filters https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
Please reload this pagehttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
Please reload this pagehttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files
gen_schema.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
schema_patches.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-76263c1ae1dd563da8d07b473a8dfae95f027a55fa24f33e2f14aa1fc600793a
connection.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
interfaces.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e5436f2ee4a7d55d36eab6e96ca5ce88e19947ac9f14850c2ac3704a12cae7d7
schema.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
conftest.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test_issue_55_mcp_servers_optional.py https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-5576dc2d365c742dc11f884df06c621cb6d5486d690e90419d79ef5c61f8c154
scripts/gen_schema.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/scripts/gen_schema.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-2a8c4bc2b507719195d92fe730bd2f171ed57425ddc1cc1dd152366238c5dd51
scripts/schema_patches.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-76263c1ae1dd563da8d07b473a8dfae95f027a55fa24f33e2f14aa1fc600793a
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/scripts/schema_patches.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
src/acp/client/connection.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/src/acp/client/connection.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
src/acp/interfaces.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e5436f2ee4a7d55d36eab6e96ca5ce88e19947ac9f14850c2ac3704a12cae7d7
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/src/acp/interfaces.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e5436f2ee4a7d55d36eab6e96ca5ce88e19947ac9f14850c2ac3704a12cae7d7
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e5436f2ee4a7d55d36eab6e96ca5ce88e19947ac9f14850c2ac3704a12cae7d7
src/acp/schema.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/src/acp/schema.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-4019a5753f795f058795e9b4642fa18f1738634a3ee1d79574a787d944c1ca33
tests/conftest.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/tests/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
tests/real_user/test_issue_55_mcp_servers_optional.pyhttps://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/files#diff-5576dc2d365c742dc11f884df06c621cb6d5486d690e90419d79ef5c61f8c154
View file https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/blob/5771358fa57178a2ab25121cd7a94031d75778d7/tests/real_user/test_issue_55_mcp_servers_optional.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/agentclientprotocol/python-sdk/pull/58/{{ revealButtonHref }}
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.