Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Track and query EzStat metrics from Claude, Cursor, or any MCP agent. StatHat-compatible.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
EZSTAT_API_KEY, EZSTAT_BASE_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ezstat": {
"command": "npx",
"args": [
"-y",
"ezstat-mcp-server"
],
"env": {
"EZSTAT_API_KEY": "your-value",
"EZSTAT_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ezstat --env EZSTAT_API_KEY=your-value --env EZSTAT_BASE_URL=your-value -- npx -y ezstat-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ezstat": {
"command": "npx",
"args": [
"-y",
"ezstat-mcp-server"
],
"env": {
"EZSTAT_API_KEY": "your-value",
"EZSTAT_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ezstat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ezstat-mcp-server"
],
"env": {
"EZSTAT_API_KEY": "your-value",
"EZSTAT_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
EZSTAT_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 ezstat.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:EZSTAT_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, yontu
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A standalone Model Context Protocol server for EzStat. Let Claude / Cursor / any MCP-compatible agent push and read your metrics natively — no copy-paste, no dashboard hop. This is the product behind the "metrics your agents write and read themselves" positioning: every agent that touches your code can also touch your observability.
The server speaks stdio (the standard transport for local agent runners) and — as a hosted endpoint at `https://mcp.ezstat.dev` — streamable HTTP, exposing the same seven focused tools. Each tool description is written for an agent audience so the model knows when to call it.
Agents can connect to the hosted streamable-HTTP endpoint with nothing but an EzStat API key — no npm install, no local process:
{
"mcpServers": { "ezstat": { "type": "http", "url": "https://mcp.ezstat.dev", "headers": { "Authorization": "Bearer ezkey_your_api_key_here" } } } }
Authorization: Bearer ; the server holds no key of its own and each connection only ever sees its own account.initialize and tools/list work without a key, so clients and registry inspectors can introspect the tool surface before you configure anything.This hosted endpoint also satisfies the requirements for hosted/remote listings on MCP registries (e.g. Smithery's hosted-server path) — see server.json's remotes entry.
The stdio transport below remains fully supported and is still the right choice when you want the server running locally under your own runner.
| Tool | What it does |
|---|---|
track_metric | Record a metric point your app "produced" — counter (+N, default +1) or gauge (e.g. 42.5 ms). |
ask_ezstat | Ask a natural-language question about your metrics (the agent-read path). |
read_stat | Structured read of a stat: latest value + series + summary (count/min/max/avg/sum) for a window. |
list_stats | List the account's metrics (names + types + description). |
create_alert | Create a webhook alert on a stat (threshold / %-change / heartbeat / sustained). |
list_alerts | List the account's alerts (id, stat, condition, channel, enabled, last fire). |
delete_alert | Delete an alert by id. |
Tool descriptions are tuned for agent reasoning — see src/server.ts.
# pnpm
pnpm add -g ezstat-mcp-server
npm install -g ezstat-mcp-server
Claude Desktop (~/.config/Claude/claude_desktop_config.json on macOS/Linux, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": { "ezstat": { "command": "ezstat-mcp-server", "env": { "EZSTAT_API_KEY": "ezkey_your_api_key_here" } } } }
Cursor (~/.cursor/mcp.json):
{
"mcpServers": { "ezstat": { "command": "ezstat-mcp-server", "env": { "EZSTAT_API_KEY": "ezkey_your_api_key_here" } } } }
Get your API key from https://ezstat.dev (it's the "ezkey").
npx -y @smithery/cli install ezstat-mcp-server --client claude
Or visit https://smithery.ai/server/ezstat-mcp-server and click Install.
EzStat is a dead-simple hosted metrics service: one HTTP POST in, a live chart out. No SDK, no collector daemon, no YAML, no dashboard builder. Counters and value/gauge stats auto-create on first POST; charts, share/embed, and CSV/JSON export are built in, and Ask-Your-Data (live) answers plain-English questions from your own metrics, with every number verified against the retrieved data before it reaches you.
Flat monthly pricing by tracked stats — $19 / $49 / $149 — plus a card-gated free tier (no charge; see your data live before paying). Your data is yours: export any time, cancel any time. Anomaly detection and metric correlations are live. Features that are not shipped yet (alerts, weekly digest) are marked *coming soon* on the site rather than sold — what you see live is what works.
If your api.stathat.com calls stopped and your dashboards went dark: EzStat speaks StatHat's wire format — the same /ez, /c, /v endpoints, same params, same response. The migration is usually one line:
# before
curl -X POST https://api.stathat.com/ez -d "stat=messages sent" -d "ezkey=KEY" -d "count=1"
curl -X POST https://api.ezstat.dev/ez -d "stat=messages sent" -d "ezkey=EZSTAT_KEY" -d "count=1"
One gotcha, and it is the important one: check the response BODY, not the status code. Because the wire format is StatHat's, a *rejected* write (stale key, wrong key, quota hit) still returns HTTP 200, with the verdict in the body — {"status":200,"msg":"ok"} means recorded, {"status":"error","msg":"..."} means it was not. An unmodified StatHat client reports those as successes while your charts keep rendering old data, so nothing looks broken. New code should send X-EzStat-Strict: 1 on /ez and get real HTTP status codes instead. (This server already does the right thing: it treats an error body as a failure regardless of the HTTP code.) After switching, confirm points are *arriving* with ezstat.dev/tools/ezstat-verify.py — documented at ezstat.dev/docs#verify.
Most StatHat client libraries take a base-URL override in one line. Saved a StatHat CSV/JSON export? The importer recreates your stats and backfills history (8 MB / 500k points per file). Full guide: docs/stathat-migration.md · ezstat.dev/migrate/stathat — including the migrator deal: free tier to see it live first, a 12-month price-lock, and white-glove import for the first 25 migrations.
Your coding agent deploys, tests, and ships — it should also be the one tracking and reading the numbers. That's this server: metrics your agents write and read themselves. The reasoning: docs/agent-native-metrics.md · comparison with StatHat/StatFlow/Datadog: ezstat.dev/vs.
| Variable | Required | Default | Notes |
|---|---|---|---|
EZSTAT_API_KEY | yes | — | Your EzStat API key (the "ezkey"). Never hardcode. Never log. |
EZSTAT_BASE_URL | no | https://api.ezstat.dev | Override for staging / self-hosted. |
EZSTAT_TIMEOUT_MS | no | 10000 | Per-request timeout in milliseconds. |
EZSTAT_INGEST_PATH | no | /api/ez | Override if you proxy the EZ endpoint. |
EZSTAT_QUERY_PATH | no | /api/v1/query | Ask-Your-Data path. |
EZSTAT_STATS_LIST_PATH | no | /api/v1/stats | Stats list path. |
A starter .env.example is shipped.
The tools map to real EzStat API routes (all auth by EzStat API key):
| Tool | Method | Path | Auth |
|---|---|---|---|
track_metric | POST | /api/ez | ezkey in JSON body |
ask_ezstat | POST | /api/v1/query | Authorization: Bearer |
read_stat | GET | /api/v1/stats/:name | Authorization: Bearer |
list_stats | GET | /api/v1/stats | Authorization: Bearer |
create_alert | POST | /api/v1/alerts | Authorization: Bearer |
list_alerts | GET | /api/v1/alerts | Authorization: Bearer |
delete_alert | DELETE | /api/v1/alerts/:id | Authorization: Bearer |
track_metric calls the StatHat-compatible EZ ingest ({"ezkey","stat","count"?,"value"?,"t"?}). Counter semantics: omit both count and value to record count=1 (counter +1).ask_ezstat calls Ask-Your-Data ({"query":"..."} → {answer, data, intent, ...}). This is the agent read path — count it as an agent read for usage tracking.read_stat returns the stat's recent series + summary; pass from/to (Unix seconds, converted to ISO 8601 at the HTTP boundary) to bound the window. The bucket width is auto-derived from the requested span (≤6h → minute, ≤7d → hour, >7d → day).list_stats returns the account's stats; pass type to filter to counter or value.pnpm install
pnpm build # tsc → dist/ pnpm start # node dist/index.js (stdio MCP server) pnpm test # vitest run — fully mocked network, no real HTTP pnpm dev # tsx watch src/index.ts
pnpm start requires EZSTAT_API_KEY to be set; the server exits with a clear error otherwise (and never logs the key).
EZSTAT_API_KEY — never hardcoded, never printed.code (unauthorized, rate_limited, timeout, not_found, server_error, ...) and a human-readable message safe to relay.For Smithery / mcp.so / Glama listings:
ezstat-mcp-server0.8.0stdio (local) + streamable-http (hosted at https://mcp.ezstat.dev)The mcp block in package.json carries the same metadata so registry crawlers pick it up.
npx -y @smithery/cli publish (or submit via the web UI). The shipped smithery.yaml provides the install schema.The package is not published to npm automatically — publish manually after a release review.
MIT.