Add Elicitation skeleton

The MCP 2025-06-18 specification includes a feature called Elicitation:
https://modelcontextprotocol.io/specification/2025-06-18/client/elicitation

Like Log Level, an implementation is expected to be provided in the near future.
This PR adds Elicitation as a skeleton implementation for now.
This commit is contained in:
Koichi ITO 2025-11-10 16:24:15 +09:00
commit dd458b1fb7

View file

@ -74,6 +74,8 @@ module MCP
ensure_capability_raises_error_for Methods::SAMPLING_CREATE_MESSAGE, required_capability_name: "sampling"
ensure_capability_raises_error_for Methods::ELICITATION_CREATE, required_capability_name: "elicitation"
# Methods and notifications of both server and client
ensure_capability_does_not_raise_for Methods::PING
ensure_capability_does_not_raise_for Methods::NOTIFICATIONS_PROGRESS