@tryvira/mcp 0.1.54 → 0.1.55
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 +7 -8
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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@0.1.
|
|
11
|
+
npx -y @tryvira/mcp@0.1.55
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The package is a thin stdio MCP adapter over the public Vira API. It uses the
|
|
@@ -45,13 +45,12 @@ policy, evaluation, and release eligibility. The server does not bypass those ch
|
|
|
45
45
|
|
|
46
46
|
## What a client can discover
|
|
47
47
|
|
|
48
|
-
Version `0.1.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
`create_teach_proposal`. Host tools are not hardcoded: a host may provide
|
|
48
|
+
Version `0.1.55` exposes the complete public lifecycle tool catalog, including
|
|
49
|
+
AI System/connection diagnostics, Behavior Programs and Strategies, Pack
|
|
50
|
+
evaluation/approval/revision/materialization, TaskRun readback and recovery,
|
|
51
|
+
observation and signal operations, Teach analysis/review, comparative
|
|
52
|
+
evaluation, runtime verification, trace search, and host authorization. Host
|
|
53
|
+
tools are not hardcoded: a host may provide
|
|
55
54
|
`VIRA_HOST_TOOL_DEFINITIONS` as a JSON catalog. Each entry must include an
|
|
56
55
|
`actionDefinition` binding (`stableKey`, `version`, `argumentSchemaDigest`, `hostKey`, and
|
|
57
56
|
`hostActionName`). `authorize_host_tool` matches the requested `toolName` and proposal's
|
package/dist/cli.js
CHANGED
|
@@ -204,7 +204,7 @@ var authorize = async (tool, args) => {
|
|
|
204
204
|
const decision = await response.json().catch(() => null);
|
|
205
205
|
if (!response.ok || decision?.allowed !== true) throw new Error(decision?.reason ?? "MCP_AUTHORITY_DENIED");
|
|
206
206
|
};
|
|
207
|
-
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.
|
|
207
|
+
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.55" }, { capabilities: { tools: {} } });
|
|
208
208
|
for (const tool of tools) {
|
|
209
209
|
server.registerTool(tool.name, { description: tool.description, inputSchema: tool.inputSchema }, async (raw) => {
|
|
210
210
|
const args = raw;
|