Flutter Lens for VS Code
io.github.mullermnm/flutter-lens
Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.
client:VS Code
transport:stdio
runtime:npm
Install Flutter Lens in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "flutter-lens-root",
"description": "FLUTTER_LENS_ROOT",
"password": true
},
{
"type": "promptString",
"id": "flutter-lens-trusted",
"description": "FLUTTER_LENS_TRUSTED",
"password": true
}
],
"servers": {
"flutter-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"flutter-lens-dev"
],
"env": {
"FLUTTER_LENS_ROOT": "${input:flutter-lens-root}",
"FLUTTER_LENS_TRUSTED": "${input:flutter-lens-trusted}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs