mcp_suite_core 0.1.0
mcp_suite_core: ^0.1.0 copied to clipboard
Core primitives, RPC models, logging, and shared utilities for the MCP Flutter Suite.
mcp_suite_core #
The lightweight foundation package of the MCP Suite ecosystem for Flutter.
mcp_suite_core provides base RPC message models, logging utilities, protocol definitions, and lightweight shared primitives required by all MCP Suite extensions.
Features #
- ⚡ Lightweight & Zero Bloat: Minimal dependencies for maximum performance.
- 📦 MCP Schemas: Full JSON-RPC 2.0 & Model Context Protocol message models.
- 📜 Structured Logging: AI-ready logger formatted for LLM context streaming.
Getting Started #
Add mcp_suite_core to your pubspec.yaml:
dependencies:
mcp_suite_core: ^0.1.0
Usage #
import 'package:mcp_suite_core/mcp_suite_core.dart';
void main() {
McpLogger.info('MCP Suite Core Initialized');
final request = McpRequest(
id: '1',
method: 'tools/call',
params: {'name': 'inspectWidgetTree'},
);
print('Request JSON: ${request.toJson()}');
}
⭐ Show Your Support #
If you like this package, please give it a Like on pub.dev and a Star on GitHub!