This repository was archived by the owner on May 21, 2026. It is now read-only.
fix: inspector connector status and transport improvements - #75
Merged
Conversation
tonxxd
added a commit
that referenced
this pull request
Oct 14, 2025
* fix status dot * fix: 1 transport per request * feat: add @radix-ui/react-switch and implement auto-connect feature - Added @radix-ui/react-switch dependency to manage auto-connect setting. - Updated InspectorDashboard to include a switch for enabling/disabling auto-connect. - Enhanced McpContext to handle auto-connect state and connect/disconnect servers accordingly. - Implemented auto-connection logic in ServerDetail for seamless user experience. * refactor: replace console.log with console.warn for connection status updates - Updated logging in InspectorDashboard and ServerDetail components to use console.warn for better visibility of connection state changes. - Enhanced pending navigation checks to include data presence before navigating or canceling navigation. * fix: inspector connector status and transport improvements (#75) * fix status dot * fix: 1 transport per request * chore: version packages and update changelogs * feat: implement connection tester and auto-switch feature in InspectorDashboard - Added a temporary ConnectionTester component to handle connection attempts with success and failure callbacks. - Introduced an auto-switch feature that allows users to automatically switch between direct and proxy connections if one fails. - Updated the InspectorDashboard to manage pending connection configurations and handle connection success/failure logic. - Enhanced UI to include a switch for enabling/disabling the auto-switch feature, with state persistence in localStorage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR includes several fixes and improvements:
Fixes connector status display issues in the inspector
Type of change
📦 Changeset Required?
Does this PR need a changeset?
pnpm changeset)Quick reminder:
pnpm changeset # Creates a changeset interactively📚 Full guide: Changeset Workflow Guide
Need help? See when to create changesets and examples
🚀 Release Target
mainbranch → Stable release (default)betabranch → Beta/prerelease versionReleasing a beta? See the Beta Release Workflow Guide for instructions.
Checklist
Code Quality
pnpm test)pnpm lint)pnpm build)Documentation
Release Preparation
pnpm changeset) - if this affects published packagesAdditional Notes
This PR focuses on fixing connector status display issues in the inspector and improving transport handling. The changes are primarily bug fixes that improve the user experience without breaking existing functionality.