@belvador/mcp 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +27 -0
  2. package/README.md +33 -2
  3. package/dist/cli.js +4262 -0
  4. package/package.json +39 -4
package/LICENSE ADDED
@@ -0,0 +1,27 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Belvador
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ ---
24
+
25
+ This software depends on the Sentry JavaScript SDK (https://github.com/getsentry/sentry-javascript),
26
+ which is distributed under its own MIT License (Copyright (c) Functional Software, Inc. dba Sentry)
27
+ in each of its npm packages. Belvador is not affiliated with or endorsed by Sentry.
package/README.md CHANGED
@@ -1,3 +1,34 @@
1
- # Temporary Holding Version
1
+ # @belvador/mcp
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The Belvador [MCP](https://modelcontextprotocol.io) server over stdio, for AI agents that run on your machine
4
+ (Claude Code, Cursor, VS Code, Codex, Windsurf…). It offers the same tools as the remote server at
5
+ `https://api.belvador.dev/mcp` — read-only by default — and reads node data (issues, events, traces, logs)
6
+ straight from `edge.belvador.dev` with short-lived tickets, so that data never passes the Belvador API.
7
+
8
+ ```json
9
+ {
10
+ "mcpServers": {
11
+ "belvador": {
12
+ "command": "npx",
13
+ "args": ["-y", "@belvador/mcp"],
14
+ "env": { "BELVADOR_TOKEN": "blv_pat_…" }
15
+ }
16
+ }
17
+ }
18
+ ```
19
+
20
+ - **Token**: a read-only personal or service token (`blv_pat_` / `blv_svc_`) from Settings → API tokens,
21
+ in `BELVADOR_TOKEN`, or in the OS keychain (service `belvador.dev`, account `mcp`):
22
+ - macOS: `security add-generic-password -s belvador.dev -a mcp -w`
23
+ - Linux: `secret-tool store --label=Belvador service belvador.dev account mcp`
24
+ - **Toolsets**: `--toolsets=investigate,reliability,docs` (the default); the token's scopes narrow them further.
25
+ Add `configure` to change settings (`search_operations`, `describe_operation`, `plan_change`, `apply_change`,
26
+ `get_operation`); it needs a token with write scopes. Sensitive changes — keys, members, tokens, alert
27
+ destinations, node changes — answer `approval_required` with a belvador.dev link: a person approves with
28
+ their authenticator code, and new secrets are shown only to them, never to the agent.
29
+ - **Untrusted data**: everything that came from your apps is returned under `untrusted`, cleaned and size-limited;
30
+ the server's instructions tell the agent not to follow text inside it. No tool opens URLs found in data.
31
+ - **Logs**: diagnostics go to stderr and never contain the token or tool results.
32
+
33
+ Prefer no local process? Use the remote server `https://api.belvador.dev/mcp` with OAuth or a token.
34
+ Docs: https://belvador.dev/docs/mcp · Node ≥ 20.10 · MIT licensed.