Struct McpServer Plan

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct McpServerPlan {
    pub transport: McpTransport,
    pub url: String,
    pub args: Vec<String>,
    pub env: BTreeMap<String, String>,
    pub authentication: Option<McpAuthenticationConfig>,
    pub custom_headers: BTreeMap<String, String>,
    pub exposure: McpExposure,
    pub extensions: BTreeMap<String, Value>,
    pub allowed_tools: Option<Vec<String>>,
    pub blocked_tools: Vec<String>,
}

Resolved MCP server exposure.

Fields

transport: McpTransport

MCP transport.

url: String

MCP server URL for network transports or executable for stdio.

args: Vec<String>

Command-line arguments passed to an MCP stdio server process.

env: BTreeMap<String, String>

Environment variables passed to an MCP stdio server process.

authentication: Option<McpAuthenticationConfig>

Authentication used by an HTTP MCP server.

custom_headers: BTreeMap<String, String>

HTTP headers passed to an MCP server.

exposure: McpExposure

Exposure strategy.

extensions: BTreeMap<String, Value>

Additive MCP server fields from author config.

allowed_tools: Option<Vec<String>>

MCP tool names to expose. None exposes every discovered tool.

blocked_tools: Vec<String>

MCP tool names to block after applying the optional allowlist.

Trait Implementations

impl Clone for McpServerPlan

impl Clone for McpServerPlan

clone

fn clone(&self) -> McpServerPlan

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for McpServerPlan

impl Debug for McpServerPlan

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for McpServerPlan

impl<'de> Deserialize<'de> for McpServerPlan

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for McpServerPlan

impl JsonSchema for McpServerPlan

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 McpServerPlan

impl PartialEq for McpServerPlan

eq

fn eq(&self, other: &McpServerPlan) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for McpServerPlan

impl Serialize for McpServerPlan

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for McpServerPlan

impl StructuralPartialEq for McpServerPlan