devtools_profiler_cli library
CLI and MCP entrypoints for the DevTools profiler backend.
Classes
- ProfilerMcpServer
- An MCP server that exposes the profiler backend as tools.
Functions
-
runCli(
List< String> arguments, {ProfileRunner? runner, IOSink? output, IOSink? errorOutput}) → Future<int> -
Runs the
devtools-profilerCLI. -
serveMcp(
{required ProfileRunner runner, Stream< List< ? input, StreamSink<int> >List< ? output, Sink<int> >String> ? protocolLogSink}) → Future<void> - Serves the profiler backend over the MCP stdio transport.