原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Flutter Structure MCP

作者:Nilesh9783版本 1.0.3i★ –i在你的电脑上运行
注册名称io.github.Nilesh9783/flutter_structure_mcp

安装

概览

作者提供的说明(英文原文)

Audit architecture, security, memory, and code quality in Flutter, Laravel, Node, Python, & Vue.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "flutter-structure": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add flutter-structure -- docker run -i --rm ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "flutter-structure": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "flutter-structure": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Nilesh9783 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7271 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7271 个服务器的 39% 更新
  • 基础检查结果等于或优于此分类中其他 7271 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Flutter Structure MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.3)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Flutter Architect MCP

flutter_architect_mcp is a Model Context Protocol (MCP) server and command-line utility designed to automate the process of bootstrapping new Flutter applications. It sets up architectural structures, injects required package dependencies, sets up routing, databases, networks, and backend configurations, and copies a comprehensive collection of shared utilities, widgets, and extensions into the generated codebase.


What is Provided

The project contains a complete template library and a generator pipeline organized as follows:

├── bin/

│ ├── server.dart # MCP Server entry point (communicates via stdio) │ └── flutter_architect_mcp.dart # Direct dart run test script ├── config/ │ ├── packages.yaml # Map of package versions for different setup choices │ └── architecture.yaml # Supported architectures configuration ├── lib/ │ ├── generators/ │ │ ├── project_generator.dart # Master orchestrator │ │ ├── architecture_generator.dart # Clean, MVC, and MVVM template setup │ │ ├── state_generator.dart # Bloc, GetX, Provider, Riverpod, RxDart │ │ ├── package_generator.dart # Database, Router, Network, Backend setup │ │ └── feature_generator.dart # Generates features (login, dashboard, profile, home) │ ├── models/ │ │ └── project_config.dart # Encapsulates configuration parameters │ ├── services/ │ │ ├── copy_service.dart # Directory cloner with smart import rewriting │ │ ├── flutter_service.dart # Runs flutter create and flutter pub get │ │ ├── yaml_service.dart # YAML parser helper │ │ └── pubspec_service.dart # Dynamic dependency injector into pubspec.yaml │ └── tools/ │ ├── architectures_create/ │ │ └── create_project.dart # CLI runner script │ └── scanners_and_audit_reports/ │ └── run_audit.dart # Audit CLI runner script └── templates/ # Core template assets ├── architecture/ # Codebases for clean, mvc, and mvvm ├── state/ # State configurations ├── network/ # dio, retrofit templates ├── database/ # hive, isar, drift templates ├── backend/ # firebase, supabase templates ├── router/ # go_router, auto_route, own_extensions templates ├── feature/ # login, dashboard, profile, home templates └── shared/ # Common widgets, extensions, and helpers

Shared Assets Included:

All assets copied from templates/shared are automatically adjusted to compile in the new project:

  • Common Widget Components: Dialogs, custom animated dropdowns, toast messages (flushbars), loaders, WebView wrappers, custom buttons, text fields, and list view loaders.
  • Extensions: Padding, Alignment, Color parsing, String manipulation, DateTime formatting, Double formatting, Shimmer overlays, Svg integration, and TextStyle/BuildContext extensions.
  • Helpers: Shared Preferences wrapper, Validation helpers, Device Connectivity checker, Deep Link helper, Notification helper, Image & Document pickers, Haptics helper, and Force Update checker.

Execution Flow

When a project is generated, the tool executes the following steps:

graph TD;

A[Start: CLI or MCP Request] --> B[Run 'flutter create' in Target Dir]; B --> C[Replace default 'lib' folder with Architecture Template]; C --> D[Add State Management Template & Packages]; D --> E[Add Database Templates & Packages]; E --> F[Add Backend Templates & Packages]; F --> G[Add Router Templates & Packages]; G --> H[Add Network Templates & Packages]; H --> I[Copy Features login, dashboard, profile, home]; I --> J[Inject Shared utils, common widgets, helpers, extensions]; J --> K[Rewrite Hardcoded package:expense_tracker/ Imports to package:projectName/]; K --> L[Run 'flutter pub get' in Generated Project]; L --> M[Project Ready & Fully Compilable!];


How to Use & Access

You can execute the generator in three ways:

1. As an MCP Tool (Recommended for AI Assistants)

Configure flutter_architect_mcp in your LLM desktop client (e.g., Claude Desktop, Cursor, or VS Code MCP plugin).

Claude Desktop Configuration:

Add this to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "flutter-architect": { "command": "dart", "args": [ "run", "/path/to/your/project/my_mcp/flutter_architect_mcp/bin/server.dart" ] } } }

Provided Tool Schema:
  • Tool Name: create_project
  • Arguments:
  • projectName (String, required): Lowercase, snake_case name of the project.
  • architecture (String, required): clean, mvc, or mvvm.
  • stateManagement (String, optional): bloc, getx, provider, riverpod, or rxdart.
  • database (String, optional): hive, isar, or drift.
  • backend (String, optional): firebase or supabase.
  • network (String, optional): dio or retrofit.
  • router (String, optional): go_router, auto_route, or own_extensions.
  • targetDirectory (String, optional): Absolute path to output directory (defaults to current directory).
Example Client Prompts (Natural Language Commands):
  • Auditing a Codebase (Flutter, Node, Vue, Laravel, Python):

"Please run a full audit on the project located at /path/to/project. Generate HTML/PDF reports, and email it to team@example.com (optional)."

  • Auto-Detect Technology & Run Audit:

"Run a full codebase audit on the folder /path/to/project. Automatically detect the project type and output separate reports."

  • Scaffolding a Flutter App:

"Scaffold a new Flutter app named my_app at /path/to/output with MVVM architecture, Riverpod state, Drift database, and GoRouter."

  • Suggest and Apply Fixes:

"Generate suggested fixes for /path/to/project and apply them safely."

  • Start Performance Monitor Server:

"Start the performance monitor dashboard server on port 8080."


2. Via the Command Line Interface (CLI)

You can invoke the standalone CLI tool directly using the standard arguments:

dart run lib/tools/architectures_create/create_project.dart \

--name my_awesome_app \ --arch clean \ --state bloc \ --db hive \ --backend firebase \ --network dio \ --router go_router \ --target /path/to/output/folder

CLI Flags:
  • --name: Name of the project (required)
  • --arch: Architecture style: clean, mvc, mvvm (required)
  • --state: State management: bloc, getx, provider, riverpod, rxdart
  • --db: Local database: hive, isar, drift
  • --backend: Backend service: firebase, supabase
  • --network: Network client: dio, retrofit
  • --router: Routing solution: go_router, auto_route, own_extensions
  • --target: Absolute path of parent folder (defaults to current path)

3. Direct Programmatic Script

Run the pre-configured flutter_architect_mcp.dart script to quickly test or launch a default workspace setup:

dart run bin/flutter_architect_mcp.dart

This script generates a pre-configured project named expense_tracker_with_mcp with clean architecture, bloc, hive, firebase, dio, and go_router in the local directory.


Runtime Performance Check Tool

The Runtime Performance Monitor spins up a local server hosting a live web-based DevTools-like dashboard to profile active screens, HTTP API timing latencies, heap memory (RAM), and local database storage consumption. Stopping a session compiles all metrics into a formatted printable PDF HTML report.

1. Launching the Dashboard Server

You can launch the dashboard server directly from CLI:

dart run lib/tools/scanners_and_audit_reports/run_runtime_perf.dart --port 8080
  • Port Flag: Set custom ports using --port (defaults to 8080).
  • Access Dashboard: Open http://localhost:8080 in your web browser.
2. Registering in MCP Server

You can start the tool via the MCP server using the start_runtime_perf_check tool:

{

"name": "start_runtime_perf_check", "arguments": { "port": 8080 } }

3. Integrating with Your Flutter Application

Copy the helper code integrations displayed under the Integration Guide tab of your dashboard:

  • Network Request Interceptor: Add the custom Dio interceptor to your HTTP client to log request methods, endpoints, response statuses, and durations.
  • Screen Route Observer: Register the PerfNavigatorObserver in your MaterialApp observers to track navigation changes.
  • Periodic Memory & Storage Streamer: Launch the background timer inside main() to stream RAM (RSS) size and local DB file size points.

All data streams directly to the dashboard, and clicking the Stop & Save PDF button on the dashboard will export a detailed engineering review report with remediation steps!


4. Connecting Simulators, Emulators, & Real Devices

To allow your running mobile app to post metrics back to the local performance server, configure the connection URL according to your target device environment:

A. iOS Simulator (macOS host)

Since the iOS simulator runs directly on the host Mac, it can connect via localhost:

  • Connection URL: http://localhost:8080/api/record
B. Android Emulator (Virtual Device)

Android emulators run within a virtual loopback environment. To access the host machine's localhost, use the special IP address 10.0.2.2:

  • Connection URL: http://10.0.2.2:8080/api/record
C. Physical Android Device (Connected via USB)

You can forward port 8080 from the device back to your computer using ADB:

  1. Run the following command in your terminal:
   adb reverse tcp:8080 tcp:8080
  1. Your app can now use localhost directly:
  • Connection URL: http://localhost:8080/api/record
D. Physical iOS / Android Device (Connected via Wi-Fi)
  1. Ensure both your development computer and mobile device are connected to the same Wi-Fi network.
  2. Find your computer's local IP address (e.g. 192.168.1.45 or 10.0.0.12).
  3. Use that IP address inside your Flutter app:
  • Connection URL: http:// :8080/api/record
问 PopNx