mcpkit-warp

Crates.iomcpkit-warp
lib.rsmcpkit-warp
version0.5.0
created_at2025-12-26 00:59:13.79277+00
updated_at2025-12-26 00:59:13.79277+00
descriptionWarp integration for mcpkit
homepage
repositoryhttps://github.com/praxiomlabs/mcpkit
max_upload_size
id2005106
size120,117
Justin (jkindrix)

documentation

README

mcpkit-warp

Warp framework integration for mcpkit MCP servers.

Features

  • Full MCP protocol support over HTTP
  • Filter-based architecture
  • CORS support with configurable origins
  • Session management with SSE streaming

Usage

use mcpkit_warp::McpRouter;

#[tokio::main]
async fn main() {
    let handler = MyHandler::new();
    let router = McpRouter::new(handler).with_cors();

    // Serve with CORS
    warp::serve(router.into_filter())
        .run(([0, 0, 0, 0], 3000))
        .await;
}

Requirements

  • Rust 1.85+
  • Warp 0.3+

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt