Skip to content

Add configurable strict mode for MCP client initialization #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 3, 2025

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Apr 3, 2025

Resolves #38

In #3, we introduced the concept of a strict configuration for servers. By defaulting to a non-strict configuration, we provide some leniency when dealing with non-conforming implementations of the MCP specification.

This PR introduces an equivalent change to Client to conditionalize existing checks for server capabilities.

@mattt mattt merged commit de829ee into main Apr 3, 2025
1 check passed
@mattt mattt deleted the mattt/strict-client-configuration branch April 3, 2025 11:33
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
…extprotocol#43)

* Add configurable strict mode for MCP client initialization

* Rename checkCapability to validateServerCapability
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.

Remove capability checks from client
1 participant