@tryvira/mcp 0.1.42 → 0.1.43
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 +9 -5
- 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.43
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The package is a thin stdio MCP adapter over the public Vira API. It uses the
|
|
@@ -44,10 +44,14 @@ policy, evaluation, and release eligibility. The server does not bypass those ch
|
|
|
44
44
|
|
|
45
45
|
## What a client can discover
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
Version `0.1.43` exposes these API-backed tools: `list_capabilities`,
|
|
48
|
+
`list_semantic_tasks`, `list_behavior_points`, `list_behavior_programs`,
|
|
49
|
+
`list_behavior_strategies`, `resolve_semantic`, `resolve_runtime`,
|
|
50
|
+
`create_semantic_task`, `create_behavior_point`, `submit_teach_evidence`, and
|
|
51
|
+
`create_teach_proposal`. Pack installation/release and Strategy execution tools are
|
|
52
|
+
not included in this thin adapter release. Effectful tools require approval from
|
|
53
|
+
the configured authority endpoint and can be denied by scope, role, release state,
|
|
54
|
+
or policy.
|
|
51
55
|
|
|
52
56
|
## Minimal MCP client configuration
|
|
53
57
|
|
package/dist/cli.js
CHANGED
|
@@ -50,7 +50,7 @@ var authorize = async (tool, args) => {
|
|
|
50
50
|
const decision = await response.json().catch(() => null);
|
|
51
51
|
if (!response.ok || decision?.allowed !== true) throw new Error(decision?.reason ?? "MCP_AUTHORITY_DENIED");
|
|
52
52
|
};
|
|
53
|
-
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.
|
|
53
|
+
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.43" }, { capabilities: { tools: {} } });
|
|
54
54
|
for (const tool of tools) {
|
|
55
55
|
server.registerTool(tool.name, { description: tool.description, inputSchema: objectArgs }, async (raw) => {
|
|
56
56
|
const args = raw;
|