systemprompt-mcp 0.1.19

Core MCP (Model Context Protocol) functionality for systemprompt.io OS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}

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

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

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