rs-fast-mcp 0.2.0

High-performance, async-first Rust implementation of the Model Context Protocol (MCP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use tracing::{error, info};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Initialize logging
    // Initialize logging
    rs_fast_mcp::server::logging::init_logging("info").expect("setting default subscriber failed");

    info!("Starting RsFastMCP server...");

    if let Err(e) = rs_fast_mcp::cli::run().await {
        error!("Server error: {}", e);
        std::process::exit(1);
    }

    Ok(())
}