AI Agent Overview
This section is for Codex, Claude, Cursor, and similar agents configuring or operating this MCP server.
Goal
Get to a reliable end state where:
- MCP server binary is built
- Flutter app is instrumented with
mcp_toolkit - client MCP config is updated safely (without deleting other servers)
- tool calls work against the correct debug target
If you need deterministic terminal automation instead of MCP client integration, see CLI vs MCP.
Start Here
- Follow the Execution playbook.
- Apply client-specific config:
- Validate with AI troubleshooting.
Agent Safety Rules
- Ask for absolute paths before cloning or editing user files.
- Merge JSON changes instead of replacing entire config files.
- Preserve existing MCP servers in user config.
- Verify
get_extension_rpcsincludesext.mcp.toolkit.*before claiming screenshot/layout/error inspection works. - When multiple debug targets exist, retry with
arguments.connection.targetId.