systemprompt-mcp 0.5.0

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 crate::services::McpOrchestrator;
use anyhow::Result;

pub async fn start_services(manager: &McpOrchestrator, service_name: Option<String>) -> Result<()> {
    manager
        .start_services(service_name)
        .await
        .map_err(Into::into)
}

pub async fn stop_services(manager: &McpOrchestrator, service_name: Option<String>) -> Result<()> {
    manager
        .stop_services(service_name)
        .await
        .map_err(Into::into)
}

pub async fn show_status(manager: &McpOrchestrator) -> Result<()> {
    manager.show_status().await.map_err(Into::into)
}

pub async fn list_services(manager: &McpOrchestrator) -> Result<()> {
    manager.list_services().await.map_err(Into::into)
}