Flutter Lens

Official registry Developer tools

Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package flutter-lens-dev
Claude Code
claude mcp add flutter-lens -e 'FLUTTER_LENS_ROOT=<FLUTTER_LENS_ROOT>' -e 'FLUTTER_LENS_TRUSTED=false' -- npx -y flutter-lens-dev@0.1.0-alpha.6
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "flutter-lens": {
            "command": "npx",
            "args": [
                "-y",
                "flutter-lens-dev@0.1.0-alpha.6"
            ],
            "env": {
                "FLUTTER_LENS_ROOT": "<FLUTTER_LENS_ROOT>",
                "FLUTTER_LENS_TRUSTED": "false"
            }
        }
    }
}

Environment variables

  • FLUTTER_LENS_ROOT required Absolute path to the specific local project you authorize the server to read.
  • FLUTTER_LENS_TRUSTED Set true only if you explicitly trust this project and authorize execution of its code.

Frequently asked questions

What is Flutter Lens?

Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.

How do I install Flutter Lens?

It runs on your machine. In Claude Code: claude mcp add flutter-lens -e 'FLUTTER_LENS_ROOT=<FLUTTER_LENS_ROOT>' -e 'FLUTTER_LENS_TRUSTED=false' -- npx -y flutter-lens-dev@0.1.0-alpha.6. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Flutter Lens need an API key?

Yes. It expects FLUTTER_LENS_ROOT, which you set in its configuration.

Is Flutter Lens open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains Flutter Lens?

It is published by mullermnm. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.