NitroWatch Billing Demo
A demo MCP server exposing billing operations (invoices, customers) with no built-in safety, designed as a test target for NitroWatch governance. It allows reading, sending, archiving, and permanently deleting accounts/invoices without confirmation.
README
NitroWatch Billing Demo
An intentionally ungoverned MCP server. This is the thing that needs governing.
This is the companion demo target for NitroWatch — a governance layer for MCP.
This server has no safety of its own. Every tool below does exactly what it is told, immediately, for anyone who asks. delete_account will permanently destroy an account and all of its invoices without a single confirmation.
That is the point. It is indistinguishable from thousands of real MCP servers — and that is exactly why NitroWatch exists.
The tools
Five tools, chosen so one lands on each of NitroWatch's risk tiers:
| Tool | Effect | NitroWatch classifies it as |
|---|---|---|
get_invoice |
Fetch one invoice | read — runs freely |
list_invoices |
List invoices, optionally by account | read — runs freely |
send_invoice |
Emails an invoice, marks it sent | reversible — gated, can earn autonomy |
archive_customer |
Archives an account | unmatched → defaults to reversible |
delete_account |
Permanently deletes an account and purges its invoices | irreversible — gated forever |
Why archive_customer is the interesting one
Nothing in its name or description reveals that archived accounts here are purged after 30 days and cannot be restored. It reads as recoverable. No classifier — heuristic or LLM — could know otherwise.
That is precisely the case NitroWatch's set_tier exists for: a human who knows the domain corrects the classification, and the override is recorded in the audit trail.
Running it
npm install
npm run build
npx nitrostack-cli start --port 3100
⚠️ Use the
--portflag. ThePORTenvironment variable is silently ignored — the server binds 3000 regardless, which collides with NitroWatch. This is tested behaviour, not a guess.
When it's up you'll see:
Legacy SDK SSE http://localhost:3100/sse
Streamable HTTP http://localhost:3100/mcp
Putting it under governance
From NitroWatch:
register_server({ name: "Billing API", endpoint: "http://localhost:3100/sse" })
discover_capabilities({ serverId: "billing-api" })
classify_tools({ serverId: "billing-api" })
Then try to delete something, and watch it get stopped:
request_action({
serverId: "billing-api",
toolName: "delete_account",
args: { accountId: "acc_991", purgeInvoices: true }
})
// → { decision: "blocked", tier: "irreversible", ... }
Note on deployment: if you run NitroWatch from NitroCloud rather than locally, it cannot reach
localhoston your machine — the cloud instance resolves its own localhost. Either run both locally, or deploy this server too and register its public URL.
Seed data
Two accounts and three invoices, held in memory. A restart resets everything — convenient when you have just deleted an account to prove a point.
| Account | Invoices |
|---|---|
acc_991 Acme Manufacturing |
inv_2214 ₹48,200 draft · inv_2215 ₹12,750 draft |
acc_882 Vertex Logistics |
inv_2216 ₹96,000 paid |
Built with
NitroStack TypeScript SDK — NitroStack × SRM Hackathon 2026.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。