Skip to content

[codex] Improve MCP self-guiding metadata - #3612

Merged
Widthdom merged 1 commit into
mainfrom
codex/mcp-self-guiding
Jun 13, 2026
Merged

[codex] Improve MCP self-guiding metadata#3612
Widthdom merged 1 commit into
mainfrom
codex/mcp-self-guiding

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Strengthen MCP initialize instructions with CodeIndex-first investigation guidance and focused excerpt flow.
  • Clarify major tools/list descriptions and common schema descriptions so clients know when to use each tool and what to do next.
  • Add self-guiding prompts for investigate-before-edit, existing pattern discovery, safe symbol changes, and failure debugging.
  • Add next-step, recovery, and pagination hints to read-only MCP responses.
  • Add a bilingual unreleased changelog fragment.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~Mcp" -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • git diff --check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json (index_matches_workspace: true)

@Widthdom
Widthdom marked this pull request as ready for review June 13, 2026 14:10
@Widthdom
Widthdom merged commit 55690e2 into main Jun 13, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/mcp-self-guiding branch June 13, 2026 14:11
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.

1 participant