mcp_schema_annotations
Annotation package for MCP Schema Generator.
Installation
dependencies:
mcp_schema_annotations: ^1.0.0-beta.3
Available Annotations
@McpServer@McpTool@McpResource@McpPrompt@McpParam
Example
@McpServer(name: 'analytics')
class AnalyticsServer {
@McpTool()
Future<String> hello(String name) async {
return 'Hello $name';
}
}
Libraries
- mcp_schema_annotations
- Support for doing something awesome.