Skip to content

UrlElicitationRequiredError not thrown as an McpError exception #1768

Closed

Description

@gopitk

Initial Checks

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

Activity

  1. added
    bugSomething isn't working
    P2Moderate issues affecting some users, edge cases, potentially valuable feature
    help wantedContributions especially welcome
    ready for workEnough information for someone to start working on
    on Dec 11, 2025
  2. gopitk commented on Dec 11, 2025

    @gopitk
    ContributorAuthor

    Filed a PR that passes the above case with the snippets and a new unit test.

  3. felixweinberger commented on Dec 15, 2025

    @felixweinberger
    Contributor

    Landed #1780 thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Moderate issues affecting some users, edge cases, potentially valuable featurebugSomething isn't workinghelp wantedContributions especially welcomeready for workEnough information for someone to start working on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions