Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Budget & cost control for AI agents — per-agent spend caps + rate limits before each call.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http gvnr https://gvnr.dev/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"gvnr": {
"url": "https://gvnr.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"gvnr": {
"type": "http",
"url": "https://gvnr.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 gvnr.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.8.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Recta
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Spend caps, rate coordination, idempotency, and a human-in-the-loop gate for AI agents — enforced before the call, not after the invoice. One MCP endpoint, settled via x402 (USDC on Base). No proxy, no self-hosting, no infrastructure to deploy.
Listed on the Official MCP Registry as dev.gvnr/gvnr.
Agents cost 10–12× more than estimated in production. System prompts, retry loops, and tool calls multiply fast — a runaway agent can generate a $47,000 bill in 11 days. The usual fix, self-hosting a gateway like LiteLLM, means running infrastructure most developers won't set up.
Gvnr is the hosted alternative: an external authority your agent checks before it spends. Your agent asks "am I clear to make this call?" and acts on the answer.
Gvnr is not an LLM proxy — your tokens never pass through it, and you pay your model provider directly. Gvnr governs the *decision to spend*, in two independent meters:
1. The governance-operation quota — what you buy from Gvnr. Your account holds a balance of governance operations (operations_remaining). One budget_clear burns one op. You top this up with USDC; it's decoupled from your LLM spend. get_balance reports it.
2. The spend envelope — a USD cap *you* set, per agent. set_envelope(agent_id, limit_usd, window) gives an agent a daily or per-session USD ceiling. Gvnr tracks estimated spend against it and denies once it's exceeded — this is the runaway guardrail. No dollars move; it's an accounting limit you control.
A budget_clear is approved only when both hold: the account has ops left in the quota, and the agent is under its envelope. The loop:
budget_clear(agent_id, model, estimated_tokens) before each LLM request.{ approved: true, ... } or { approved: false, reason }.request_approval).reconcile(...) with the real token counts so the envelope tracks actual cost, not the estimate.curl -X POST https://gvnr.dev/v1/account
New accounts include 25 free trial ops — enough to run the full loop (set an envelope, budget_clear, reconcile) before you fund anything. Your api_key is the credential for every call; account_id is just an internal reference for support. Account creation is credential-only by design (agent-native) — email is optional, set separately via POST /v1/account/notification-email, and used only for human approval notices.
Pay-as-you-go: 1,000 ops per $1, any amount (try the whole rail for $1), USDC on Base. Open the pay page, name your amount, and pass your API key:
https://gvnr.dev/pay?usd=1&api_key=bg_YOUR_KEY
Send USDC to the address shown and paste your tx hash — ops are credited proportional to the amount received, after on-chain verification. Programmatic clients can submit the hash directly:
curl -X POST \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"tx_hash":"0x..."}' \ https://gvnr.dev/v1/account/topup-verify
Or settle in one round-trip with an x402 client (Base MCP, AgentKit, x402-fetch) — name your own amount:
POST https://gvnr.dev/v1/account/topup?usd=5 # → 402 challenge → pay → 5,000 ops credited
curl -X PUT \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","limit_usd":5,"window":"daily"}' \ https://gvnr.dev/v1/budget/envelope
curl -X PUT \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","provider":"anthropic","model":"claude-sonnet-4-6","requests_per_minute":30}' \ https://gvnr.dev/v1/rate/envelope
budget_clear, then rate_checkcurl -X POST \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","model":"claude-sonnet-4-6","estimated_tokens":2000}' \ https://gvnr.dev/v1/budget/clear
curl -X POST \ -H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","provider":"anthropic","model":"claude-sonnet-4-6"}' \ https://gvnr.dev/v1/rate/check
idempotency_checkcurl -X POST \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"key":"job-abc-123","ttl_seconds":3600}' \ https://gvnr.dev/v1/idempotency/check
curl -X POST \
-H "Authorization: Bearer bg_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","actual_input_tokens":1800,"actual_output_tokens":2400}' \ https://gvnr.dev/v1/budget/reconcile
reconcile adjusts the spend envelope by the drift between your estimate and actual cost (the op quota is untouched). You don't pass the model again — reconcile reuses the one from your prior budget_clear. Anthropic, OpenAI, and Gemini all return usage fields with real token counts — pass those in to keep the envelope honest.
When an agent hits a denial or a sensitive action, pause for a human instead of failing:
# 1. Open a request — returns an approval_id and a mobile-friendly approval_url
curl -X POST -H "Authorization: Bearer bg_YOUR_KEY" -H "Content-Type: application/json" \ -d '{"agent_id":"my-agent","action_summary":"Spend $40 on a research run","ttl_seconds":3600}' \ https://gvnr.dev/v1/approval/request
curl -H "Authorization: Bearer bg_YOUR_KEY" \ https://gvnr.dev/v1/approval/check/APPROVAL_ID
The agent proceeds on approved, skips on denied, and handles timeout (no decision before expires_at) however it likes.
Add to Claude Desktop or any MCP-compatible client:
https://gvnr.dev/mcp?api_key=bg_YOUR_KEY
claude mcp add gvnr --transport http \
"https://gvnr.dev/mcp?api_key=bg_YOUR_KEY"
| Tool | Description |
|---|---|
budget_clear(agent_id, model, estimated_tokens) | Check clearance against the op quota + spend envelope; burns one op |
set_envelope(agent_id, limit_usd, window?) | Create or update an agent's USD spend cap |
get_balance() | Remaining governance-operation quota (operations_remaining) |
reconcile(agent_id, actual_input_tokens, actual_output_tokens) | Apply estimate-vs-actual drift to the spend envelope after the LLM responds |
set_rate_envelope(agent_id, provider, model, requests_per_minute) | Allocate a per-(agent, provider, model) rate share |
rate_check(agent_id, provider, model) | Approve or deny against the rate envelope; returns retry_after_ms on denial |
idempotency_check(key, ttl_seconds?) | Dedupe retries on a caller-supplied key; returns is_first_call |
request_approval(agent_id, action_summary, ttl_seconds?) | Open a human-in-the-loop approval request; returns an approval_id |
check_approval(approval_id) | Poll an approval: pending / approved / denied / timeout |
All endpoints except POST /v1/account require Authorization: Bearer bg_YOUR_KEY.
TypeScript users: generate full types from the live OpenAPI spec — npx openapi-typescript@latest https://gvnr.dev/openapi.json -o types/gvnr.d.ts. See TYPESCRIPT.md for the integration pattern (typed fetch, x402 topups, discriminated response unions).
| Method | Path | Description |
|---|---|---|
POST | /v1/account | Provision account — returns api_key |
GET | /v1/account/balance | Remaining governance-op quota (operations_remaining) |
GET | /v1/packs/:pack/info | Public — preset details, USDC address, raw amount |
POST | /v1/account/topup-verify/:pack | Submit tx hash → verify on-chain → credit (proportional to amount received) |
POST | /v1/account/topup?usd= | x402-gated pay-as-you-go top-up — name your amount (min $1, max $100) |
POST | /v1/account/topup/:pack | x402-gated preset top-up (machine clients) |
| Method | Path | Description |
|---|---|---|
POST | /v1/budget/clear | Clearance call — approve or deny |
POST | /v1/budget/reconcile | Apply estimate-vs-actual drift to the envelope |
PUT | /v1/budget/envelope | Create or update agent spend cap |
GET | /v1/budget/envelope/:agent_id | Read envelope state |
DELETE | /v1/budget/envelope/:agent_id | Delete an agent's envelope |
| Method | Path | Description |
|---|---|---|
PUT | /v1/rate/envelope | Set a per-(agent, provider, model) RPM share |
POST | /v1/rate/check | Runtime rate check — allowed flag, retry_after_ms on denial |
POST | /v1/idempotency/check | Dedupe on a caller-supplied key — is_first_call |
POST | /v1/approval/request | Open a human approval request — returns approval_id |
GET | /v1/approval/check/:approval_id | Poll decision: pending / approved / denied / timeout |
{ "approved": true, "remaining_usd": 4.994, "operations_remaining": 18999 }
{ "approved": false, "remaining_usd": 0, "reason": "envelope_exceeded" }
Denial reasons: no_credits (op quota exhausted) · no_envelope (agent has no envelope) · envelope_exceeded
A denial is not an HTTP error — it's a 200 with a flag, so check the body, not the status:
| Situation | HTTP | Body | |
|---|---|---|---|
budget_clear / rate_check allow or deny | 200 | `{ approved/allowed: true \ | false, ... }` |
| Top-up requires payment | 402 | x402 challenge (in the payment-required header; see Billing) | |
| Missing / invalid API key | 401 | { error } |
| Per-IP account-creat
只显示了开头部分;其余内容请在仓库中阅读