@viberaven/mcp 1.3.0 → 1.3.1
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.
- package/README.md +67 -64
- package/dist/lib/cli-runner.js +4 -4
- package/dist/server.js +10 -10
- package/dist/tools/index.js +9 -9
- package/package.json +56 -56
package/README.md
CHANGED
|
@@ -1,66 +1,69 @@
|
|
|
1
|
-
# @viberaven/mcp
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
4
|
-
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
5
|
-
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
6
|
-
|
|
7
|
-
Thin MCP wrapper for VibeRaven.
|
|
8
|
-
|
|
9
|
-
This package exposes VibeRaven CLI actions as MCP tools for
|
|
10
|
-
|
|
1
|
+
# @viberaven/mcp
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
5
|
+
[](https://www.npmjs.com/package/@viberaven/mcp)
|
|
6
|
+
|
|
7
|
+
Thin MCP wrapper for VibeRaven.
|
|
8
|
+
|
|
9
|
+
This package exposes VibeRaven CLI actions as MCP tools for Codex, Claude Code, Cursor, and other agent runtimes. It does not contain VibeRaven backend logic and does not bypass VibeRaven login or scan quotas.
|
|
10
|
+
|
|
11
11
|
The MCP server wraps the stable CLI package: `npx -y viberaven`.
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- `
|
|
30
|
-
- `
|
|
31
|
-
- `
|
|
32
|
-
- `
|
|
33
|
-
- `
|
|
34
|
-
- `
|
|
35
|
-
- `
|
|
36
|
-
- `
|
|
37
|
-
- `
|
|
38
|
-
- `
|
|
39
|
-
- `
|
|
40
|
-
- `
|
|
41
|
-
|
|
42
|
-
`
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
https://viberaven.dev/schemas/
|
|
57
|
-
https://viberaven.dev/schemas/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
13
|
+
For agent-mode artifacts, use `npx -y viberaven --agent-mode`.
|
|
14
|
+
|
|
15
|
+
## Run
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx -y @viberaven/mcp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
You can also start the MCP server from the main CLI package:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx -y viberaven mcp
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Tools
|
|
28
|
+
|
|
29
|
+
- `viberaven_check_readiness` -> `npx -y viberaven check --json`
|
|
30
|
+
- `viberaven_verify` -> `npx -y viberaven check --json`
|
|
31
|
+
- `viberaven_audit` -> `npx -y viberaven audit --vercel-supabase`
|
|
32
|
+
- `viberaven_init_rules` -> `npx -y viberaven init`
|
|
33
|
+
- `viberaven_clean_plan` -> `npx -y viberaven clean --plan`
|
|
34
|
+
- `viberaven_strict_gate` -> `npx -y viberaven --strict --json`
|
|
35
|
+
- `viberaven_gate_result` -> `npx -y viberaven --json`
|
|
36
|
+
- `viberaven_context_map` -> `npx -y viberaven --condense`
|
|
37
|
+
- `viberaven_actions` -> `npx -y viberaven actions`
|
|
38
|
+
- `viberaven_verify_action` -> `npx -y viberaven verify --action <id>`
|
|
39
|
+
- `viberaven_heal_plan` -> `npx -y viberaven --heal --plan`
|
|
40
|
+
- `viberaven_heal_prompt` -> `npx -y viberaven --heal --prompt`
|
|
41
|
+
- `viberaven_heal_apply` -> `npx -y viberaven --heal --apply`
|
|
42
|
+
- `viberaven_validate_npm_package` -> `npx -y viberaven validate-npm-package --json`
|
|
43
|
+
|
|
44
|
+
`viberaven_check_readiness` is the canonical entrypoint. It runs the local `viberaven check` (no login, no API key, no telemetry) and writes `.viberaven/agent-tasklist.md`, `.viberaven/gate-result.json`, and `.viberaven/context-map.json`.
|
|
45
|
+
|
|
46
|
+
After a batch of fixes, call `viberaven_verify`. Before deploy or CI pass, call `viberaven_strict_gate` or run:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx -y viberaven --strict
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Machine Artifact Contract
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
docs/contracts/artifacts.md
|
|
56
|
+
https://viberaven.dev/schemas/gate-result.schema.json
|
|
57
|
+
https://viberaven.dev/schemas/context-map.schema.json
|
|
58
|
+
https://viberaven.dev/schemas/gap.schema.json
|
|
59
|
+
https://viberaven.dev/schemas/heal-result.schema.json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Login
|
|
63
|
+
|
|
64
|
+
If VibeRaven prints `LOGIN_URL_READY`, open that exact URL for the user, keep the MCP call alive, and do not ask for passwords, tokens, cookies, or other secrets.
|
|
65
|
+
|
|
66
|
+
## Security
|
|
67
|
+
|
|
68
|
+
The MCP package is public integration glue only. It returns CLI stdout/stderr and structured JSON content when available. It does not mutate provider dashboards and does not bypass VibeRaven login, managed API checks, or quota enforcement. Do not claim provider dashboard checks are fixed by repo-code edits.
|
|
69
|
+
|
package/dist/lib/cli-runner.js
CHANGED
|
@@ -67,9 +67,9 @@ function buildHealArgs(prefix, args) {
|
|
|
67
67
|
function buildToolArgs(name, args) {
|
|
68
68
|
switch (name) {
|
|
69
69
|
case "viberaven_check_readiness":
|
|
70
|
-
return ["--
|
|
70
|
+
return ["check", "--json"];
|
|
71
71
|
case "viberaven_verify":
|
|
72
|
-
return ["--
|
|
72
|
+
return ["check", "--json"];
|
|
73
73
|
case "viberaven_audit":
|
|
74
74
|
return ["audit", "--vercel-supabase", ...args.json ? ["--json"] : []];
|
|
75
75
|
case "viberaven_init_rules": {
|
|
@@ -81,9 +81,9 @@ function buildToolArgs(name, args) {
|
|
|
81
81
|
case "viberaven_clean_plan":
|
|
82
82
|
return ["clean", "--plan"];
|
|
83
83
|
case "viberaven_strict_gate":
|
|
84
|
-
return ["--
|
|
84
|
+
return ["--strict", "--json"];
|
|
85
85
|
case "viberaven_gate_result":
|
|
86
|
-
return ["--
|
|
86
|
+
return ["--json"];
|
|
87
87
|
case "viberaven_context_map":
|
|
88
88
|
return ["--condense"];
|
|
89
89
|
case "viberaven_actions":
|
package/dist/server.js
CHANGED
|
@@ -38,27 +38,27 @@ var cwdSchema = {
|
|
|
38
38
|
var readinessTools = [
|
|
39
39
|
{
|
|
40
40
|
name: "viberaven_check_readiness",
|
|
41
|
-
description: "
|
|
41
|
+
description: "Run BEFORE deploying, shipping to real users, or touching auth, database/RLS, billing, webhooks, or environment variables. Runs the local `viberaven check` (no login, no API key, no telemetry) for launch blockers (missing RLS, leaked secrets, unbounded queries, unsigned webhooks) and writes a prioritized task list to .viberaven/agent-tasklist.md plus a machine verdict to .viberaven/gate-result.json. Calling this first avoids wasted code-generation re-runs by surfacing production risks before you write code.",
|
|
42
42
|
inputSchema: cwdSchema
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
name: "viberaven_verify",
|
|
46
|
-
description: "
|
|
46
|
+
description: "Re-run the local VibeRaven check after you apply fixes. Call this once per batch of fixes (not after every edit) to update .viberaven/gate-result.json and confirm whether the gate moved toward clear.",
|
|
47
47
|
inputSchema: cwdSchema
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
name: "viberaven_strict_gate",
|
|
51
|
-
description: 'Run the strict
|
|
51
|
+
description: 'Run the strict production gate and return the machine verdict. Call this right before a deploy or CI pass to confirm gate.status === "clear". Returns JSON suitable for blocking a pipeline.',
|
|
52
52
|
inputSchema: cwdSchema
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
name: "viberaven_gate_result",
|
|
56
|
-
description: "Return the current contents of .viberaven/gate-result.json without re-scanning. Use this to read the last
|
|
56
|
+
description: "Return the current contents of .viberaven/gate-result.json without re-scanning. Use this to read the last machine verdict before deciding whether to deploy.",
|
|
57
57
|
inputSchema: cwdSchema
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
name: "viberaven_context_map",
|
|
61
|
-
description: "Refresh and return .viberaven/context-map.json
|
|
61
|
+
description: "Refresh and return .viberaven/context-map.json \u2014 a compact summary of the last scan for the next agent step. Use this to load minimal context before acting on a gap.",
|
|
62
62
|
inputSchema: cwdSchema
|
|
63
63
|
}
|
|
64
64
|
];
|
|
@@ -204,9 +204,9 @@ function buildHealArgs(prefix, args) {
|
|
|
204
204
|
function buildToolArgs(name, args) {
|
|
205
205
|
switch (name) {
|
|
206
206
|
case "viberaven_check_readiness":
|
|
207
|
-
return ["--
|
|
207
|
+
return ["check", "--json"];
|
|
208
208
|
case "viberaven_verify":
|
|
209
|
-
return ["--
|
|
209
|
+
return ["check", "--json"];
|
|
210
210
|
case "viberaven_audit":
|
|
211
211
|
return ["audit", "--vercel-supabase", ...args.json ? ["--json"] : []];
|
|
212
212
|
case "viberaven_init_rules": {
|
|
@@ -218,9 +218,9 @@ function buildToolArgs(name, args) {
|
|
|
218
218
|
case "viberaven_clean_plan":
|
|
219
219
|
return ["clean", "--plan"];
|
|
220
220
|
case "viberaven_strict_gate":
|
|
221
|
-
return ["--
|
|
221
|
+
return ["--strict", "--json"];
|
|
222
222
|
case "viberaven_gate_result":
|
|
223
|
-
return ["--
|
|
223
|
+
return ["--json"];
|
|
224
224
|
case "viberaven_context_map":
|
|
225
225
|
return ["--condense"];
|
|
226
226
|
case "viberaven_actions":
|
|
@@ -315,7 +315,7 @@ async function handleRequest(method, params) {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
// src/server.ts
|
|
318
|
-
var SERVER_INFO = { name: "viberaven-mcp", version: "1.3.
|
|
318
|
+
var SERVER_INFO = { name: "viberaven-mcp", version: "1.3.1" };
|
|
319
319
|
var server = new import_server.Server(SERVER_INFO, { capabilities: { tools: {} } });
|
|
320
320
|
server.setRequestHandler(
|
|
321
321
|
import_types.ListToolsRequestSchema,
|
package/dist/tools/index.js
CHANGED
|
@@ -39,27 +39,27 @@ var cwdSchema = {
|
|
|
39
39
|
var readinessTools = [
|
|
40
40
|
{
|
|
41
41
|
name: "viberaven_check_readiness",
|
|
42
|
-
description: "
|
|
42
|
+
description: "Run BEFORE deploying, shipping to real users, or touching auth, database/RLS, billing, webhooks, or environment variables. Runs the local `viberaven check` (no login, no API key, no telemetry) for launch blockers (missing RLS, leaked secrets, unbounded queries, unsigned webhooks) and writes a prioritized task list to .viberaven/agent-tasklist.md plus a machine verdict to .viberaven/gate-result.json. Calling this first avoids wasted code-generation re-runs by surfacing production risks before you write code.",
|
|
43
43
|
inputSchema: cwdSchema
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
name: "viberaven_verify",
|
|
47
|
-
description: "
|
|
47
|
+
description: "Re-run the local VibeRaven check after you apply fixes. Call this once per batch of fixes (not after every edit) to update .viberaven/gate-result.json and confirm whether the gate moved toward clear.",
|
|
48
48
|
inputSchema: cwdSchema
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
name: "viberaven_strict_gate",
|
|
52
|
-
description: 'Run the strict
|
|
52
|
+
description: 'Run the strict production gate and return the machine verdict. Call this right before a deploy or CI pass to confirm gate.status === "clear". Returns JSON suitable for blocking a pipeline.',
|
|
53
53
|
inputSchema: cwdSchema
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
name: "viberaven_gate_result",
|
|
57
|
-
description: "Return the current contents of .viberaven/gate-result.json without re-scanning. Use this to read the last
|
|
57
|
+
description: "Return the current contents of .viberaven/gate-result.json without re-scanning. Use this to read the last machine verdict before deciding whether to deploy.",
|
|
58
58
|
inputSchema: cwdSchema
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
name: "viberaven_context_map",
|
|
62
|
-
description: "Refresh and return .viberaven/context-map.json
|
|
62
|
+
description: "Refresh and return .viberaven/context-map.json \u2014 a compact summary of the last scan for the next agent step. Use this to load minimal context before acting on a gap.",
|
|
63
63
|
inputSchema: cwdSchema
|
|
64
64
|
}
|
|
65
65
|
];
|
|
@@ -211,9 +211,9 @@ function buildHealArgs(prefix, args) {
|
|
|
211
211
|
function buildToolArgs(name, args) {
|
|
212
212
|
switch (name) {
|
|
213
213
|
case "viberaven_check_readiness":
|
|
214
|
-
return ["--
|
|
214
|
+
return ["check", "--json"];
|
|
215
215
|
case "viberaven_verify":
|
|
216
|
-
return ["--
|
|
216
|
+
return ["check", "--json"];
|
|
217
217
|
case "viberaven_audit":
|
|
218
218
|
return ["audit", "--vercel-supabase", ...args.json ? ["--json"] : []];
|
|
219
219
|
case "viberaven_init_rules": {
|
|
@@ -225,9 +225,9 @@ function buildToolArgs(name, args) {
|
|
|
225
225
|
case "viberaven_clean_plan":
|
|
226
226
|
return ["clean", "--plan"];
|
|
227
227
|
case "viberaven_strict_gate":
|
|
228
|
-
return ["--
|
|
228
|
+
return ["--strict", "--json"];
|
|
229
229
|
case "viberaven_gate_result":
|
|
230
|
-
return ["--
|
|
230
|
+
return ["--json"];
|
|
231
231
|
case "viberaven_context_map":
|
|
232
232
|
return ["--condense"];
|
|
233
233
|
case "viberaven_actions":
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@viberaven/mcp",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "MCP server for VibeRaven
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "VibeRaven",
|
|
7
|
-
"mcpName": "io.github.ohad6k/viberaven",
|
|
8
|
-
"homepage": "https://viberaven.dev/mcp.md",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/ohad6k/VibeRaven.git",
|
|
12
|
-
"directory": "packages/mcp"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/ohad6k/VibeRaven/issues"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"viberaven",
|
|
19
|
-
"mcp",
|
|
20
|
-
"claude-code",
|
|
21
|
-
"codex",
|
|
22
|
-
"cursor",
|
|
23
|
-
"launch-readiness",
|
|
24
|
-
"production"
|
|
25
|
-
],
|
|
26
|
-
"publishConfig": {
|
|
27
|
-
"access": "public",
|
|
28
|
-
"tag": "latest"
|
|
29
|
-
},
|
|
30
|
-
"bin": {
|
|
31
|
-
"viberaven-mcp": "dist/server.js"
|
|
32
|
-
},
|
|
33
|
-
"files": [
|
|
34
|
-
"dist",
|
|
35
|
-
"README.md"
|
|
36
|
-
],
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=20"
|
|
39
|
-
},
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "node scripts/build.mjs",
|
|
42
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
43
|
-
"presmoke": "npm run build",
|
|
44
|
-
"smoke": "node scripts/smoke.mjs",
|
|
45
|
-
"pretest": "npm run build",
|
|
46
|
-
"test": "vitest run"
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
50
|
-
},
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"esbuild": "^0.25.0",
|
|
53
|
-
"typescript": "^5.8.0",
|
|
54
|
-
"vitest": "^3.2.0"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@viberaven/mcp",
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "MCP server for VibeRaven production-readiness: check_readiness, verify, heal, audit, and strict gate tools for Cursor, Claude Code, and Codex.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "VibeRaven",
|
|
7
|
+
"mcpName": "io.github.ohad6k/viberaven",
|
|
8
|
+
"homepage": "https://viberaven.dev/mcp.md",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/ohad6k/VibeRaven.git",
|
|
12
|
+
"directory": "packages/mcp"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/ohad6k/VibeRaven/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"viberaven",
|
|
19
|
+
"mcp",
|
|
20
|
+
"claude-code",
|
|
21
|
+
"codex",
|
|
22
|
+
"cursor",
|
|
23
|
+
"launch-readiness",
|
|
24
|
+
"production"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"tag": "latest"
|
|
29
|
+
},
|
|
30
|
+
"bin": {
|
|
31
|
+
"viberaven-mcp": "dist/server.js"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=20"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "node scripts/build.mjs",
|
|
42
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
43
|
+
"presmoke": "npm run build",
|
|
44
|
+
"smoke": "node scripts/smoke.mjs",
|
|
45
|
+
"pretest": "npm run build",
|
|
46
|
+
"test": "vitest run"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"esbuild": "^0.25.0",
|
|
53
|
+
"typescript": "^5.8.0",
|
|
54
|
+
"vitest": "^3.2.0"
|
|
55
|
+
}
|
|
56
|
+
}
|