Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
New Relic MCP server for observing AI coding assistants (Claude Code, Cursor, Copilot, etc.)
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
NEW_RELIC_LICENSE_KEY, NR_AI_MODE, NEW_RELIC_ACCOUNT_IDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"preflight": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "ใส่ค่าของคุณ",
"NR_AI_MODE": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add preflight --env NEW_RELIC_LICENSE_KEY='ใส่ค่าของคุณ' --env NR_AI_MODE='ใส่ค่าของคุณ' --env NEW_RELIC_ACCOUNT_ID='ใส่ค่าของคุณ' -- npx -y @newrelic/preflightเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"preflight": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "ใส่ค่าของคุณ",
"NR_AI_MODE": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"preflight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "ใส่ค่าของคุณ",
"NR_AI_MODE": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
NR_AI_MODE envNEW_RELIC_ACCOUNT_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub newrelic-experimental ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: NEW_RELIC_LICENSE_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.71.0) เข้า registry เมื่อวานซืน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, FlyDocs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Preflight Observability for AI Coding Assistants
Docs • What's New • Examples • Community • Contributing
Your AI coding assistant makes hundreds of decisions every session — what to read, what to edit, when to run commands. But you can't see any of it. You know it was fast, but was it _efficient_? You got a PR merged, but how much did it cost? You fixed a bug, but did it get stuck in a loop first?
Preflight is observability for agentic coding — the actions, cost, and efficiency of your AI coding assistant as it works. See exactly what's happening, how much it costs, and where your AI is wasting time.
Local-first by design. Preflight runs entirely on your machine and sends your data nowhere by default. A live dashboard at localhost:7777 shows your sessions in real time, fully offline. Connect a New Relic account only when you want more — team rollups, alerting, and cross-session history. You choose: local-only, New Relic, or both.
See cost breakdown, efficiency scoring, anti-patterns, and live session tracking in action.
localhost:7777, no account requirednpm install -g @newrelic/preflight
Using [Smithery](https://smithery.ai)? Installing Preflight from the Smithery MCP registry wires up the MCP server for you, but Smithery has no mechanism to write Claude Code hooks. After install, either run
preflight installin a terminal, or set"allowHeadlessInstall": truein your Preflight config (orNEW_RELIC_AI_ALLOW_HEADLESS_INSTALL=true) and ask Claude Code to call thenr_observe_install_hooksMCP tool. The tool refuses by default, because any connected MCP client can call it. With the flag on, it offers to do this automatically oncenr_observe_healthreportssetup_required: true. Then restart Claude Code to activate monitoring.
preflight setup
The wizard defaults to local mode — press Enter through the prompts and you're set. It wires Preflight into your AI tool (hooks + MCP server) and writes config to ~/.newrelic-preflight/. Takes under a minute, no account required.
Using GitHub Copilot? The wizard also asks to install Copilot hooks — saying yes configures both the Copilot CLI and VS Code Copilot Chat automatically (hooks, MCP registration, and the fix for VS Code's hook double-capture), so Copilot gets the same tool-call and cost metrics Claude Code does. Run it standalone anytime with
preflight install --copilot. See docs/ADAPTERS.md for details.
When prompted, pick a mode:
| Mode | What it does | New Relic account? |
|---|---|---|
| local _(default)_ | Everything stays on your machine; live dashboard at localhost:7777 | Not needed |
| cloud | Ships telemetry to New Relic | Required |
| both | Local dashboard and New Relic | Required |
Restart your AI tool — hooks and the MCP server load at session start. Every tool call is captured automatically. Open http://localhost:7777 to watch your session live.
Using Kiro? Add Preflight as a Kiro Power for the
nr_observe_*query tools — see the doc for install steps and how to add
automatic tool-call capture on top.
Using Claude Code? You can skip the npm install above and add Preflight as a Claude Code plugin instead:
`
/plugin marketplace add newrelic-experimental/preflight
/plugin install newrelic-preflight@newrelic-preflight-marketplace
`
Cursor — Add to Cursor installs the MCP server via a one-click deeplink; run preflight setup afterwards for hook capture.
Homebrew (macOS):
brew tap newrelic-experimental/preflight
brew trust newrelic-experimental/preflight brew install preflight
Run preflight setup afterwards for hook capture.
Claude Code • Amazon Kiro • Amazon Q Developer CLI • Factory Droid • OpenAI Codex • opencode • Kilo Code • Pi • GitHub Copilot • GitHub Copilot SDK • GitHub Copilot app • Google Gemini CLI • Cursor • Windsurf • Google Antigravity • Zed • Continue.dev • Cline
Coverage isn't uniform — some platforms capture every built-in tool call, others (Zed, Continue.dev, Cline) only see calls routed to Preflight's own MCP tools. See ADAPTERS.md for what each platform can and can't observe, and per-platform setup steps.
Local mode is fully featured on its own. Connect a New Relic account to unlock:
Re-run preflight setup and choose cloud or both, or configure it non-interactively:
preflight install \
--mode cloud \ --license-key YOUR_LICENSE_KEY \ --account-id YOUR_ACCOUNT_ID
EU accounts add --eu. FedRAMP accounts add --fedramp. Japan accounts add --jp.
A key passed with --license-key is visible to every local user through ps. For scripts, read it from a file instead (--license-key-file ~/.nr-key, which warns if other users can read the file) or set NEW_RELIC_LICENSE_KEY and NEW_RELIC_ACCOUNT_ID in the environment. The flag wins over the file, and the file wins over the environment. The environment is used only when config.json has no stored licenseKey or licenseKeyCommand, so a shell that already exports these variables for an APM agent never overwrites your stored key. To replace a stored key, pass --license-key-file. With --copilot, the key is still handed to copilot mcp add as an argument, so it is briefly visible in ps for that one call.
Then deploy the prebuilt dashboards:
NEW_RELIC_API_KEY=NRAK-... NEW_RELIC_ACCOUNT_ID=12345 \
preflight deploy-dashboards --all
You'll need a license key (telemetry ingest) and your account ID, plus a user API key (NRAK-…) to deploy dashboards and alerts. See ADVANCED.md for alerts, OTLP export to other backends, and Terraform.
No dashboard until you run `deploy-dashboards`. Cloud mode ships telemetry to New Relic as soon as it's configured, but nothing creates a dashboard automatically — that's the separate step above, and it needs a different credential (a user API key, not your license key). Until you run it, there's no UI to look at. In the meantime, query the raw events directly in New Relic's Query Builder, e.g.:
`sql
SELECT * FROM AiToolCall SINCE 1 hour ago
`
Once
deploy-dashboardssucceeds, find the dashboards under your New Relic account's Dashboards section.
Data ingest note: Telemetry sent to New Relic counts against your account's data ingest. On paid plans, standard ingest rates apply. Monitor your usage under NR One → Data Management → Data Ingestion.
cloud/both mode. Skip it to run local-only (the default).NRAK-…) — only needed to deploy dashboards and alertspreflight doctor # Run 10 diagnostic checks and print actionable fix commands
preflight validate # Check config for syntax errors and unknown keys preflight update # Pull latest version, rebuild, and offer to restart a running dashboard (source installs only — npm installs: npm install -g @newrelic/preflight@latest; Homebrew installs: brew upgrade preflight) preflight local # List running --local dashboard processes and live --stdio MCP processes preflight local --clean # Kill orphaned --local processes and --stdio processes with a missing binary (prompts for confirmation) preflight uninstall # Remove hooks and MCP config (prompts with a summary first) preflight uninstall --yes # Skip the confirmation prompt (for scripts and CI) preflight uninstall --daemon # Remove only the background dashboard daemon
Add --project to install/uninstall to scope changes to the current directory only.
WSL users: preflight setup will ask which Claude Code you're running. You can also set it explicitly:
--windows-cc — Windows Claude Code (the desktop app); uses wsl.exe hooks and Windows paths--linux-cc — Linux Claude Code installed via npm inside WSLตัดมาแค่ช่วงต้น อ่านต่อใน repo