Skip to content

Bump ModelContextProtocol and ModelContextProtocol.AspNetCore - #2100

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/Darling/PerformanceMonitor.Darling.Analysis/dev/nuget-fccd249c43
Open

Bump ModelContextProtocol and ModelContextProtocol.AspNetCore#2100
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/Darling/PerformanceMonitor.Darling.Analysis/dev/nuget-fccd249c43

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown

Pinned ModelContextProtocol at 2.1.0.

Release notes

Sourced from ModelContextProtocol's releases.

2.1.0

This release adds an opt-in subscriptions/listen handler for custom server-side notification streams, improves HTTP transport fallback reliability, and expands guidance and samples for telemetry and binary resources.

What's Changed

  • Keep AutoDetect channel open after provisional SSE failure #​1768 by @​PranavSenthilnathan
  • Preserve HTTP status codes across target frameworks #​1767 by @​PranavSenthilnathan
  • Fall back to initialize when server/discover fails at the HTTP layer #​1766 by @​rbstp
  • Add public subscriptions/listen server handler (SEP-2575) #​1775 by @​tarekgh

Documentation Updates

  • Add README for the InMemoryTransport sample #​1769 by @​AkbarDizaji
  • Add Application Insights telemetry example #​1778 by @​lntutor
  • Clarify client handling of embedded binary tool resources #​1762 by @​luisangelrod

Test Improvements

  • Speed up CLI argument escaping tests #​1773 by @​PranavSenthilnathan

Repository Infrastructure Updates

  • Clarify AI disclosure format with a > [!NOTE] alert example #​1771 by @​PranavSenthilnathan (co-authored by @​Copilot)
  • Bump the npm_and_yarn group across 1 directory with 6 updates #​1787
  • Avoid reading Configuration in Directory.Build.props #​1776 by @​lntutor
  • Bump danielpalme/ReportGenerator-GitHub-Action from 5.5.10 to 5.5.11 #​1784

Acknowledgements

  • @​AkbarDizaji made their first contribution in #​1769
  • @​luisangelrod made their first contribution in #​1762
  • @​rbstp submitted issue #​1765 (resolved by #​1766)
  • @​TomasHubelbauer submitted issue #​1026 (resolved by #​1778)
  • @​Youssef1313 submitted issue #​995 (resolved by #​1766)
  • @​eng-marani submitted issue #​1261 (resolved by #​1762)
  • @​jeffhandley @​tarekgh @​halter73 @​PranavSenthilnathan reviewed pull requests

Full Changelog: modelcontextprotocol/csharp-sdk@v2.0.0...v2.1.0

Commits viewable in compare view.

Updated ModelContextProtocol.AspNetCore from 2.0.0 to 2.1.0.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 7, 2026

@erikdarlingdata erikdarlingdata left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Summary

Dependabot grouped bump of ModelContextProtocol + ModelContextProtocol.AspNetCore from 2.0.0 → 2.1.0. Targets dev — good.

What the PR does

  • Bumps ModelContextProtocol / ModelContextProtocol.AspNetCore in Darling/PerformanceMonitor.Darling.Service/PerformanceMonitor.Darling.Service.csproj:30-31 (the only project that legitimately holds these references on dev).
  • Regenerates Lite/packages.lock.json and deprecated/Dashboard/packages.lock.json.
  • Also adds a NEW ModelContextProtocol PackageReference to two projects that did not have it: Darling/PerformanceMonitor.Darling.Analysis/PerformanceMonitor.Darling.Analysis.csproj:20 and PerformanceMonitor.PlanAnalysis/PerformanceMonitor.PlanAnalysis.csproj:25. Confirmed against base 3022f3a.

Needs attention

  • Blocker — dependency scope creep. The two new PackageReference additions are not version bumps; they widen the dependency graph. PlanAnalysis is the shared library that Lite, Dashboard, and Darling all consume, so pulling MCP into it forces MCP into every consumer's closure for no code reason. Darling.Analysis is the pure analysis library; MCP hosting already lives in Darling.Service. Both additions should be reverted before merge. Inline comments on each line.
  • CI is red. build and Darling PostgreSQL tests both failed on this PR (Darling Linux build, review, and check-branches are green). Given the two new PackageReference additions, this is likely related; worth reading the failing job logs before force-rebasing.
  • CRLF↔LF flip on every touched csproj. All four csproj files show every line as changed even where the text is identical — Dependabot's writer flipped line endings. Not a merge blocker, but if .csproj should be CRLF-locked here, tighten .gitattributes so future grouped bumps don't repaint every line.
  • deprecated/ is being tracked by Dependabot. deprecated/Dashboard/packages.lock.json was regenerated. Consider excluding deprecated/** from the nuget group in .github/dependabot.yml — inline comment on the file.

What's fine

  • Base branch is dev, per .github/dependabot.yml.
  • No SQL install/upgrade scripts, no PlanAnalyzer.cs, no build.yml changes — none of the PlanAnalyzer-sync / upgrade-path / SignPath gates apply here.

If Dependabot's grouped update logic is going to keep introducing new PackageReferences on 2.x → 2.y bumps, that is worth flagging upstream / considering a groups.nuget.update-types restriction.


Generated by Claude Code

<!-- The plan fetcher connects to the MONITORED SQL Server (same client the Service uses);
Npgsql and Logging.Abstractions flow transitively from the Storage/Notifications references. -->
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.2" />
<PackageReference Include="ModelContextProtocol" Version="2.1.0" />

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Not a version bump — this is a brand-new PackageReference. ModelContextProtocol was not declared on dev for this project (confirmed against base 3022f3a), so Dependabot's grouped update materialized it here as a side effect of bumping the reference that legitimately lives in PerformanceMonitor.Darling.Service.

Darling.Analysis is the analysis library (DarlingAnalysisService/PgPlanFetcher) — MCP is a hosting concern that already lives in Darling.Service (line 30 of that csproj). Adding it here expands the dependency surface of a plain library for no code reason and is likely contributing to the failing build/Postgres-tests checks on this PR.

This addition should be reverted before merge; only the version numbers on the projects that already declared ModelContextProtocol/ModelContextProtocol.AspNetCore should change.


Generated by Claude Code

XML), so it needs the SqlClient runtime connection surface. Version matches Lite/Dashboard/the Darling
service (7.0.1) so there is no transitive version skew. -->
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.2" />
<PackageReference Include="ModelContextProtocol" Version="2.1.0" />

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Same problem as the Darling.Analysis csproj, and worse here: PerformanceMonitor.PlanAnalysis is the SHARED plan-analysis library referenced by Lite, Dashboard, and the Darling service (via InternalsVisibleTo on PerformanceMonitorLite/PerformanceMonitorDashboard/Lite.Tests/Dashboard.Tests/Darling.Tests, plus the direct ProjectReference from Darling.Service.csproj).

Adding ModelContextProtocol here forces MCP into every consumer's closure — Lite, Dashboard, Darling — for a library whose stated purpose (per the comment two lines above) is running ActualPlanExecutor against SqlClient. There is no MCP surface in this project; the MCP tools that USE the shared parser live in Darling.Service and in Lite/Dashboard.

Confirmed against base 3022f3a: this line did not exist before. Revert this addition; only bump the versions in projects that already declared the reference.


Generated by Claude Code

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Dependabot is regenerating the lockfile for code under deprecated/. The folder name signals this is not shipped, so bumping it produces review noise and, worse, could keep pinning deprecated code to new package graphs indefinitely.

Consider excluding deprecated/** from the nuget update in .github/dependabot.yml (either move to directories: scoping or add an ignore: entry / paths filter), so grouped bumps only touch the active projects.


Generated by Claude Code

<InternalsVisibleTo Include="Darling.Tests" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk.Worker">

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

All four touched csproj files show every line as changed even where the text is identical (-<Project Sdk=...> / +<Project Sdk=...> on line 1, and so on). That is the signature of a CRLF↔LF flip introduced by Dependabot's writer.

If the repo's convention is CRLF for .csproj (typical for .NET/Windows tooling), add or tighten .gitattributes — e.g. *.csproj text eol=crlf — so future bumps don't retouch every line and drown the real diff.


Generated by Claude Code

Bumps ModelContextProtocol from 2.0.0 to 2.1.0
Bumps ModelContextProtocol.AspNetCore from 2.0.0 to 2.1.0

---
updated-dependencies:
- dependency-name: ModelContextProtocol
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: ModelContextProtocol.AspNetCore
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump the nuget group with 2 updates Bump ModelContextProtocol and ModelContextProtocol.AspNetCore Aug 7, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Darling/PerformanceMonitor.Darling.Analysis/dev/nuget-fccd249c43 branch from 2cf0150 to 785e082 Compare August 7, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant