mmcp-macros 0.1.0

Procedural macros for the MMCP framework.
Documentation

MMCP Macros

GitHub MIT/Apache 2.0 Crates.io docs.rs GitHub Repo stars

Procedural macros for the MMCP framework.

This crate provides procedural macros like #[tool] to make using the MMCP framework more ergonomic.

Example

use mmcp::{tool, server::primitives::tool::Text};
use uuid::Uuid;

/// Generate a UUID
#[tool]
fn generate_uuid() -> Text<Uuid> {
    Text(Uuid::new_v4())
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.