Skip to content

#15565 Fix MCP tool display for hyphenated server names - #15797

Closed
mle-foo wants to merge 1 commit into
mainfrom
codex/issue-15565-mcp-hyphen-status-20260325-104315
Closed

mle-foo wants to merge 1 commit into
mainfrom
codex/issue-15565-mcp-hyphen-status-20260325-104315

Conversation

@mle-foo

@mle-foo mle-foo commented Mar 25, 2026

Copy link
Copy Markdown

Summary

  • fix MCP status/render grouping for configured server names that sanitize differently from their exposed tool IDs
  • share raw-to-exposed MCP qualification logic in core and reuse it in app-server and TUI grouping
  • add focused core, app-server, and TUI regressions for the hyphenated-server path and helper edge cases

Verification

  • cargo test -p codex-core group_tools_by_known_server_names
  • cargo test -p codex-tui mcp_tools_output_matches_hyphenated_server_names
  • cargo test -p codex-app-server list_mcp_server_status_response_matches_hyphenated_server_names
  • cargo check -p codex-app-server

Residual Risks / Follow-ups

  • alias-colliding raw server names such as server-one and server_one still need a broader provenance or config-validation decision
  • very long server names on the Responses tool-name truncation/hash path remain a separate follow-up outside this focused fix

Closes #15565

@github-actions

github-actions Bot commented Mar 25, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@mle-foo

mle-foo commented Mar 25, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Mar 25, 2026
@mle-foo
mle-foo marked this pull request as ready for review March 25, 2026 23:26
@mle-foo
mle-foo requested a review from pakrym-oai March 25, 2026 23:27
@etraut-openai etraut-openai added the oai PRs contributed by OpenAI employees label Mar 26, 2026
@mle-foo
mle-foo marked this pull request as draft March 27, 2026 20:29
@mle-foo

mle-foo commented Apr 2, 2026

Copy link
Copy Markdown
Author

Resolved in #15946

@mle-foo mle-foo closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hyphenated MCP server names cause working servers to render as 'Tools: (none)'

2 participants