pub struct PluginMcpServer {
pub label: String,
pub command: Option<Vec<String>>,
pub env: BTreeMap<String, String>,
pub url: Option<String>,
pub headers: BTreeMap<String, String>,
}Expand description
Pin for a plugin-owned MCP server (nothing written to connections.json — it belongs to the plugin).
env / headers only contain ${ENV:VAR} references (the registry’s law; the product
layer resolves and injects them).
Fields§
§label: Stringthe server label from the manifest (not part of the identity key).
command: Option<Vec<String>>stdio form argv (in-package paths already absolutized).
env: BTreeMap<String, String>environment variable overrides (only ${ENV:VAR} references are stored).
url: Option<String>remote URL form.
headers: BTreeMap<String, String>remote request headers (only ${ENV:VAR} references are stored).
Trait Implementations§
Source§impl Clone for PluginMcpServer
impl Clone for PluginMcpServer
Source§impl Debug for PluginMcpServer
impl Debug for PluginMcpServer
impl Eq for PluginMcpServer
Source§impl PartialEq for PluginMcpServer
impl PartialEq for PluginMcpServer
impl StructuralPartialEq for PluginMcpServer
Auto Trait Implementations§
impl Freeze for PluginMcpServer
impl RefUnwindSafe for PluginMcpServer
impl Send for PluginMcpServer
impl Sync for PluginMcpServer
impl Unpin for PluginMcpServer
impl UnsafeUnpin for PluginMcpServer
impl UnwindSafe for PluginMcpServer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.