-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Is your feature request related to a problem? Please describe.
MCP Servers may want to check the capabilities of the client and decide actions based on it. For instance, MCP Server checks whether client supports elicitation or not. If client supports this, MCP Server initiates an elicitation request.
Describe the solution you'd like
Client capabilities are already embedded and stored in
Line 523 in 78a66a4
initializeParams *InitializeParams |
GetInitializeParams
, or whatever that is used in tool calls to check the client capabilities.
Describe alternatives you've considered
Nothing comes to my mind as an alternative. But I appreciate if there is already a way and we can close this issue.
Additional context
I've opened this mark3labs/mcp-go#491 to embed capabilities in session. However, those fields are already stored in here. We just need a way to expose it.