Skip to content

Update MCP Inspector version and extension method parameters#777

Merged
aaronpowell merged 1 commit intoCommunityToolkit:mainfrom
timheuer:fix776
Aug 1, 2025
Merged

Update MCP Inspector version and extension method parameters#777
aaronpowell merged 1 commit intoCommunityToolkit:mainfrom
timheuer:fix776

Conversation

@timheuer
Copy link
Copy Markdown
Contributor

@timheuer timheuer commented Aug 1, 2025

Closes #776

  • 🔧 Bump InspectorVersion from 0.15.0 to 0.16.2
  • 📦 Add inspectorVersion parameter to AddMcpInspector method allowing for overriding of Inspector version to use, while retaining default for package if not provided

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

- 🔧 Bump InspectorVersion from 0.15.0 to 0.16.2
- 📦 Add inspectorVersion parameter to AddMcpInspector method
Copilot AI review requested due to automatic review settings August 1, 2025 00:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the MCP Inspector integration to use version 0.16.2 and adds flexibility for version override. The changes allow developers to specify a custom inspector version while maintaining backward compatibility through a sensible default.

  • Updated the default MCP Inspector version from 0.15.0 to 0.16.2
  • Added an optional inspectorVersion parameter to the AddMcpInspector extension method
  • Modified the npx command args to use the configurable version parameter

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
McpInspectorResource.cs Updates the default InspectorVersion constant from 0.15.0 to 0.16.2
McpInspectorResourceBuilderExtensions.cs Adds inspectorVersion parameter and updates method to use configurable version

@aaronpowell aaronpowell merged commit 59fda19 into CommunityToolkit:main Aug 1, 2025
99 checks passed
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.

McpInspector: Does not allow override for Inspector version

3 participants