{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.mullermnm/flutter-lens",
  "slug": "io.github.mullermnm.flutter-lens",
  "title": "Flutter Lens",
  "summary": "Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.",
  "version": "0.1.0-alpha.6",
  "serverKey": "flutter-lens",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mullermnm.flutter-lens",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mullermnm.flutter-lens/install.md",
  "trust": {
    "score": 88,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-03T19:00:13.604622682Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "flutter-lens-dev@0.1.0-alpha.6"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add flutter-lens -e 'FLUTTER_LENS_ROOT=<FLUTTER_LENS_ROOT>' -- npx -y flutter-lens-dev@0.1.0-alpha.6"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"flutter-lens\": {\n      \"args\": [\n        \"-y\",\n        \"flutter-lens-dev@0.1.0-alpha.6\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"FLUTTER_LENS_ROOT\": \"<FLUTTER_LENS_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"flutter-lens\": {\n      \"args\": [\n        \"-y\",\n        \"flutter-lens-dev@0.1.0-alpha.6\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"FLUTTER_LENS_ROOT\": \"<FLUTTER_LENS_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"FLUTTER_LENS_ROOT\",\n      \"id\": \"flutter-lens-root\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"flutter-lens\": {\n      \"args\": [\n        \"-y\",\n        \"flutter-lens-dev@0.1.0-alpha.6\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"FLUTTER_LENS_ROOT\": \"${input:flutter-lens-root}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.flutter-lens]\ncommand = \"npx\"\nargs = [\"-y\", \"flutter-lens-dev@0.1.0-alpha.6\"]\nenv = { \"FLUTTER_LENS_ROOT\" = \"<FLUTTER_LENS_ROOT>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "FLUTTER_LENS_ROOT",
      "required": true,
      "secret": false,
      "description": "Absolute path to the specific local project you authorize the server to read.",
      "help": "Absolute path to the specific local project you authorize the server to read.",
      "placeholder": "<FLUTTER_LENS_ROOT>"
    },
    {
      "name": "FLUTTER_LENS_TRUSTED",
      "required": false,
      "secret": false,
      "description": "Set true only if you explicitly trust this project and authorize execution of its code.",
      "help": "Set true only if you explicitly trust this project and authorize execution of its code.",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "plan_flutter_preview",
    "inspect_png",
    "compare_screens",
    "list_frameworks",
    "list_devices",
    "discover_screens",
    "render_screen"
  ],
  "agentSteps": [
    "Ask the user for: FLUTTER_LENS_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: plan_flutter_preview, inspect_png, compare_screens, list_frameworks, list_devices, discover_screens, render_screen.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-03T19:00:13.604622682Z"
}
