-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featurebugSomething isn't workingSomething isn't workingready for workEnough information for someone to start working onEnough information for someone to start working on
Description
Initial Checks
- I confirm that I'm using the latest version of MCP Python SDK
- I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before opening this issue
Description
When I use ClientSessionGroup, I expect mcp.ClientSession to support the elicitation_callback parameter. However, I found that there is no way to pass this parameter through the initialization of ClientSessionGroup.
Example Code
async def _establish_session(
self, server_params: ServerParameters
) -> tuple[types.Implementation, mcp.ClientSession]:
"""Establish a client session to an MCP server."""
# This does not allow passing other arguments supported by ClientSession, such as: elicitation_callback
await self._exit_stack.enter_async_context(session_stack)
# ...Python & MCP Python SDK
1.13.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featurebugSomething isn't workingSomething isn't workingready for workEnough information for someone to start working onEnough information for someone to start working on