UrlElicitationRequiredError not thrown as an McpError exception
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
I was testing the snippets in the repo corresponding to the URL mode elicitation. When I run connect-service tool the server seems to be raising UrlElicitationRequiredError. However on the client I dont see this being translated into the McpError exception and instead just seeing as a result error.
Example Code
Using the standard snippets. cd examples/snippets # Server uv run server elicitation sse # Client uv run elicitation-client
Python & MCP Python SDK
Python: 3.11.13
MCP Python SDK: 1.23.3