Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Audit architecture, security, memory, and code quality in Flutter, Laravel, Node, Python, & Vue.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด 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"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add flutter-structure -- docker run -i --rm ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"flutter-structure": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"flutter-structure": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/nilesh9783/flutter_structure_mcp:1.0.3"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Nilesh9783 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
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
All assets copied from templates/shared are automatically adjusted to compile in the new project:
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!];
You can execute the generator in three ways:
Configure flutter_architect_mcp in your LLM desktop client (e.g., Claude Desktop, Cursor, or VS Code MCP plugin).
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" ] } } }
create_projectprojectName (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)."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)."
"Run a full codebase audit on the folder
/path/to/project. Automatically detect the project type and output separate reports."
"Scaffold a new Flutter app named
my_appat/path/to/outputwith MVVM architecture, Riverpod state, Drift database, and GoRouter."
"Generate suggested fixes for
/path/to/projectand apply them safely."
"Start the performance monitor dashboard server on port 8080."
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
--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)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.
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.
You can launch the dashboard server directly from CLI:
dart run lib/tools/scanners_and_audit_reports/run_runtime_perf.dart --port 8080
--port (defaults to 8080).http://localhost:8080 in your web browser.You can start the tool via the MCP server using the start_runtime_perf_check tool:
{
"name": "start_runtime_perf_check", "arguments": { "port": 8080 } }
Copy the helper code integrations displayed under the Integration Guide tab of your dashboard:
PerfNavigatorObserver in your MaterialApp observers to track navigation changes.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!
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:
Since the iOS simulator runs directly on the host Mac, it can connect via localhost:
http://localhost:8080/api/recordAndroid emulators run within a virtual loopback environment. To access the host machine's localhost, use the special IP address 10.0.2.2:
http://10.0.2.2:8080/api/recordYou can forward port 8080 from the device back to your computer using ADB:
adb reverse tcp:8080 tcp:8080
localhost directly:http://localhost:8080/api/record192.168.1.45 or 10.0.0.12).http:// :8080/api/record