rust-mcp-actix 0.1.4

Actix-web HTTP server integration for rust-mcp-sdk
Documentation
1
2
3
4
5
6
7
8
use actix_web::{HttpRequest, HttpResponse};

pub async fn not_found(req: HttpRequest) -> HttpResponse {
    HttpResponse::NotFound().body(format!(
        "The requested uri does not exist:\r\nuri: {}",
        req.uri()
    ))
}