pub struct McpServersLoadedServer {
pub display_name: Option<String>,
pub error: Option<String>,
pub name: String,
pub plugin_name: Option<String>,
pub plugin_version: Option<String>,
pub server_metadata: Option<McpServerMetadata>,
pub source: Option<McpServerSource>,
pub status: McpServerStatus,
pub transport: Option<McpServerTransport>,
}Expand description
A single MCP server status summary in session.mcp_servers_loaded, including name, status, source, transport, and plugin metadata.
Fields§
§display_name: Option<String>Human-readable display name supplied by a managed server catalog.
error: Option<String>Error message if the server failed to connect
name: StringServer name (config key)
plugin_name: Option<String>Name of the plugin that supplied the effective MCP server config, only when source is plugin
plugin_version: Option<String>Version of the plugin that supplied the effective MCP server config, only when source is plugin
server_metadata: Option<McpServerMetadata>Server-advertised metadata for a connected server. Omitted when no live connection metadata is available, including while pending or when failed, disabled, stopped, or not configured.
source: Option<McpServerSource>Configuration source: user, workspace, plugin, builtin, or managed
status: McpServerStatusConnection status: connected, failed, needs-auth, pending, disabled, stopped, or not_configured
transport: Option<McpServerTransport>Transport mechanism: stdio, http, sse (deprecated), or memory (in-process MCP server)