codex/codex-rs/app-server-protocol
victor-openai 0e67502123 Preserve MCP tool-list metadata in server status (#54686)
## Why

MCP tool discovery discarded response-level `_meta`, leaving server-status clients unable to inspect metadata associated with the tool catalog.

## What changed

- Preserve opaque `_meta` from the first `tools/list` page through catalog refreshes and caches.
- Expose it as `toolListMeta` in `McpServerStatus`, with `null` when unavailable, and update generated schemas and bindings.
- Scope cached Apps catalog metadata to discovery settings, including client capabilities and extensions, while retaining tools from older caches without metadata.
- Restrict server capabilities in status snapshots to the selected servers.

## Testing

Add regression coverage for listing legacy cached Apps tools during failed startup, and update protocol serialization expectations for nullable `toolListMeta`.

GitOrigin-RevId: 62335e2fd8c482067a7a78a7612b58c3eaa9fb55
History 2026-10-16 19:26:46 +00:00
..
schema Preserve MCP tool-list metadata in server status (#54686) 2026-10-16 19:26:46 +00:00
scripts Generate Python SDK types from repository app-server schemas (#44032) 2026-09-09 03:27:31 +00:00
src Preserve MCP tool-list metadata in server status (#54686) 2026-10-16 19:26:46 +00:00
BUILD.bazel Embed generated app-server schema bundles in Bazel builds (#54113) 2026-10-14 22:57:03 +00:00
Cargo.toml Keep credentials out of app-server logs (#39993) 2026-08-21 19:04:32 +00:00