mcp_suite_inspector
The live-state debugging and widget inspection extension for the MCP Suite ecosystem.
mcp_suite_inspector enables real-time widget tree inspection, element hierarchy serialization, and live state debugging hooks over Model Context Protocol (MCP).
Features
- 🔍 Live Widget Hierarchy: Export active UI tree representations as JSON for AI agents.
- 🎯 State Inspection: Inspect Provider, Bloc, Riverpod, or StatefulWidget state in real-time.
- 🔌 MCP Tool Integration: Built-in RPC handlers for
inspector/getTreeandinspector/getState.
Usage
import 'package:flutter/material.dart';
import 'package:mcp_suite_inspector/mcp_suite_inspector.dart';
void main() {
runApp(
McpInspectorWrapper(
child: MyApp(),
),
);
}
⭐ Show Your Support
If you like this package, please give it a Like on pub.dev and a Star on GitHub!
Libraries
- mcp_suite_inspector
- Live-state debugging and widget inspection library for MCP Suite.