Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

v0.4.0

Choose a tag to compare

@MegaGrindStone MegaGrindStone released this 10 Jan 03:26
· 59 commits to main since this release

This release changes how clients handle server capabilities during initialization. Instead of requiring users to define server capabilities when creating a client, which proved impractical in real-world usage where MCP hosts often lack compile-time knowledge of server capabilities, the client can now connect to any server and dynamically check for desired capabilities. This is implemented through new methods like PromptServerSupported and ResourceServerSupported, allowing runtime verification of specific server features.

Added

  • Added PromptServerSupported, ResourceServerSupported, ToolServerSupported, and LoggingServerSupported methods to Client struct to check if the server supports specific features.
  • Added more tests for mcp package.

Removed

  • ServerRequirement for creating a new client.