Skip to content

Fix MCP tool listing for hyphenated server names - #16674

Merged
etraut-openai merged 1 commit into
mainfrom
etraut/no-mcp-tools-available
Apr 3, 2026
Merged

etraut-openai merged 1 commit into
mainfrom
etraut/no-mcp-tools-available

Conversation

@etraut-openai

@etraut-openai etraut-openai commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor

Addresses #16671 and #14927

Problem: mcpServerStatus/list rebuilt MCP tool groups from sanitized tool prefixes but looked them up by unsanitized server names, so hyphenated servers rendered as having no tools in /mcp. This was reported as a regression when the TUI switched to use the app server.

Solution: Build each server's tool map using the original server name's sanitized prefix, include effective runtime MCP servers in the status response, and add a regression test for hyphenated server names.

@etraut-openai
etraut-openai force-pushed the etraut/no-mcp-tools-available branch from 4cb170d to 4513c73 Compare April 3, 2026 08:11

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4cb170d8cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai
etraut-openai force-pushed the etraut/no-mcp-tools-available branch from 4513c73 to adeef74 Compare April 3, 2026 08:17
@etraut-openai
etraut-openai merged commit a3b3e7a into main Apr 3, 2026
35 of 38 checks passed
@etraut-openai
etraut-openai deleted the etraut/no-mcp-tools-available branch April 3, 2026 16:05
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants