Crate mocopr_macros

Crate mocopr_macros 

Source
Expand description

Procedural macros for MoCoPr

This crate provides convenient macros for defining MCP tools, resources, and other components with minimal boilerplate.

Attribute Macros§

mcp_prompt
Attribute macro for defining MCP prompt functions
mcp_resource
Attribute macro for defining MCP resource structs
mcp_tool
Attribute macro for defining MCP tool functions

Derive Macros§

Prompt
Derive macro for automatically implementing PromptHandler
Resource
Derive macro for automatically implementing ResourceHandler
Tool
Derive macro for automatically implementing ToolHandler