Skip to main content

mcp_server_display

Function mcp_server_display 

Source
pub fn mcp_server_display(config: &Value) -> Value
Expand description

Bounded {name, command} projection of an MCP server’s full config (Phase 3 spec §3.1, round 7) — the full config is never returned in preview/commit responses, only this small, defensively-extracted projection. Falls back to null for either field when absent or not a string, since MCP JSON has no required shape (§3.0).