Skip to content

Expose MCP server info as part of server status#24698

Merged
gpeal merged 11 commits into
mainfrom
gpeal/mcp-server-info-status
May 28, 2026
Merged

Expose MCP server info as part of server status#24698
gpeal merged 11 commits into
mainfrom
gpeal/mcp-server-info-status

Conversation

@gpeal
Copy link
Copy Markdown
Collaborator

@gpeal gpeal commented May 27, 2026

Summary

Expose MCP server info via App Server (when available) so apps can render a richer MCP experience

Copy link
Copy Markdown
Contributor

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

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: c5f9ac0200

ℹ️ 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".

Comment thread codex-rs/app-server-protocol/src/protocol/v2/mcp.rs
Comment on lines +57 to +59
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional)]
pub server_info: Option<McpServerInfo>,
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.

P2 Badge Return null for absent v2 serverInfo

For v2 response payloads this attribute makes serverInfo disappear entirely whenever startup has not produced metadata, but the app-server v2 contract in AGENTS.md says not to use skip_serializing_if for v2 API fields so clients see a stable field with null instead of having to handle both missing and null. This matters for exactly the unavailable/failed-startup cases this Option is modeling.

Useful? React with 👍 / 👎.

Comment thread codex-rs/codex-mcp/src/mcp/mod.rs Outdated
@gpeal
Copy link
Copy Markdown
Collaborator Author

gpeal commented May 27, 2026

@codex review this

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ 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".

Comment thread codex-rs/codex-mcp/src/codex_apps.rs Outdated
Comment thread codex-rs/codex-mcp/src/codex_apps.rs Outdated
@gpeal gpeal merged commit 8a827d6 into main May 28, 2026
31 checks passed
@gpeal gpeal deleted the gpeal/mcp-server-info-status branch May 28, 2026 16:38
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 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.

3 participants