fastmcp 0.0.0

A Rust framework for building Model Context Protocol (MCP) services
Documentation
//! FastMCP - A Rust framework for building Model Context Protocol (MCP)
//! services
//!
//! FastMCP provides a simple and efficient way to create MCP-compatible
//! services in Rust. It supports tool registration, execution, and
//! various transport mechanisms.

pub mod error;
pub mod protocol;
pub mod server;
pub mod tool;
pub mod transport;

// Re-export commonly used types
pub use error::{Error, Result};
pub use protocol::ToolMetadata;
pub use server::{McpServer, McpServerBuilder};
pub use tool::{Tool, ToolContext};
pub use transport::{Transport, TransportConfig};

/// FastMCP version
pub const VERSION: &str = env!("CARGO_PKG_VERSION");