#mcp #bevy-macro #bevy #brp

macro bevy_brp_mcp_macros

Procedural macros for bevy_brp_mcp

13 releases

Uses new Rust 2024

new 0.18.7 Mar 3, 2026
0.18.6 Feb 25, 2026
0.18.0 Jan 15, 2026
0.18.0-rc.1 Dec 21, 2025
0.17.0 Oct 31, 2025

#30 in #bevy-macro


Used in bevy_brp_mcp

MIT/Apache

64KB
1K SLoC

bevy_brp_mcp_macros

Procedural macros for bevy_brp_mcp.

Version Alignment

This crate is always versioned identically to bevy_brp_mcp to ensure compatibility.

Macros

  • #[derive(BrpTools)] - Generates BRP tool implementations from enum variants
  • #[derive(ToolDescription)] - Generates tool description methods
  • #[derive(ParamStruct)] - Derives field placement for parameter structs
  • #[derive(ResultStruct)] - Derives field placement for result structs
  • #[derive(ToolFn)] - Generates ToolFn trait implementations

License

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

Dependencies

~140–520KB
~12K SLoC