Flutter Lens for Cursor
io.github.mullermnm/flutter-lens
Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.
client:Cursor
transport:stdio
runtime:npm
Install Flutter Lens in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"flutter-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"flutter-lens-dev"
],
"env": {
"FLUTTER_LENS_ROOT": "<FLUTTER_LENS_ROOT>",
"FLUTTER_LENS_TRUSTED": "<FLUTTER_LENS_TRUSTED>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs