pub struct McpServerInfo {
pub name: String,
pub version: String,
pub description: String,
pub supported_resource_types: Vec<String>,
}
Expand description
Information about the MCP server for AI agent discovery
This structure provides metadata that AI agents use to understand the capabilities and context of the SCIM server.
§Examples
use scim_server::mcp_integration::McpServerInfo;
let server_info = McpServerInfo {
name: "Enterprise SCIM Server".to_string(),
version: "2.0.0".to_string(),
description: "Production SCIM server for HR systems".to_string(),
supported_resource_types: vec!["User".to_string(), "Group".to_string()],
};
Fields§
§name: String
Human-readable name of the SCIM server
version: String
Version string for the server implementation
description: String
Description of the server’s purpose and capabilities
supported_resource_types: Vec<String>
List of SCIM resource types supported (e.g., “User”, “Group”)
Trait Implementations§
Source§impl Clone for McpServerInfo
impl Clone for McpServerInfo
Source§fn clone(&self) -> McpServerInfo
fn clone(&self) -> McpServerInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for McpServerInfo
impl Debug for McpServerInfo
Auto Trait Implementations§
impl Freeze for McpServerInfo
impl RefUnwindSafe for McpServerInfo
impl Send for McpServerInfo
impl Sync for McpServerInfo
impl Unpin for McpServerInfo
impl UnwindSafe for McpServerInfo
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<T> TenantValidator for T
impl<T> TenantValidator for T
Source§fn validate_tenant_context(
&self,
expected_tenant_id: &str,
context: &RequestContext,
) -> Result<(), String>
fn validate_tenant_context( &self, expected_tenant_id: &str, context: &RequestContext, ) -> Result<(), String>
Validate that the context has the expected tenant.
Source§fn validate_single_tenant_context(
&self,
context: &RequestContext,
) -> Result<(), String>
fn validate_single_tenant_context( &self, context: &RequestContext, ) -> Result<(), String>
Validate that the context is for single-tenant operation.
Source§fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
Extract tenant context or return error for multi-tenant operations.