Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Multi-agent observability: cascade failure detection, heartbeats, and forensic replay
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
AGENTWATCH_DBYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"agentwatch": {
"command": "npx",
"args": [
"-y",
"@nicofains1/agentwatch",
"mcp"
],
"env": {
"AGENTWATCH_DB": "your-value"
}
}
}
}Run this in your terminal
claude mcp add agentwatch --env AGENTWATCH_DB=your-value -- npx -y @nicofains1/agentwatch mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"agentwatch": {
"command": "npx",
"args": [
"-y",
"@nicofains1/agentwatch",
"mcp"
],
"env": {
"AGENTWATCH_DB": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"agentwatch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nicofains1/agentwatch",
"mcp"
],
"env": {
"AGENTWATCH_DB": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
AGENTWATCH_DB envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account nicofains1, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.3.1) reached the registry 8 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the 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.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Your agent swarm crashed at 2am. You have logs from 10 agents and no idea which one started the cascade. AgentWatch tells you.
It tracks heartbeats, links actions across agents, walks backward from any failure to the root cause, and replays the full sequence. Works with any agent framework (CrewAI, AutoGen, LangGraph, PocketFlow, custom). Stores everything in a local SQLite file.
Early stage. Issues and feedback welcome: https://github.com/nicofains1/agentwatch/issues
No install needed:
npx @nicofains1/agentwatch demo
This seeds a 5-agent fleet, triggers a cascade failure, and shows you the full trace:
AgentWatch Fleet Dashboard
============================================================ Agents: 5 total | 3 healthy | 1 degraded | 1 error | 0 offline
Cascade Failure (4 steps, root cause: scheduler/dispatch-batch) ============================================================ [ROOT] scheduler/dispatch-batch [ok] 15ms {"assigned_to": "fetcher"} | [ 1 ] fetcher/call-api [error] 30000ms TIMEOUT after 30000ms | [ 2 ] processor/transform [error] 120ms Error: input is null - expected array from fetcher | [FAIL] notifier/send-alert [error] 8ms Error: no processed data to report
npm install @nicofains1/agentwatch
Requires Node 18+. Uses better-sqlite3 (native bindings, no external database needed).
import { AgentWatch } from '@nicofains1/agentwatch';
const aw = new AgentWatch(); // creates agentwatch.db in the current directory
// Report heartbeats from your agents aw.report('agent-a', 'healthy'); aw.report('agent-b', 'healthy');
// Trace an action in agent-a const traceId = aw.createTraceId(); const e1 = aw.trace(traceId, 'agent-a', 'fetch-data', 'url=https://api.example.com', 'rows=150');
// Trace a dependent action in agent-b that fails const e2 = aw.trace(traceId, 'agent-b', 'process', JSON.stringify({ rows: 150 }), 'Error: out of memory', { parentEventId: e1.id, status: 'error', durationMs: 4200, });
// Walk back to the root cause const chain = aw.correlate(e2.id); console.log(chain?.root_cause); // -> { agent: 'agent-a', action: 'fetch-data', ... }
// Print fleet status console.log(aw.dashboardText());
Heartbeats - Each agent calls aw.report(name, status) on a schedule. AgentWatch tracks health over time and marks agents as stale or offline based on configurable thresholds.
Cross-agent tracing - Actions are linked by trace ID and optional parent event ID. When agent-c fails because agent-b sent bad data that came from agent-a, the full chain is queryable.
Cascade detection - correlate(failureEventId) walks backward from any failure to the root cause, returning the full chain with timing and output at each step.
Alert de-duplication - The same alert type from the same agent within a time window collapses into one entry with an incrementing count. Severity auto-escalates: info (1x) -> warning (3x) -> critical (10x).
Forensic replay - replay(traceId) returns all cascade chains within a trace. Useful for post-mortem analysis when a single trace touched multiple agents.
OpenTelemetry export - Export traces as OTEL spans (GenAI semantic conventions). Works with Jaeger, Grafana, or any OTEL-compatible backend. Requires optional peer deps.
npx @nicofains1/agentwatch demo # run the demo
npx @nicofains1/agentwatch dashboard # fleet health overview npx @nicofains1/agentwatch cascade # trace cascade from a failure npx @nicofains1/agentwatch failures [agent] # list recent failures npx @nicofains1/agentwatch alerts [agent] # list active alerts npx @nicofains1/agentwatch replay # replay all cascades in a trace npx @nicofains1/agentwatch mcp # start MCP server (stdio)
Set AGENTWATCH_DB to point to your database file. Default: agentwatch.db in the current directory.
AgentWatch runs as an MCP server. Add it to your Claude Code or Cursor config:
Claude Code (~/.claude/claude_desktop_config.json or .claude/settings.json):
{
"mcpServers": { "agentwatch": { "command": "npx", "args": ["@nicofains1/agentwatch", "mcp"], "env": { "AGENTWATCH_DB": "/absolute/path/to/agentwatch.db" } } } }
Cursor (.cursor/mcp.json):
{
"mcpServers": { "agentwatch": { "command": "npx", "args": ["@nicofains1/agentwatch", "mcp"], "env": { "AGENTWATCH_DB": "/absolute/path/to/agentwatch.db" } } } }
This exposes 13 tools: agentwatch_dashboard, agentwatch_report_heartbeat, agentwatch_trace, agentwatch_cascade, agentwatch_replay, agentwatch_get_alerts, agentwatch_get_failures, agentwatch_get_trace, agentwatch_fleet_health, agentwatch_create_trace_id, agentwatch_alert, agentwatch_resolve_alert, agentwatch_dashboard_text.
const aw = new AgentWatch({
db_path: 'agentwatch.db', // SQLite file path alert_window_minutes: 30, // de-dup window for alerts heartbeat_stale_minutes: 30, // when to mark agents as offline });
aw.report(agent, status, context?) // status: 'healthy' | 'degraded' | 'error' | 'offline'
aw.getLatestHeartbeat(agent) // -> Heartbeat | undefined aw.getFleetHealth() // -> AgentHealth[]
aw.createTraceId() // -> string (UUID)
aw.trace(traceId, agent, action, input, output, { parentEventId?: number, status?: 'ok' | 'error', // default: 'ok' durationMs?: number, }) // -> TraceEvent aw.getTraceEvents(traceId) // -> TraceEvent[] aw.getRecentFailures(agent?, limit?) // -> TraceEvent[]
aw.correlate(failureEventId) // -> CascadeChain | null
aw.replay(traceId) // -> CascadeChain[]
aw.alert(agent, alertType, message)
aw.resolveAlert(alertId) aw.activeAlerts(agent?) // -> Alert[]
aw.dashboard() // -> DashboardOutput (structured)
aw.dashboardText() // -> string (formatted for terminal)
Requires optional peer deps @opentelemetry/api and @opentelemetry/sdk-trace-base.
await aw.exportTraceToOtel(traceId, { serviceName: 'my-agents' });
await aw.exportRecentToOtel(1); // last 1 hour
SQLite via better-sqlite3. The database file is created automatically on first use. WAL mode is on for concurrent reads.
Tables: heartbeats, trace_events, alerts.
MIT