Title: bug: mcpServers field incorrectly required · Issue #55 · agentclientprotocol/python-sdk · GitHub
Open Graph Title: bug: mcpServers field incorrectly required · Issue #55 · agentclientprotocol/python-sdk
X Title: bug: mcpServers field incorrectly required · Issue #55 · agentclientprotocol/python-sdk
Description: Current Behavior # This fails with ValidationError request = NewSessionRequest(cwd="/tmp") # Error: Field required [type=missing] Expected Behavior # Should work per spec request = NewSessionRequest(cwd="/tmp") request = NewSessionReques...
Open Graph Description: Current Behavior # This fails with ValidationError request = NewSessionRequest(cwd="/tmp") # Error: Field required [type=missing] Expected Behavior # Should work per spec request = NewSessionReques...
X Description: Current Behavior # This fails with ValidationError request = NewSessionRequest(cwd="/tmp") # Error: Field required [type=missing] Expected Behavior # Should work per spec request = NewSes...
Opengraph URL: https://github.com/agentclientprotocol/python-sdk/issues/55
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: mcpServers field incorrectly required","articleBody":"## Current Behavior\n\n```python\n# This fails with ValidationError\nrequest = NewSessionRequest(cwd=\"/tmp\")\n# Error: Field required [type=missing]\n```\n\n## Expected Behavior\n\n```python\n# Should work per spec\nrequest = NewSessionRequest(cwd=\"/tmp\")\nrequest = NewSessionRequest(cwd=\"/tmp\", mcp_servers=[])\n```\n\nhttps://github.com/agentclientprotocol/python-sdk/blob/main/src/acp/schema.py#L1339-L1345\nhttps://github.com/agentclientprotocol/python-sdk/blob/main/src/acp/schema.py#L1987-L1993\n\nSet the default for these two to None.\n\n\n### Reproduction steps\n\neasy to Reproduction\n\n### Expected result\n\nkeep the same behavior with spec\n\n### Actual result\n\nmcpServers field incorrectly required\n\n### Versions / environment\n\n0.7\n\n### Logs \u0026 screenshots\n\n```shell\n\n```\n\n### Open to submitting a fix?\n\n- [x] I’m willing to open a PR for this bug.","author":{"url":"https://github.com/Smityz","@type":"Person","name":"Smityz"},"datePublished":"2026-01-07T17:45:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/55/python-sdk/issues/55"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4719159c-8c38-8933-56e1-bdea434ef6bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FDC:BF8B8:1B29527:244228B:6981533A |
| html-safe-nonce | 19c26d3a5f6fd1da43a0a67b7977275a13baf45507c690d1f3f762deb06d4417 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkRDOkJGOEI4OjFCMjk1Mjc6MjQ0MjI4Qjo2OTgxNTMzQSIsInZpc2l0b3JfaWQiOiIyNDI2NjkwOTk1NDE3NjAwODI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 563a202294fb81a36857db257a4dbd410e7227fdd458227d75c40692846027f2 |
| hovercard-subject-tag | issue:3789720346 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/agentclientprotocol/python-sdk/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed879069493cfeec61f84cce2c74999acba6d0c61104ae78e60bb6cced9b518d/agentclientprotocol/python-sdk/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed879069493cfeec61f84cce2c74999acba6d0c61104ae78e60bb6cced9b518d/agentclientprotocol/python-sdk/issues/55 |
| og:image:alt | Current Behavior # This fails with ValidationError request = NewSessionRequest(cwd="/tmp") # Error: Field required [type=missing] Expected Behavior # Should work per spec request = NewSessionReques... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Smityz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4950337b1ba782ed2a56c7fce41be1e928a0fe0880cbdec4c091dcf98c412664 |
| turbo-cache-control | no-preview |
| go-import | github.com/agentclientprotocol/python-sdk git https://github.com/agentclientprotocol/python-sdk.git |
| octolytics-dimension-user_id | 235308037 |
| octolytics-dimension-user_login | agentclientprotocol |
| octolytics-dimension-repository_id | 1051445009 |
| octolytics-dimension-repository_nwo | agentclientprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1051445009 |
| octolytics-dimension-repository_network_root_nwo | agentclientprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a06489e04583bd8257bde76b6e0d20f2d10ca68d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width