Skip to content

Fix MCP issue handling and search tool metadata - #2787

Merged
Widthdom merged 6 commits into
mainfrom
codex/fix-issue1460-1640-2752
May 31, 2026
Merged

Fix MCP issue handling and search tool metadata#2787
Widthdom merged 6 commits into
mainfrom
codex/fix-issue1460-1640-2752

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Accept the advertised MCP index.maxFileBytes argument.
  • Add github_submission_reason and optional github_submission_error to MCP suggest_improvement responses.
  • Shorten the MCP search tool description and keep detailed guidance in USER_GUIDE.md.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~McpServerTests.ToolsCall_IndexAllowsAdvertisedMaxFileBytesArgument -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~McpServerTests.SuggestImprovement_ValidInput_ReturnsSuccess -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~McpServerTests.ToolsList_SearchDescriptionStaysCompact -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

After merging current origin/main, dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~McpServerTests -p:UseSharedCompilation=false is blocked during build by existing Native AOT IL3050 analyzer errors. Tracked separately in #2786.

Docs And Changelog

  • Updated USER_GUIDE.md for suggest_improvement GitHub submission reasons.
  • Added changelog fragments:
    • changelog.d/unreleased/1460.fixed.md
    • changelog.d/unreleased/1640.changed.md
    • changelog.d/unreleased/2752.fixed.md

Follow-up

Fixes #1460
Fixes #1640
Fixes #2752

@Widthdom
Widthdom merged commit 82a07d6 into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1460-1640-2752 branch May 31, 2026 16:52
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