@tryvira/mcp 0.1.78 → 0.1.90
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 +15 -4
- package/dist/cli.js +863 -131
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @tryvira/mcp 0.1.
|
|
1
|
+
# @tryvira/mcp 0.1.90
|
|
2
2
|
|
|
3
3
|
An MCP server for connecting MCP-compatible applications to Vira's governed AI
|
|
4
4
|
behavior and runtime APIs. The package is MIT licensed.
|
|
@@ -8,7 +8,7 @@ An npx-ready MCP server for Vira's existing scoped authority boundary.
|
|
|
8
8
|
## Run it
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npx -y @tryvira/mcp@
|
|
11
|
+
npx -y @tryvira/mcp@latest
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The package is a thin stdio MCP adapter over the public Vira API. It uses the
|
|
@@ -26,8 +26,17 @@ VIRA_API_KEY=vira_dev_local.local-development-only-32chars
|
|
|
26
26
|
VIRA_ORGANIZATION_ID=local-org
|
|
27
27
|
VIRA_PROJECT_ID=local-project
|
|
28
28
|
VIRA_ENVIRONMENT_ID=local
|
|
29
|
+
VIRA_ORGANIZATION_UNIT_ID=local-sales
|
|
29
30
|
```
|
|
30
31
|
|
|
32
|
+
MCP API calls allow up to 30 seconds per request by default. Set
|
|
33
|
+
`VIRA_MCP_API_TIMEOUT_MS` to a value from `1000` to `120000` when the connected
|
|
34
|
+
Control API needs a different request budget. The MCP adapter retries once for
|
|
35
|
+
safe reads and idempotency-keyed operations.
|
|
36
|
+
For projects linked to organization units, set `VIRA_ORGANIZATION_UNIT_ID` to
|
|
37
|
+
select an active unit membership. If the actor belongs to several linked units,
|
|
38
|
+
this selection is required.
|
|
39
|
+
|
|
31
40
|
For example, an MCP client configuration uses the same names:
|
|
32
41
|
|
|
33
42
|
```json
|
|
@@ -45,11 +54,13 @@ policy, evaluation, and release eligibility. The server does not bypass those ch
|
|
|
45
54
|
|
|
46
55
|
## What a client can discover
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
workflow tools cover connection, semantic resolution, TaskRuns, Teach, evaluation,
|
|
57
|
+
The current source exposes a compact, task-oriented public catalog. The first-class
|
|
58
|
+
workflow tools cover connection, semantic resolution, TaskRuns, compound plan persistence/readback, Teach, evaluation,
|
|
50
59
|
pack release and runtime projection. The remaining registered Control API operations
|
|
51
60
|
are available through `read_control_api` and `write_control_api`, so the catalog
|
|
52
61
|
does not duplicate every GET/POST route as a separate model-facing tool.
|
|
62
|
+
Organization-unit tools cover scoped hierarchy reads, membership management, and project bindings;
|
|
63
|
+
the API enforces owner and Department Admin limits on every request.
|
|
53
64
|
AI System/connection diagnostics, Behavior Programs and Strategies, Pack
|
|
54
65
|
evaluation/approval/revision/materialization, TaskRun readback and recovery,
|
|
55
66
|
observation and signal operations, Teach analysis/review, comparative
|