@belvador/mcp

中文文档
0.8.7发布于 2026/10/30MITES Module近 30 天下载 3500

Belvador MCP server over stdio: the same read-only tools as api.belvador.dev/mcp (issues, events, traces, logs, monitors, docs), with node data read straight from the edge.

原始使用文档

@belvador/mcp

The Belvador MCP server over stdio, for AI agents that run on your machine (Claude Code, Cursor, VS Code, Codex, Windsurf…). It offers the same tools as the remote server at https://api.belvador.dev/mcp — read-only by default — and reads node data (issues, events, traces, logs) straight from edge.belvador.dev with short-lived tickets, so that data never passes the Belvador API.

{
  "mcpServers": {
    "belvador": {
      "command": "npx",
      "args": ["-y", "@belvador/mcp"],
      "env": { "BELVADOR_TOKEN": "blv_pat_…" }
    }
  }
}
  • Token: a read-only personal or service token (blv_pat_ / blv_svc_) from Settings → API tokens, in BELVADOR_TOKEN, or in the OS keychain (service belvador.dev, account mcp):
    • macOS: security add-generic-password -s belvador.dev -a mcp -w
    • Linux: secret-tool store --label=Belvador service belvador.dev account mcp
  • Toolsets: --toolsets=investigate,reliability,docs (the default); the token's scopes narrow them further. Add configure to change settings (search_operations, describe_operation, plan_change, apply_change, get_operation); it needs a token with write scopes. Sensitive changes — keys, members, tokens, alert destinations, node changes — answer approval_required with a belvador.dev link: a person approves with their authenticator code, and new secrets are shown only to them, never to the agent.
  • Untrusted data: everything that came from your apps is returned under untrusted, cleaned and size-limited; the server's instructions tell the agent not to follow text inside it. No tool opens URLs found in data.
  • Logs: diagnostics go to stderr and never contain the token or tool results.

Prefer no local process? Use the remote server https://api.belvador.dev/mcp with OAuth or a token. Docs: https://belvador.dev/docs/mcp · Node ≥ 20.10 · MIT licensed.

版本与发布记录

@belvador/mcp 共发布 18 个版本,首次发布于 2026/10/27;过去 12 个月发布了 18 个版本。

版本发布日期距今
0.8.7latest2026/10/308 天前
0.8.62026/10/308 天前
0.8.52026/10/308 天前
0.8.42026/10/308 天前
0.8.32026/10/308 天前
0.8.22026/10/308 天前

关于 @belvador/mcp 的常见问题

@belvador/mcp 是什么?

Belvador MCP server over stdio: the same read-only tools as api.belvador.dev/mcp (issues, events, traces, logs, monitors, docs), with node data read straight from the edge.

如何安装 @belvador/mcp?

在项目目录运行 npm install @belvador/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 belvador-mcp,可以用 npx belvador-mcp 直接运行。

@belvador/mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/belvador__mcp 是否存在。

@belvador/mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@belvador/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.10。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@belvador/mcp 可以商用吗?

@belvador/mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@belvador/mcp 的下载量有多少?

根据 npm 官方下载统计,@belvador/mcp 在 2026/10/08 – 2026/11/06 这 30 天内被下载 3,500 次,日均约 117 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@belvador/mcp 还在维护吗?

最新版本 0.8.7 发布于 2026/10/30(8 天前);至今共发布 18 个版本,其中过去 12 个月发布了 18 个;首次发布于 2026/10/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。