Skip to content

fix: allow omitting mcpServers in session requests#58

Merged
PsiACE merged 5 commits intomainfrom
fix/issue-55-mcpservers-optional
Feb 7, 2026
Merged

fix: allow omitting mcpServers in session requests#58
PsiACE merged 5 commits intomainfrom
fix/issue-55-mcpservers-optional

Conversation

@PsiACE
Copy link
Member

@PsiACE PsiACE commented Jan 11, 2026

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.

@PsiACE PsiACE force-pushed the fix/issue-55-mcpservers-optional branch from 5771358 to 283fdc0 Compare February 7, 2026 16:28
@PsiACE PsiACE merged commit e21d8d0 into main Feb 7, 2026
8 checks passed
@PsiACE PsiACE deleted the fix/issue-55-mcpservers-optional branch February 7, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: mcpServers field incorrectly required

1 participant