mcp_schema_annotations 1.0.0-beta.3 copy "mcp_schema_annotations: ^1.0.0-beta.3" to clipboard
mcp_schema_annotations: ^1.0.0-beta.3 copied to clipboard

Annotations for declaring Model Context Protocol (MCP) servers, tools, and resources in Dart and Flutter.

mcp_schema_annotations #

Pub Version Pub Likes GitHub Issues

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';
  }
}
0
likes
150
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations for declaring Model Context Protocol (MCP) servers, tools, and resources in Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#mcp #annotations #ai

License

MIT (license)

Dependencies

meta

More

Packages that depend on mcp_schema_annotations