Flutter Lens
Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
flutter-lens-devclaude 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
{
"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"
}
}
}
}
متغيرات البيئة
FLUTTER_LENS_ROOTإلزامي Absolute path to the specific local project you authorize the server to read.FLUTTER_LENS_TRUSTEDSet true only if you explicitly trust this project and authorize execution of its code.
الأسئلة الشائعة
ما هو Flutter Lens؟
Render Flutter widgets to real PNGs for coding agents, locally and without an emulator.
كيف أثبّت Flutter Lens؟
يعمل على جهازك. في 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 من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Flutter Lens إلى مفتاح API؟
نعم. يتطلب FLUTTER_LENS_ROOT، وتضبطها في إعداداته.
هل Flutter Lens مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Flutter Lens؟
ينشره mullermnm. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.