-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
package:dart_mcp_servertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
The Dart MCP server doesn’t currently expose network logs from the connected app, which makes it hard for agents to debug network traffic. It'd be great to have a network.*
tool family that enables/reads network traffic, similar to the Network View tool.
Use cases
- Agent debugging of network failures: Let AI agents diagnose “why did this request fail?” without switching contexts.
- Reproducible bug reports: Export a sharable HAR.
- Performance analysis: Let AI agents measure latency, payload sizes, and headers over time to spot regressions or bottlenecks.
- etc.
Proposed tools
network.start_capture
: Enable HTTP timeline logging.network.get_logs
: Fetch recent HTTP requests with filters and (optionally) bodies.since
limit
filters
:{ urlContains, method, statusMin, statusMax, failedOnly }
includeBodies
(default:false
)
network.dump_har
: Return a HAR snapshot for easy sharing/analysis.network.clear
: Clear profiler buffers.network.stop_capture
: Disable HTTP timeline logging.
Inspiration
Open questions
- How to make these tools seamlessly work in non-web (Dart VM service) and web (Chrome DevTools) apps?
Metadata
Metadata
Assignees
Labels
package:dart_mcp_servertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug