Skip to content

Cap MCP session diagnostics for roots and capabilities - #3330

Merged
Widthdom merged 4 commits into
mainfrom
fix-issue3225-3076
Jun 6, 2026
Merged

Cap MCP session diagnostics for roots and capabilities#3330
Widthdom merged 4 commits into
mainfrom
fix-issue3225-3076

Conversation

@Widthdom

@Widthdom Widthdom commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bound MCP session root diagnostics while preserving full client roots for authorization checks.
  • Bound retained client capability diagnostics by byte size/depth while preserving roots/sampling capability gating.
  • Documented the new mcp_session truncation metadata and added unreleased changelog fragments.

Validation

  • dotnet build
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~DocumentationStatusContractTests
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~McpServerTests
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Codex adversarial review: No blocking/actionable issues found.

Documentation and changelog

  • Updated README.md, DEVELOPER_GUIDE.md, and AGENT_GUIDE.md.
  • Added changelog.d/unreleased/3076.fixed.md.
  • Added changelog.d/unreleased/3225.fixed.md.

Follow-up candidates

  • None.

Fixes #3225
Fixes #3076

@Widthdom
Widthdom merged commit 87a736b into main Jun 6, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue3225-3076 branch June 6, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant