Struct Agent McpServer Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct AgentMcpServerConfig {
pub transport: String,
pub url: String,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
pub authentication: Option<McpAuthenticationConfig>,
pub custom_headers: BTreeMap<String, String>,
pub allowed_tools: Option<Vec<String>>,
pub blocked_tools: Vec<String>,
pub extensions: BTreeMap<String, Value>,
}
One MCP server routed to an adapter target.
Fields
transport: String
MCP transport identifier.
url: String
MCP server URL for network transports or executable for stdio.
args: Vec<String>
Command-line arguments passed to an MCP stdio process.
env: BTreeMap<String, String>
Environment variables passed to an MCP stdio process.
authentication: Option<McpAuthenticationConfig>
Authentication used by an HTTP MCP server.
custom_headers: BTreeMap<String, String>
HTTP headers passed to an MCP server.
allowed_tools: Option<Vec<String>>
MCP tool names to expose. None exposes every discovered tool.
blocked_tools: Vec<String>
MCP tool names blocked after applying the optional allowlist.
extensions: BTreeMap<String, Value>
Adapter-owned MCP server fields.
Trait Implementations
impl Clone for AgentMcpServerConfig
impl Clone for AgentMcpServerConfig
clone
fn clone(&self) -> AgentMcpServerConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AgentMcpServerConfig
impl Debug for AgentMcpServerConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for AgentMcpServerConfig
impl<'de> Deserialize<'de> for AgentMcpServerConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for AgentMcpServerConfig
impl JsonSchema for AgentMcpServerConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for AgentMcpServerConfig
impl PartialEq for AgentMcpServerConfig
eq
fn eq(&self, other: &AgentMcpServerConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AgentMcpServerConfig
impl Serialize for AgentMcpServerConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for AgentMcpServerConfig
impl StructuralPartialEq for AgentMcpServerConfig