Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
What changed across metrics, logs and traces, and where it started (Grafana, Victoria, New Relic).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SPOOR_METRICS_TYPE, SPOOR_LOGS_TYPE, SPOOR_TRACES_TYPE, SPOOR_METRICS_URL, SPOOR_LOGS_URL, SPOOR_TRACES_URL, SPOOR_METRICS_TOKEN, SPOOR_LOGS_TOKEN, SPOOR_TRACES_TOKEN, NEW_RELIC_ACCOUNT_ID, NEW_RELIC_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"spoor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SPOOR_METRICS_TYPE",
"-e",
"SPOOR_LOGS_TYPE",
"-e",
"SPOOR_TRACES_TYPE",
"-e",
"SPOOR_METRICS_URL",
"-e",
"SPOOR_LOGS_URL",
"-e",
"SPOOR_TRACES_URL",
"-e",
"SPOOR_METRICS_TOKEN",
"-e",
"SPOOR_LOGS_TOKEN",
"-e",
"SPOOR_TRACES_TOKEN",
"-e",
"NEW_RELIC_ACCOUNT_ID",
"-e",
"NEW_RELIC_API_KEY",
"ghcr.io/asinha07/spoor:0.3.1",
"serve"
],
"env": {
"SPOOR_METRICS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TYPE": "ใส่ค่าของคุณ",
"SPOOR_METRICS_URL": "ใส่ค่าของคุณ",
"SPOOR_LOGS_URL": "ใส่ค่าของคุณ",
"SPOOR_TRACES_URL": "ใส่ค่าของคุณ",
"SPOOR_METRICS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TOKEN": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"NEW_RELIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add spoor --env SPOOR_METRICS_TYPE='ใส่ค่าของคุณ' --env SPOOR_LOGS_TYPE='ใส่ค่าของคุณ' --env SPOOR_TRACES_TYPE='ใส่ค่าของคุณ' --env SPOOR_METRICS_URL='ใส่ค่าของคุณ' --env SPOOR_LOGS_URL='ใส่ค่าของคุณ' --env SPOOR_TRACES_URL='ใส่ค่าของคุณ' --env SPOOR_METRICS_TOKEN='ใส่ค่าของคุณ' --env SPOOR_LOGS_TOKEN='ใส่ค่าของคุณ' --env SPOOR_TRACES_TOKEN='ใส่ค่าของคุณ' --env NEW_RELIC_ACCOUNT_ID='ใส่ค่าของคุณ' --env NEW_RELIC_API_KEY='ใส่ค่าของคุณ' -- docker run -i --rm -e SPOOR_METRICS_TYPE -e SPOOR_LOGS_TYPE -e SPOOR_TRACES_TYPE -e SPOOR_METRICS_URL -e SPOOR_LOGS_URL -e SPOOR_TRACES_URL -e SPOOR_METRICS_TOKEN -e SPOOR_LOGS_TOKEN -e SPOOR_TRACES_TOKEN -e NEW_RELIC_ACCOUNT_ID -e NEW_RELIC_API_KEY ghcr.io/asinha07/spoor:0.3.1 serveเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"spoor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SPOOR_METRICS_TYPE",
"-e",
"SPOOR_LOGS_TYPE",
"-e",
"SPOOR_TRACES_TYPE",
"-e",
"SPOOR_METRICS_URL",
"-e",
"SPOOR_LOGS_URL",
"-e",
"SPOOR_TRACES_URL",
"-e",
"SPOOR_METRICS_TOKEN",
"-e",
"SPOOR_LOGS_TOKEN",
"-e",
"SPOOR_TRACES_TOKEN",
"-e",
"NEW_RELIC_ACCOUNT_ID",
"-e",
"NEW_RELIC_API_KEY",
"ghcr.io/asinha07/spoor:0.3.1",
"serve"
],
"env": {
"SPOOR_METRICS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TYPE": "ใส่ค่าของคุณ",
"SPOOR_METRICS_URL": "ใส่ค่าของคุณ",
"SPOOR_LOGS_URL": "ใส่ค่าของคุณ",
"SPOOR_TRACES_URL": "ใส่ค่าของคุณ",
"SPOOR_METRICS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TOKEN": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"NEW_RELIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"spoor": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SPOOR_METRICS_TYPE",
"-e",
"SPOOR_LOGS_TYPE",
"-e",
"SPOOR_TRACES_TYPE",
"-e",
"SPOOR_METRICS_URL",
"-e",
"SPOOR_LOGS_URL",
"-e",
"SPOOR_TRACES_URL",
"-e",
"SPOOR_METRICS_TOKEN",
"-e",
"SPOOR_LOGS_TOKEN",
"-e",
"SPOOR_TRACES_TOKEN",
"-e",
"NEW_RELIC_ACCOUNT_ID",
"-e",
"NEW_RELIC_API_KEY",
"ghcr.io/asinha07/spoor:0.3.1",
"serve"
],
"env": {
"SPOOR_METRICS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TYPE": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TYPE": "ใส่ค่าของคุณ",
"SPOOR_METRICS_URL": "ใส่ค่าของคุณ",
"SPOOR_LOGS_URL": "ใส่ค่าของคุณ",
"SPOOR_TRACES_URL": "ใส่ค่าของคุณ",
"SPOOR_METRICS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_LOGS_TOKEN": "ใส่ค่าของคุณ",
"SPOOR_TRACES_TOKEN": "ใส่ค่าของคุณ",
"NEW_RELIC_ACCOUNT_ID": "ใส่ค่าของคุณ",
"NEW_RELIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SPOOR_METRICS_TYPE envSPOOR_LOGS_TYPE envSPOOR_TRACES_TYPE envSPOOR_METRICS_URL envSPOOR_LOGS_URL envSPOOR_TRACES_URL envNEW_RELIC_ACCOUNT_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub asinha07 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: SPOOR_METRICS_TOKEN, SPOOR_LOGS_TOKEN, SPOOR_TRACES_TOKEN, NEW_RELIC_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.1) เข้า registry 15 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Draugr
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.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Spoor tells an AI agent what changed in your services, and where it started, in a few hundred tokens.
Website: [telespoor.com](https://telespoor.com)
Spoor is an open-source MCP server and CLI for your observability backends: the VictoriaMetrics stack, Prometheus, Loki, Tempo and New Relic. When something breaks, an agent asks Spoor *"what changed in the last 30 minutes?"* and gets back a short, ranked answer across metrics, logs and traces, with the service where the failure started at the top and its echoes in other services labelled as such.
*Spoor* (n.): the track or trail left by an animal. Spoor follows the trail a failure leaves in your telemetry back
to where it started.
$ spoor what-changed --since 30m
{
"summary": "11 change(s) in 3 services. Strongest: payment — Failures start here, in \"POST /charge\" (100% of 100 failed traces). Also: payment — Span \"POST /charge\" errors 0.2% → 43.7% (229 spans). … Errors not significantly up (not new) in: product-catalog, recommendation, ad.", "findings": [ {"service": "payment", "signal": "traces", "kind": "error_origin", "score": 0.99, "title": "Failures start here, in \"POST /charge\" (100% of 100 failed traces)"}, {"service": "payment", "signal": "logs", "kind": "new_log_pattern", "score": 0.94, "title": "New error log pattern: \"charge failed: card processor returned for order \""}, {"service": "payment", "signal": "metrics", "kind": "error_rate_up", "score": 0.92, "title": "Error rate up: 0.2% → 40.5%", "onset": "2026-10-16T09:50:00Z"}, {"service": "checkout", "signal": "logs", "kind": "spiking_log_pattern", "score": 0.74, "title": "Error log pattern spiking: \"call to payment.Charge failed with status \" — originates in payment"} ], "coverage": {"metrics": "ok", "logs": "ok", "traces": "ok"} }
Findings carry evidence links to the query behind them (when the token budget allows), so a human can check the agent's work in one click.
In a microservice failure, the broken service and every caller of it all light up. An agent with only raw query tools has to decide what to query, compare against "normal" itself, page through results and work out which service is the cause and which are echoes. It burns tool calls and tokens, and often blames the loudest symptom or an error that was always there.
Spoor does that work in plain, deterministic Go and hands the agent the conclusion's evidence:
spoor doctor finds your fields and writes the config.— originates in payment.steady_errors, "not a new problem", so agents stop blaming them.budget_tokens (default 800).coverage says when a backend failed or had no data, the baseline was empty, the error filter matched nothing, or lines lack a service or level field. "No change" never stands in for "can't see".The benchmark runs Claude Code headless on six incidents (five faults and a no-fault control), five times each, once with the official VictoriaMetrics MCP servers alone and once with Spoor added. On Claude Haiku, 60 isolated sessions:
| Official Victoria MCP servers | + Spoor | |
|---|---|---|
| Correct root cause, fault scenarios | 19/25 | 25/25 |
| Correct answer, all scenarios incl. "nothing is wrong" | 23/30 | 30/30 |
| Median tool calls per investigation | 24 | 10 |
| Median time | 55 s | 23 s |
| Total cost | $0.60 | $0.19 (−68%) |
Synthetic incidents and one small model, so treat it as a first data point.
On real production logs (about 25 services, mixed formats, read-only replay): the digest was 99.8% smaller than the raw evidence it replaces, with zero candidates against four from v0.1.1, and its baseline counts matched independent queries exactly. It was not faster than four hand-written queries (28 s vs 26 s), and accuracy on real incidents is not yet measured.
Method, per-scenario results, the production replay and caveats: docs/benchmark.md.
Requires Go 1.25+, Docker and jq. About five minutes.
git clone https://github.com/asinha07/spoor && cd spoor
make it-up # empty VictoriaMetrics, VictoriaLogs, VictoriaTraces in Docker make demo-data # six synthetic incidents; ground truth in scenarios/out/ make build
T=scenarios/out/payment-failure.truth.json ./bin/spoor what-changed --since $(jq -r .since $T) --until $(jq -r .until $T) --pretty
Connect it to Claude Code:
claude mcp add spoor \
-e SPOOR_METRICS_URL=http://localhost:8428 \ -e SPOOR_LOGS_URL=http://localhost:9428 \ -e SPOOR_TRACES_URL=http://localhost:10428 \ -- "$PWD/bin/spoor" serve
Run it from the spoor directory (or add -s user to register it everywhere), then ask Claude: *"Something is failing in the shop. What changed, and where did it start?"*
On your own backends, start with spoor doctor --since 15m: it checks what Spoor can see and suggests config. Other clients, Grafana-only access and the rest: [Getting started](docs/getting-started.md).
Each signal picks its backend with type:, and you can mix them:
| Metrics | Logs | Traces | |
|---|---|---|---|
| VictoriaMetrics stack | VictoriaMetrics | VictoriaLogs | VictoriaTraces |
| Grafana stack | Prometheus, Mimir, Thanos | Loki | Tempo |
| New Relic | Transaction events (NRQL) | Log events | Span events |
metrics: {type: prometheus, url: http://prometheus:9090}
logs: {type: loki, url: http://loki:3100} traces: {type: tempo, url: http://tempo:3200}
Setup and what differs per backend (Tempo statistics are sampled; New Relic span changes need the service's metrics to agree): [Backends](docs/backends.md).
| Tool | Returns |
|---|---|
what_changed | Ranked changes across all signals, with cause/echo attribution, for one service or all. Start here. |
new_errors | Error log patterns that are new or spiking, with counts, first-seen time and a redacted example. |
trace_diff | Span names that got slower or started failing, with an example trace ID. |
list_services | Services in the window and which signals have data for each. |
Inputs: service, since, until, baseline (previous, 1d, 7d), budget_tokens. Full reference: docs/tools.md.
flowchart LR
Agent[AI agent / CLI] -->|MCP| S[Spoor] S -->|"PromQL / NRQL"| M[(VictoriaMetrics, Prometheus, New Relic)] S -->|"LogsQL / LogQL / NRQL"| L[(VictoriaLogs, Loki, New Relic)] S -->|"LogsQL / TraceQL / NRQL"| T[(VictoriaTraces, Tempo, New Relic)] S -->|"ranked digest ≤ budget"| Agent
For a window and a baseline (by default, the six windows just before it), Spoor scores every metric with a robust z-score, compares error-log patterns with a Poisson test, compares span error rates and p95s, walks failed traces to the span where each failure started, boosts changes confirmed by more than one signal, and trims the result to the token budget. Details: architecture · scoring and attribution.
spoor serve --http :8080 --auth-token … serves MCP over streamable HTTP with bearer-token auth, /healthz and Prometheus /metrics. Ready-made, hardened manifests:
deploy/kubernetes/deploy/docker/deploy/systemd/Security, sizing, monitoring and upgrades: [Production guide](docs/production.md).
On the OpenTelemetry Demo v3.1.0 (about 20 real services), a 50% payment failure came back as "payment: failures start here, in charge", with checkout and frontend errors labelled "originates in payment" (732 tokens); the adHighCpu fault came back as the single finding "ad: CPU up 0.07 → 3.97 cores" (192 tokens). Reproduce it: deploy/demo/.
| Getting started | Install, try, connect an agent |
| Production | Kubernetes, Docker, systemd, security, monitoring |
| Backends | VictoriaMetrics stack, Prometheus, Loki, Tempo, New Relic |
| Configuration | Every option and recipes for common setups |
| Tools | Inputs and response format |
| Architecture · How it works | Design and scoring |
| Benchmark · Comparison | Why use it, and what else exists |
| Troubleshooting · FAQ | When something looks wrong |
Early (pre-1.0). Tool output fields may still change between minor versions; see the changelog.
bench/replay.py before relying on it.service when you know it.More in how-it-works.md.
Next: accuracy on labelled real incidents, "since the last deploy" windows, Datadog and Elasticsearch backends, exact Tempo statistics through TraceQL metrics. The full list, and what is deliberately out of scope: [docs/roadmap.md](docs/roadmap.md).
Issues and pull requests are welcome. make test needs nothing but Go; see CONTRIBUTING.md. Security issues: SECURITY.md.
Apache-2.0. See LICENSE.