shuttle_mcp/
lib.rs

1use rmcp::{transport::stdio, ServiceExt};
2
3use crate::mcp::ShuttleMcpServer;
4
5mod constants;
6mod mcp;
7mod tools;
8mod utils;
9
10pub async fn run_mcp_server() -> Result<(), anyhow::Error> {
11    tracing::info!("Starting Shuttle MCP server...");
12    let service = ShuttleMcpServer::new().serve(stdio()).await?;
13    tracing::info!("Started Shuttle MCP server!");
14    service.waiting().await?;
15    Ok(())
16}