bakkie
Simple MCP server framework for Rust.
Bakkie is a framework for building Model Context Protocol (MCP) servers in Rust. MCP is a protocol that enables AI assistants to access external resources and tools through standardized server implementations. It is probably not necessary, but it has become pervasive.
Basic Usage
use ;
use HashMap;
/// Tabulates the characters that appear in the input for accurate counting.
async
/// Inform the user of some progress
async
async
Key Features
- Tool Definition: Use
#[bakkie::tool]to define MCP tools with automatic JSON schema generation - State Management: Access shared application state through the
#[app]parameter - Type Safety: Structured types with
#[bakkie::structured]for complex parameters - Async Support: Full async/await support for tool implementations
- Standard I/O: Built-in stdio transport for MCP communication
License: Unlicense/MIT