Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Live runtime data from a running Flutter app: exceptions, logs, network, frames, diagnosis.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"flutter-lamp": {
"command": "npx",
"args": [
"-y",
"flutter-lamp"
]
}
}
}在终端中运行这条命令
claude mcp add flutter-lamp -- npx -y flutter-lamp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"flutter-lamp": {
"command": "npx",
"args": [
"-y",
"flutter-lamp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"flutter-lamp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"flutter-lamp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 itsonu 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.21.0)于38天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Zendesk
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that connects Claude Code, Claude Desktop, Cursor, Codex & Gemini directly to a running Flutter app through the Dart VM Service Protocol — streaming exceptions, logs, network calls, frame timings and memory as structured data, plus an evidence-first root-cause diagnosis engine and a live browser dashboard.
Today you debug Flutter with your AI by copy-pasting stack traces, flutter run output and DevTools screenshots. The AI is blind between messages.
Flutter Lamp makes the AI runtime-aware. It reads the app's live state over official Flutter/Dart APIs (never scraping DevTools), so instead of *"paste the error"* the AI can ask the app *"what just happened, and why?"*
❌ You: *pastes 40 lines of red stack trace*
✅ AI: connect_vm → get_exceptions → diagnose_runtime → "RenderFlex overflow in Column at home.dart:42, triggered right after GET /api/user returned 500. Confidence 85%. Fix: …"
dart:developer)dart:io profiling — covers Dio & package:http, no interceptor neededhttp://127.0.0.1:7373 — streams everything over WebSocket, independent of the AI connection| Tool | Purpose | Safety |
|---|---|---|
connect_vm | Connect to a running app's Dart VM Service (ws:// or http://). | mutates |
ensure_tcp_device | Android transports; recommend wireless, optionally promote USB. | mutates |
runtime_health | One-call triage — verdict plus exception/network/frame/log/memory summary. | read-only |
what_changed | Evidence from the window before a failure, with a timeline. | read-only |
get_navigation | Current route and recent transitions, with per-route failures. | read-only |
get_rebuilds | Widget rebuild hotspots resolved to widget, file and line. | read-only |
get_state_activity | Riverpod, Provider and Bloc activity over time, and how often it coincides with build-heavy frames. | read-only |
export_session | The whole session as versioned JSON — brief (diagnoses + cited evidence) or full. | read-only |
explain_diagnosis | Why a diagnosis was reached: resolved evidence, alternatives, gaps. | read-only |
get_capabilities | Active collectors, tool safety classes, what cannot be observed. | read-only |
runtime_status | Connection, session, reconnect state, event counts, retention window, what the session has cost in responses, and the VM-to-host clock offset. | read-only |
get_logs | Console + dart:developer logs (filter by severity / source / text). | read-only |
get_exceptions | Framework & unhandled exceptions with stack traces. | read-only |
get_frames | Frame build/raster timings; onlyJanky filter. | read-only |
get_network | HTTP requests (Dio & package:http); headers + timing on failures. | read-only |
get_widget_tree | Widget-tree snapshot from the Flutter Inspector. | read-only |
get_selected_widget | Widget currently selected in the Inspector. | read-only |
get_memory | Dart heap + external memory (MB). | read-only |
get_timeline | Recent VM timeline events (build/paint/layout/GC). | mutates |
diagnose_runtime | Root cause with a stable cause label, evidence ids, timeline, alternatives, and coverage — including which categories nothing could observe. | read-only |
diagnose_performance | Why the app is janky — percentiles, phase split, rebuild attribution. | read-only |
get_dashboard_url | URL of the live browser dashboard. | read-only |
mutates means the tool changes app or VM state, not your project — nothing here writes code or files. connect_vm enables dart:io HTTP timeline logging on the app so network capture works; get_timeline with recordFrom: true changes the VM's recording flags. Every tool carries an MCP readOnlyHint annotation so a client can enforce this itself.
Agents should not call all of them. The recommended flow is runtime_health → what_changed → a targeted get_* → diagnose_runtime; see AI Agent Integration.
Requires Node ≥ 20. Nothing to clone — npx fetches it on first run:
npx -y flutter-lamp
Or install it globally:
npm install -g flutter-lamp
From source
git clone https://github.com/itsonu/flutter-lamp.git
cd flutter-lamp npm install npm run build node dist/index.js
Claude Code plugin (recommended) — installs the MCP server *and* the flutter-runtime-diagnosis skill in one step:
/plugin marketplace add itsonu/flutter-lamp
/plugin install flutter-lamp@flutter-lamp
The plugin pins an exact, published server version. Flutter Lamp is also listed in the MCP Registry as io.github.itsonu/flutter-lamp.
Or add the server to your MCP client config yourself, then restart the client.
Claude Code — .mcp.json in your project:
{
"mcpServers": { "flutter-lamp": { "command": "npx", "args": ["-y", "flutter-lamp"] } } }
Or from the CLI:
claude mcp add --scope user flutter-lamp -- npx -y flutter-lamp
--scope user makes it available in every project; drop it to register for the current project only.
Cursor (~/.cursor/mcp.json) and Claude Desktop (claude_desktop_config.json) use the same mcpServers shape.
Running from a clone instead? Point command at node and args at /absolute/path/to/flutter-lamp/dist/index.js.
Optional environment variables:
| Var | Default | Meaning | |
|---|---|---|---|
DASHBOARD_PORT | 7373 | Dashboard HTTP/WS port. | read-only |
DASHBOARD_HOST | 127.0.0.1 | Bind address (localhost only by default). | read-only |
DASHBOARD_DISABLE | — | Set to 1 to disable the dashboard. | read-only |
FLUTTER_LAMP_REDACT | on | Set to off to keep raw credential values. | read-only |
FLUTTER_LAMP_REDACT_EXTRA | — | Comma-separated extra header-name patterns to redact. | read-only |
flutter run
Copy the line it prints:
A Dart VM Service on <device> is available at: http://127.0.0.1:PORT/TOKEN=/
Tip:
flutter run --vm-service-port=8181gives a stable URI across restarts.
and tell me why it's throwing."* With the bundled skill, Claude Code runs the whole flow (connect → gather → diagnose_runtime) automatically and never asks you to paste logs when the VM Service is reachable.A flutter run started over USB loses its VM Service tunnel the moment the cable moves; one started over a TCP transport does not. Ask the server which transports exist:
ensure_tcp_device # read-only: lists transports, recommends one
ensure_tcp_device { promote: true } # puts a USB-only device on TCP (needs the cable once)
Then launch against the wireless serial it recommends:
flutter run -d 192.168.88.3:5555
The cable is only needed for the one-time promotion. Reverse it any time with adb usb.
A zero-dependency dark UI (native HTTP + WebSocket, no build step) that streams runtime data as it happens:
Overview — a session report: health, FPS, memory, worst frame, MCP activity, and findings that link through to the events behind them (the worst-frame finding opens the timeline filtered to that frame) · Logs (search / filter / auto-scroll) · Network (expandable headers & timing) · Exceptions (expandable stack traces) · Timeline · Performance (live canvas charts) · MCP — which agent connected, every tool it called, with latency, errors and response size · Inspector — which inspection links exist and which are pull-only · Diagnostics — the measured topology, per-collector health, and what this target cannot observe at all.
Controls: pause/resume · clear view · export JSON · per-tab search · auto-reconnect.
The UI distinguishes states that look alike and are not: 0 MB is a measurement, not sampled yet is the absence of one, and an empty tab says whether a filter is hiding rows, the collector is blind on this target, or the collector is watching and has seen nothing. Readings taken before a disconnect are labelled as such rather than left looking live.
Running Flutter app
│ Dart VM Service Protocol (JSON-RPC over WebSocket) ▼ VmService client ──▶ Collectors (log · exception · frame · network · …) │ ▼ RuntimeStore (one centralized, capped event stream; every event: timestamp · source · severity · category) │ │ ┌──────────┘ └──────────┐ ▼ ▼ MCP tools (stdio) Dashboard (HTTP + WebSocket) → Claude Code / Cursor / … → your browser
Everything flows through one event store. Adding a new runtime source = implement the Collector interface and register it — no other layer changes. Design principles: official Flutter/Dart APIs only, structured JSON over text, never scrape DevTools, and never claim a cause the evidence doesn't support.
dart:io HTTP profiling are not available in release builds.dart:io HTTP, so requests are fetched when get_network or diagnose_runtime runs — not streamed continuously.Debug.PauseException needs pause-on-exception enabled in the app to fire. Flutter.Error is posted by the widget inspector only while structured error reporting is on, which the framework disables in profile mode and on the web只显示了开头部分;其余内容请在仓库中阅读