Skip to content

Update MCP Inspector version and extension method parameters #777

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

Merged
merged 1 commit into from
Aug 1, 2025

Conversation

timheuer
Copy link
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 Copilot AI review requested due to automatic review settings August 1, 2025 00:16
Copy link
Contributor

@Copilot 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

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
2 participants