systemprompt-mcp 0.11.2

Native Model Context Protocol (MCP) implementation for systemprompt.io. Orchestration, per-server OAuth2, RBAC middleware, and tool-call governance — the core of the AI governance pipeline.
Documentation
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone)]
pub struct McpServerConnectionInfo {
    pub name: String,
    pub display_name: Option<String>,
    pub description: Option<String>,
    pub host: String,
    pub port: u16,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ServerStatus {
    pub name: String,
    pub running: bool,
    pub healthy: bool,
    pub tool_count: usize,
    pub last_check: Option<chrono::DateTime<chrono::Utc>>,
}

#[derive(Debug, Clone)]
pub struct SkillLoadingResult {
    pub server_name: String,
    pub success: bool,
    pub skill_count: usize,
    pub error_message: Option<String>,
    pub load_time_ms: u64,
}

#[derive(Debug, Clone)]
pub struct McpServiceState {
    pub name: String,
    pub host: String,
    pub port: u16,
    pub status: String,
}