Skip to content

Conversation

howardjohn
Copy link

Motivation and Context

When failing to connect to an MCP server, its very hard to understand why. There is only an opaque "Connection Error" message with no additional info. This also doesn't change at all on repeated attempts, so there is no indication we attempted again and failed.

This change introduces a toast to visualize the error, and adds the cause into the error message for further debugging

How Has This Been Tested?

Manually tested
2025-08-28_15-03-26

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Copy link
Member

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @howardjohn,

Thanks for this, just want to request a small fix for toast behavior.

@cliffhall cliffhall added the waiting on submitter Waiting for the submitter to provide more info label Oct 10, 2025
When failing to connect to an MCP server, its very hard to understand
why. There is only an opaque "Connection Error" message with no
additional info. This also doesn't change at all on repeated attempts,
so there is no indication we attempted again and failed.

This change introduces a `toast` to visualize the error, and adds the
`cause` into the error message for further debugging
@howardjohn howardjohn force-pushed the inspector/error-popup branch from 7f4b3c5 to 0b569f2 Compare October 13, 2025 15:22
@howardjohn howardjohn requested a review from cliffhall October 13, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting on submitter Waiting for the submitter to provide more info

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants