Skip to main content

McpServerConfig

Type Alias McpServerConfig 

Source
pub type McpServerConfig = McpServer;
Expand description

Type alias for backwards compatibility — use McpServer directly.

Aliased Type§

pub struct McpServerConfig {
    pub name: String,
    pub command: String,
    pub args: Vec<String>,
    pub env: HashMap<String, String>,
    pub enabled: bool,
}

Fields§

§name: String

Server name (unique identifier)

§command: String

Command to execute (e.g., “npx”, “python”)

§args: Vec<String>

Command arguments

§env: HashMap<String, String>

Environment variables

§enabled: bool

Whether this server is enabled