Skip to content

Conversation

@tonxxd
Copy link
Contributor

@tonxxd tonxxd commented Oct 15, 2025

Description

This PR includes several improvements and bug fixes across create-mcp-use-app, CLI, and inspector components:

Key Changes:

  • Enhanced create-mcp-use-app with interactive template selection and ora integration
  • Added connection tester and auto-connect feature in InspectorDashboard
  • Improved ChatTab and ResourcesTab components with new features and UI enhancements
  • Enhanced dev-server for widget handling
  • Added terminal-link dependency for better CLI output
  • Fixed transport per request issue
  • Fixed status dot display
  • Improved error logging and removed debug logging

Type of change

  • 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 not work as expected)
  • Documentation update
  • Internal change (refactoring, tests, tooling)

📦 Changeset Required?

Does this PR need a changeset?

  • ✅ Yes - I have created a changeset (pnpm changeset)
  • ❌ No - This is an internal-only change (docs, tests, tooling)

Quick reminder:

pnpm changeset  # Creates a changeset interactively

📚 Full guide: Changeset Workflow Guide
Need help? See when to create changesets and examples

🚀 Release Target

  • main branch → Stable release (default)
  • beta branch → Beta/prerelease version
  • Other feature branch → No release

Releasing a beta? See the Beta Release Workflow Guide for instructions.

Checklist

Code Quality

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • Existing tests pass locally (pnpm test)
  • Linting passes (pnpm lint)
  • Build succeeds (pnpm build)

Documentation

  • The title of my pull request follows the conventional commits standard
  • Changes have been documented in the README/documentation (if applicable)
  • Breaking changes are clearly documented with migration steps

Release Preparation

  • I have created a changeset (pnpm changeset) - if this affects published packages
  • The changeset has a clear, user-focused description
  • Version bump type is appropriate (patch/minor/major)
  • All affected packages are included in the changeset

Additional 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-link

Commits included:

  • feat: enhance ChatTab and ResourcesTab components with new features and UI improvements
  • refactor: remove debug logging from dev-server for cleaner request handling
  • feat: update pnpm-lock.yaml and enhance dev-server for widget handling
  • feat: refactor ChatTab and Layout components for improved message handling and connection settings
  • feat: add terminal-link dependency and enhance CLI output
  • feat: update dependencies and enhance CLI functionality
  • feat: add test_app configuration and enhance CLI error handling
  • feat: enhance create-mcp-use-app with template selection and ora integration
  • fix: improve error logging for package version retrieval and update dependencies
  • fix: update favicon links and improve document title in inspector index.html
  • feat: implement connection tester and auto-switch feature in InspectorDashboard
  • refactor: replace console.log with console.warn for connection status updates
  • feat: add @radix-ui/react-switch and implement auto-connect feature
  • fix: 1 transport per request
  • fix status dot

tonxxd added 17 commits October 14, 2025 16:12
- 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.
- 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants