Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

chore: version packages (beta) - #61

Merged
Pederzh merged 1 commit into
betafrom
changeset-release/beta
Oct 9, 2025
Merged

chore: version packages (beta)#61
Pederzh merged 1 commit into
betafrom
changeset-release/beta

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to beta, this PR will be updated.

Releases

mcp-use@0.3.0

Minor Changes

  • db54528: Added useMcpTools React hook for easier tool management

    
    ## Step 5: Commit Everything
    
    ```bash
    git add .
    git commit -m "feat: add useMcpTools React hook"
    git push origin feat/add-use-mcp-tools-hook
    

    Step 6: Create Pull Request

    Create a PR on GitHub with:

    Title: feat: add useMcpTools React hook

    Description:

    ## What
    
    Adds a new `useMcpTools()` React hook for managing MCP tools.
    
    ## Why
    
    Simplifies tool management in React applications.
    
    ## Changes
    
    - Added `useMcpTools` hook in `packages/mcp-use/src/react/hooks/`
    - Exported from `mcp-use/react`
    - Added tests for the new hook
    
    ## Changeset
    
    ✅ Changeset included (minor bump for mcp-use)

    Step 7: Review & Merge

    After review and approval:

    # Merge the PR to main

    Step 8: Release (Maintainer Task)

    On the main branch after merge:

    # Switch to main and pull
    git checkout main
    git pull origin main
    
    # Check what will be versioned
    pnpm version:check

    Output:

    🦋  info Packages to be bumped at minor:
    🦋  - mcp-use (0.2.0 → 0.3.0)
    🦋
    🦋  info Packages to be bumped at patch:
    🦋  - @mcp-use/cli (2.0.1 → 2.0.2) ← depends on mcp-use
    🦋  - @mcp-use/inspector (0.1.0 → 0.1.1) ← depends on mcp-use
    
    # Apply the version changes
    pnpm version

    This will:

    1. Update mcp-use/package.json to 0.3.0
    2. Update dependent packages (@mcp-use/cli, @mcp-use/inspector) with patch bumps
    3. Generate/update CHANGELOG.md in each package:
    # mcp-use
    
    ## 0.3.0
    
    ### Minor Changes
    
    - abc1234: Added useMcpTools React hook for easier tool management
    
    ## 0.2.0
    
    ...
    1. Delete .changeset/random-name-here.md
    2. Update pnpm-lock.yaml
    # Review the changes
    git diff
    
    # Commit the version changes
    git add .
    git commit -m "chore: version packages"
    git push origin main

    Step 9: Publish to npm

    # Build everything
    pnpm build
    
    # Publish to npm
    pnpm release

    This will:

    1. Build all packages with tsup
    2. Run changeset publish
    3. Publish mcp-use@0.3.0 to npm
    4. Publish @mcp-use/cli@2.0.2 to npm
    5. Publish @mcp-use/inspector@0.1.1 to npm
    6. Create git tags for each version

    Output:

    🦋  info npm info mcp-use
    🦋  info npm publish mcp-use@0.3.0
    🦋  success packages published successfully:
    🦋  - mcp-use@0.3.0
    🦋  - @mcp-use/cli@2.0.2
    🦋  - @mcp-use/inspector@0.1.1
    
    # Push tags
    git push --follow-tags

    Step 10: Verify Publication

    # Check on npm
    npm view mcp-use version
    # Output: 0.3.0
    
    npm view @mcp-use/cli version
    # Output: 2.0.2
    
    # Or visit:
    # https://www.npmjs.com/package/mcp-use
    # https://www.npmjs.com/package/@mcp-use/cli
    # https://www.npmjs.com/package/@mcp-use/inspector
    # https://www.npmjs.com/package/create-mcp-use-app

    📊 Timeline Summary

    1. Day 1: Developer creates feature + changeset, pushes PR
    2. Day 2-3: Code review, changes, approval
    3. Day 3: PR merged to main
    4. Day 3: Maintainer runs pnpm version → Version PR created
    5. Day 3: Maintainer reviews and merges Version PR
    6. Day 3: Automated workflow publishes to npm
    7. Done!

    🤖 Automated Workflow (GitHub Actions)

    With the included GitHub Actions workflows:

    1. Developer creates PR with changeset
    2. CI validates build, tests, lint
    3. Merge to main triggers release workflow
    4. Changesets Action creates "Version Packages" PR automatically
    5. Maintainer reviews and merges Version PR
    6. Action automatically publishes to npm
    7. Done! No manual commands needed

    🎓 Learning Resources

    💡 Tips

    • Batch related changes - Create one changeset for related changes across packages
    • Clear summaries - Write what users need to know, not implementation details
    • Link to PRs - Reference PR numbers in changeset summaries
    • Test before release - Always build and test before publishing
    • Coordinate major bumps - Plan breaking changes with the team

    Ready to get started?

    # Make some changes, then:
    pnpm changeset

Patch Changes

  • db54528: Migrated build system from tsc to tsup for faster builds (10-100x improvement) with dual CJS/ESM output support. This is an internal change that improves build performance without affecting the public API.
  • Updated dependencies [db54528]
    • @mcp-use/inspector@0.2.1

@mcp-use/cli@2.0.2

Patch Changes

  • db54528: Migrated build system from tsc to tsup for faster builds (10-100x improvement) with dual CJS/ESM output support. This is an internal change that improves build performance without affecting the public API.
  • Updated dependencies [db54528]
  • Updated dependencies [db54528]
    • mcp-use@0.3.0
    • @mcp-use/inspector@0.2.1

create-mcp-use-app@0.2.1

Patch Changes

  • db54528: Migrated build system from tsc to tsup for faster builds (10-100x improvement) with dual CJS/ESM output support. This is an internal change that improves build performance without affecting the public API.

@mcp-use/inspector@0.2.1

Patch Changes

  • db54528: Migrated build system from tsc to tsup for faster builds (10-100x improvement) with dual CJS/ESM output support. This is an internal change that improves build performance without affecting the public API.
  • Updated dependencies [db54528]
  • Updated dependencies [db54528]
    • mcp-use@0.3.0

@Pederzh
Pederzh merged commit a6d4169 into beta Oct 9, 2025
@Pederzh
Pederzh deleted the changeset-release/beta branch October 9, 2025 14:27
Pederzh added a commit that referenced this pull request Oct 13, 2025
… visual inspector, CLI and scaffolding (#68)

* Fix OAuth flow and session API issues - skip ESLint for now

* feat: implement esbuild-based file routing for UI resources

- Replace Vite with esbuild for faster, more reliable builds
- Add file-based routing system for resources/**/*.tsx files
- Each TSX file becomes a route at /mcp-use/widgets/{filename}
- Self-contained React components with createRoot mounting
- Production-ready asset serving with proper hashing
- Fix ES module compatibility issues (require -> import)
- Add fallback routes for browser-resolved asset paths
- Update CLI templates with new build system

* up

* format

* fix eslint format issues

* BR: folder structure

* BR: folder structure remove node modules

* chore:bump version

* chore: lock for test ui - not important

* fix pre commit using installed lint-staged from mcp-use

* chore: update gitignore

* chore: update gitignore

* fix

* ignore

* rename sdk folder

* fix package json

* chore: no individual lock files

* Global linting

* minor fix

* Global linting setup with Next.js-style configuration

* chore: moved test application in example folder

* feat: cli build command

* fix: rename mcp-use package

* chore: remove legacy .eslintrc.json

* chore: remove legacy .eslintrc.cli.json

* feat: mcp-use cli in example app

* chore: bump cli version

* chore: info about CLI

* chore: bump v

* make mcp server work

* remove legacy eslint files, deprecated in eslint 9

* Add watch option

* remove build script -> now in CLI

* chore: move create mcp-use app to its package

* feat: create mcp app v0

* remove duplication in package

* make template work

* feat: server great design from express extension

* feat: move static file serving to server implementaiton

* refactor(inspector): update package.json and tsconfig, enhance build scripts, and remove unused index.ts

* feat: add React integration and OAuth authentication support

- Add React hooks and components for MCP integration
- Implement OAuth authentication with browser provider
- Add auth callback handling and types
- Update examples to use new React components
- Add utility functions for assertions
- Update package configurations and dependencies

* fix

* cleanup

* chore: remove redundancy

* Moved tempate application for UI

* feat: add mcp-ui to server package

* patch mcp-ui/server (issue: MCP-UI-Org/mcp-ui#110)

* fix tool types

* chore: some type annotation

* chore: test app in home folder for local deps

* revert: type annotations

* eslint as workspace dep

* feat(inspector): enhance MCP Inspector with new features and improvements

- Add support for new dependencies including @hono/node-server and @modelcontextprotocol/sdk
- Implement OAuth authentication flow handling in the main application
- Update README with detailed usage instructions and server configurations
- Refactor components to utilize context for managing MCP connections
- Improve UI with new animations and status indicators for server connections
- Enhance error handling and retry logic for tool execution
- Update package configurations and dependencies for better performance

* feat(inspector): integrate react-resizable-panels and enhance UI components

- Add react-resizable-panels dependency for improved layout management
- Implement Discord button and deploy dialog in the Layout component
- Enhance ToolsTab with search functionality and responsive design
- Refactor badge and tab components for better styling and usability
- Update package.json to include new dependencies and improve overall structure

* chore: update mcp-use dependency to use workspace link in pnpm-lock.yaml and package.json

* add test app

* feat(inspector): integrate MCP Inspector with automatic mounting and enhanced server capabilities

- Add automatic mounting of the MCP Inspector at `/inspector` for all MCP servers created with `createMCPServer`
- Update README with usage instructions for embedded and standalone inspector modes
- Enhance server setup to dynamically import and mount the inspector
- Include new dependencies and update package configurations for improved functionality
- Refactor inspector server code for better structure and maintainability

* chore: update pnpm-lock.yaml and README for CLI enhancements

- Add new dependencies and update versions in pnpm-lock.yaml
- Enhance README with detailed usage instructions for development and production modes
- Introduce new commands for starting development and production servers
- Improve clarity on project structure and command options

* chore: fixed tsconfig removing src dir

* fix: use otuput types from spec

* chore: update return types in test app

* feat: more accurate typing

* chore: docstrings

* chore: logs

* feat: remove lame emojy

* feat: ok logs

* fix: recreate createMCPServer functio

* fix: removed non existing type expors

* chore: remove lameness

* feat: requests logs and timestamps

* feat: port check

* feat(inspector): enhance routing and server connection handling

- Update Router in App component to use basename for inspector path
- Modify InspectorDashboard to simplify server URL input placeholder
- Improve error display for connection issues with clearer formatting
- Ensure server IDs are properly encoded in links across components
- Add URL decoding for server IDs in Layout and ServerDetail components
- Implement favicon proxy endpoint in middleware for improved asset handling
- Clean up invalid connections from localStorage in McpProvider
- Remove outdated React example files and configurations from mcp-use

* feat(inspector): integrate MCP UI client and enhance ToolsTab functionality

- Add @mcp-ui/client dependency to inspector package
- Implement PromptsTab and ResourcesTab components for improved layout
- Enhance ToolsTab to display MCP UI resources and JSON content conditionally
- Update Layout component to support new tab functionality and server connection states
- Refactor code for better readability and maintainability

* added proper pnpm settings for workspace management

* add publishConfig to packages that will be published

* remove @mcp-use/inspector from mcp-use's peer dependencies

* add overrides to ensure ensure that anywhere in the dependency tree, if any package requests these packages, they get the workspace version, not a version from npm

* make it ready for publishing

* feat(inspector): update dependencies and enhance UI components

- Add cmdk, next-themes, and sonner dependencies to improve UI functionality
- Refactor App component to include ThemeProvider and Toaster for better user experience
- Enhance InspectorDashboard with new connection management features and export options
- Update Layout component to support command palette and keyboard shortcuts
- Improve styling and animations in various components for a more polished look
- Add new CSS animations for status indicators in index.css
- Implement version injection from package.json in vite.config.ts

* feat(inspector): implement OAuth callback handling and improve redirect logic

- Add a custom Vite plugin to manage OAuth callback redirects in development mode
- Update InspectorDashboard and McpContext to dynamically set the redirect URL based on the current environment
- Enhance server middleware to redirect OAuth callbacks to the correct inspector path
- Modify the MCP authorization callback to determine the base path for redirection after authentication

* fix: fix dark mode

* refactor: update build scripts and improve inspector middleware

- Modify build script to separate mcp-use and other builds for better clarity
- Adjust inspector middleware to enhance routing and serve the main HTML file for the root path
- Ensure proper handling of trailing slashes in inspector routes

* fix mcp-use package has an outdated bin entry that should be removed since the CLI has been moved to the create-mcp-use-app package

* min fix

* clean lock

* override for @remote-dom/react (a dependency of @mcp-ui/client) only declares support for React 17 or 18

* refactor(inspector): streamline development setup and enhance server functionality

- Simplify development script by removing concurrent execution of client and server
- Update Vite configuration to remove unnecessary proxy settings
- Refactor inspector CLI to use Hono framework, adding automatic port selection and improved health checks
- Enhance resource handling in UI components, including automatic resource reading and improved loading states
- Update ToolsTab to conditionally display MCP UI resources and JSON content based on user selection

* feat(inspector): enhance ToolsTab with MCP UI resource preview functionality

- Add conditional rendering for MCP UI resources in ToolsTab component
- Implement buttons to toggle between preview and JSON modes for better user interaction
- Remove redundant URI display logic to streamline the component

* feat(inspector): implement auto-connect feature for MCP server in Layout component

- Update inspector URL to include autoConnect query parameter for seamless connection
- Add state management for auto-connection and loading spinner in Layout component
- Enhance user experience by navigating to the server page while displaying a loading state

* fix: @mcp-use/inspector back to mcp-use as an optional peer dependency

* add test_app as package

* fix(inspector): update connection type and enhance retry logic in MCP client

- Change default connection type from 'Via Proxy' to 'Direct' in InspectorDashboard
- Modify connection retry logic in useMcp to prevent infinite authentication loops
- Improve logging for connection attempts and authentication success scenarios

* feat(inspector): enhance development and server functionality

- Introduce new development scripts for concurrent client and server execution.
- Update Vite configuration to allow external connections and add proxy settings for API requests.
- Replace standalone server implementation with unified server logic for better maintainability.
- Add new dependencies for improved functionality, including vite-express for serving static assets.
- Remove deprecated standalone server file and streamline server startup process with port availability checks.

* refactor(inspector): adjust layout and panel sizes for improved UI consistency

- Update border color in Layout component for better visual distinction.
- Modify default sizes of ResizablePanels in PromptsTab, ResourcesTab, and ToolsTab for enhanced layout balance.
- Introduce Wrench icon in ToolsTab for improved tool identification and user interaction.
- Replace loading spinner with a new Spinner component for consistent loading indicators.

* fix: paddings

* minor

* use tsup for packages build

* use changeset to manage versioning and changelogs

* remove old lint workflow

* chore: add beta release workflow and documentation

* update packages

* update token sercer

* update

* change it back to mcp-use

* different tokens for mcp-use and other packages

* add release beta

* fix: remove frozen-lockfile flag for release workflows

* fix: explicitly use --no-frozen-lockfile in workflows

* fix: add ts-expect-error for optional inspector import

* fix: exclude test_app from build process

* chore: remove duplicate beta workflow file

* fix: use 'pnpm run version' instead of 'pnpm version' in workflows

* chore: version packages (beta) (#61)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: remove unused @ts-expect-error directive

* fix: use @ts-ignore instead of @ts-expect-error for optional inspector import

* changes

* fix cli

* chore: version packages

- @mcp-use/inspector: 0.2.1 → 0.3.0
- @mcp-use/cli: 2.0.2 → 2.1.0
- create-mcp-use-app: 0.2.1 → 0.3.0
- Update test_app dependencies to latest versions

* feat: add changesets for beta release

- @mcp-use/inspector: patch bump
- @mcp-use/cli: patch bump
- create-mcp-use-app: patch bump

* fix: update beta release workflow to handle patchedDependencies

- Add --no-frozen-lockfile flag to pnpm install in GitHub Actions
- This should resolve the lockfile mismatch error with patchedDependencies
- Fixes the ERR_PNPM_LOCKFILE_CONFIG_MISMATCH error in the workflow

* chore: version packages (beta) (#63)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix: add missing CLI build step and update peer dependencies

- Add build:cli script to inspector package to build mcp-inspect binary
- Update React peer dependency to accept React 19
- This should fix the missing mcp-inspect binary and peer dependency warnings

* feat: add changeset for inspector CLI fix

- Fix missing CLI binary in @mcp-use/inspector package
- This should resolve the ENOENT errors when using create-mcp-use-app

* chore: version packages (beta) (#64)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix hardcoded version

* update mcp-use

* Fix mcp-ui template

* add cursor pointer

* fix: dynamically set CLI version from package.json

- Update CLI to read version from package.json instead of hardcoding it.
- Replace fs.promises.access with fs.access for checking file existence.

* chore: update dependencies and improve CLI functionality

- Update `@mcp-ui/server` patch hash in `pnpm-lock.yaml`.
- Add new dependencies for `@langchain` packages in `pnpm-lock.yaml`.
- Restore `express` version in `pnpm-lock.yaml`.
- Enhance CLI to dynamically read package version from `package.json`.
- Implement workspace dependency handling in `create-mcp-use-app`.
- Add a new standalone example for the MCP server.
- Refactor favicon proxy and middleware for improved functionality.
- Introduce shared utilities for favicon fetching and caching.
- Update inspector package to support new features and improve error handling.

* refactor: rename standalone server example to simple and update dependencies

- Changed the directory name from `standalone` to `simple` in the workspace configuration.
- Updated dependencies in `pnpm-lock.yaml`, including removing `@types/bun` and adjusting TypeScript version.
- Modified CLI to use `stdio: 'inherit'` for better output handling.
- Enhanced resource definition in `mcp-server.ts` to include metadata fields.
- Updated resource definition interface in `types.ts` to improve documentation and structure.

* feat: enhance resource handling and add pagination support

- Updated resource definition in `server.ts` to include a title and improved description.
- Enhanced `listResources` method in `base.ts` to support optional pagination with a cursor.
- Introduced `listAllResources` method for automatic pagination of resource listings.
- Added `subscribeToResource` and `unsubscribeFromResource` methods for managing resource updates.
- Improved documentation for resource templates and annotations in `mcp-server.ts` and `types.ts`.

* feat: enhance create-mcp-use-app with new UI templates and improved server resources

- Added new UI templates for data visualization and Kanban board in `create-mcp-use-app`.
- Updated `pnpm-lock.yaml` to include new dependencies for the UI templates.
- Refactored server resource definitions to improve structure and added annotations for better documentation.
- Modified `copy-templates` script in `package.json` to use a dedicated script for copying templates.
- Enhanced styling and layout for data visualization components to improve user experience.

* feat: enhance InspectorDashboard and ResourcesTab with MCP UI support and improved user interactions

- Added a copy URL button in InspectorDashboard for easy access to connection URLs.
- Introduced preview and JSON toggle functionality in ResourcesTab for better resource visualization.
- Enhanced MCP UI resource handling in ResourcesTab to display content based on user selection.
- Updated McpUIRenderer to support new resource formats and improved UI action handling.
- Refactored input handling in ToolsTab to respect tool input schemas for better data management.

* refactor: remove unused data visualization and todo list components

- Deleted the `data-visualization.tsx` and `todo-list.tsx` files as they are no longer needed in the project.
- Updated the `kanban-board.tsx` to ensure proper type handling for new tasks.
- Adjusted server resource definitions to streamline the UI component integration.

* fix entrypoint

* simplify release workflows with single npm token

* remove ignored pkg in changeset

* remove test_app

* moved versioning changest stuff

* update sdk version

* feat: enhance InspectorDashboard with connection state management and UI improvements

- Added connection state monitoring in InspectorDashboard to handle pending connections and display success/error messages.
- Refactored connection handling logic to improve user experience during connection attempts.
- Replaced the empty state message with a NotFound component for better clarity.
- Updated button behavior to indicate connection status with a loading state.
- Cleaned up imports and adjusted layout styles for consistency.

* Update readme for each package

* add changeset

* add lock

* fix

* no tests for create-mcp-use-app

* changeset check use origin/main

* fix lint

* remove vitest

---------

Co-authored-by: Enrico Toniato <2827496+tonxxd@users.noreply.github.com>
Co-authored-by: pietrozullo <pietro.zullo@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant