-
Notifications
You must be signed in to change notification settings - Fork 28
fix: improve create-mcp-use-app and inspector enhancements #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tonxxd
wants to merge
17
commits into
main
Choose a base branch
from
fix/-create-mcp-use-app
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
- 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.
… 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.
…rDashboard - 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.
…ependencies - Log warnings for missing workspace package versions only in development mode. - Update React and ReactDOM versions to 18.3.1. - Change build command for CLI to output ESM format.
…gration - Added ora for better package installation feedback. - Implemented interactive template selection for project creation. - Updated README links to point to the new documentation site. - Improved console output with colored messages for better user experience.
- Introduced a new test_app with specified dependencies and devDependencies in pnpm-lock.yaml. - Enhanced CLI error handling for uncaught exceptions, specifically for ExitPromptError. - Implemented network IP retrieval for improved server output. - Improved process cleanup during shutdown to ensure graceful termination of child processes.
- Added '@vitejs/plugin-react' and 'vite' dependencies to the CLI package for improved development support. - Updated 'ws' dependency version to 8.18.3 for better performance. - Changed module resolution in TypeScript configuration to 'node16' for compatibility. - Refactored build process in CLI to streamline widget building and removed unnecessary watch mode. - Introduced new UI resource creation method in MCP server for better widget integration. - Enhanced inspector's ChatTab component with improved UI and configuration options for LLM providers.
- Introduced 'terminal-link' dependency to create clickable links in CLI output. - Enhanced CLI output with a rendered logo and improved network endpoint display. - Updated process cleanup logic for better termination of child processes during shutdown.
…dling and connection settings - Refactored ChatTab component to utilize UserMessage, AssistantMessage, and ToolCallDisplay for better message rendering. - Enhanced message display with extracted MCP-UI resources. - Simplified Layout component by integrating ConnectionSettingsForm for managing connection options. - Removed unused imports and cleaned up code for better readability.
…fix/-create-mcp-use-app
- Updated zod dependency version to 4.1.12 across multiple packages in pnpm-lock.yaml. - Added early URL check and improved widget matching logic in the dev-server to strip query strings for accurate route matching. - Included debug logging for better visibility into request handling and widget resolution.
…ndling - Removed debug logging statements from the dev-server to streamline request processing and improve code readability. - Maintained functionality for accurate widget matching by stripping query strings from URLs.
…nd UI improvements - Integrated flowtoken for animated markdown rendering in AssistantMessage component. - Added fullscreen functionality for tool and resource results in ToolsTab and ResourcesTab components. - Improved message handling in ChatTab with better loading indicators and message streaming support. - Updated UI elements for resource display, including enhanced error handling and resource type badges. - Refactored code for better readability and maintainability across components.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 improvements and bug fixes across create-mcp-use-app, CLI, and inspector components:
Key Changes:
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
Packages affected:
create-mcp-use-app: Template selection, ora integration@mcp-use/inspector: Connection tester, auto-connect, UI improvements@mcp-use/cli: Enhanced output with terminal-linkCommits included: