Skip to content

TUI config cleanup: MCP inventory#24265

Merged
etraut-openai merged 1 commit into
mainfrom
etraut/tui-mcp-inventory-remote-config
May 25, 2026
Merged

TUI config cleanup: MCP inventory#24265
etraut-openai merged 1 commit into
mainfrom
etraut/tui-mcp-inventory-remote-config

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented May 23, 2026

Summary

The TUI /mcp inventory flow should reflect the app server’s MCP status response. It was also joining those results with the TUI process’s local config.mcp_servers, which can diverge once MCP state is owned by a remote app server and cause stale local command, URL, status, or empty-state details to render.

This change removes the local config join from the app-server-backed inventory renderer. The TUI now renders directly from the existing mcpServerStatus/list payload and treats an empty status response as the empty MCP inventory state.

Known limitation

The existing mcpServerStatus/list payload does not include disabled-state or disabled-reason fields. To preserve the current app-server API, this PR does not try to infer that state from client-local config. If remote /mcp needs to show disabled/reason details again, that should come from app-server-owned status data in a follow-up.

Related to #22914, #22915, and #22916.

@etraut-openai etraut-openai changed the title TUI: render MCP inventory from app-server status TUI: stop enriching MCP inventory with local config May 23, 2026
chatgpt-codex-connector[bot]

This comment was marked as resolved.

@etraut-openai etraut-openai changed the title TUI: stop enriching MCP inventory with local config TUI config cleanup: MCP inventory May 24, 2026
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

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

Smoke tested and code looks good 👍

Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

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

Tested and code looks good!

@etraut-openai etraut-openai merged commit 613e514 into main May 25, 2026
31 checks passed
@etraut-openai etraut-openai deleted the etraut/tui-mcp-inventory-remote-config branch May 25, 2026 16:56
@github-actions github-actions Bot locked and limited conversation to collaborators May 25, 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