pub struct McpServerConfigHttp {Show 13 fields
pub auth: Option<Value>,
pub defer_tools: Option<McpServerConfigDeferTools>,
pub filter_mapping: Option<Value>,
pub headers: Option<HashMap<String, String>>,
pub is_default_server: Option<bool>,
pub oauth_client_id: Option<String>,
pub oauth_grant_type: Option<McpServerConfigHttpOauthGrantType>,
pub oauth_public_client: Option<bool>,
pub oidc: Option<Value>,
pub timeout: Option<i64>,
pub tools: Option<Vec<String>>,
pub type: Option<McpServerConfigHttpType>,
pub url: String,
}Expand description
Remote MCP server configuration accessed over HTTP or SSE.
Fields§
§auth: Option<Value>Set to true to use defaults, or provide an object with additional auth or OIDC settings.
defer_tools: Option<McpServerConfigDeferTools>Controls if tools provided by this server can be loaded on demand via tool search (auto) or always included in the initial tool list (never)
filter_mapping: Option<Value>Content filtering mode to apply to all tools, or a map of tool name to content filtering mode.
headers: Option<HashMap<String, String>>HTTP headers to include in requests to the remote MCP server.
is_default_server: Option<bool>Whether this server is a built-in fallback used when the user has not configured their own server.
oauth_client_id: Option<String>OAuth client ID for a pre-registered remote MCP OAuth client.
oauth_grant_type: Option<McpServerConfigHttpOauthGrantType>OAuth grant type to use when authenticating to the remote MCP server.
oauth_public_client: Option<bool>Whether the configured OAuth client is public and does not require a client secret.
oidc: Option<Value>Set to true to use defaults, or provide an object with additional auth or OIDC settings.
timeout: Option<i64>Timeout in milliseconds for tool calls to this server.
tools: Option<Vec<String>>Tools to include. Defaults to all tools if not specified.
type: Option<McpServerConfigHttpType>Remote transport type. Defaults to “http” when omitted.
url: StringURL of the remote MCP server endpoint.
Trait Implementations§
Source§impl Clone for McpServerConfigHttp
impl Clone for McpServerConfigHttp
Source§fn clone(&self) -> McpServerConfigHttp
fn clone(&self) -> McpServerConfigHttp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more