@tryvira/mcp 0.1.49 → 0.1.50
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 +2 -2
- package/dist/cli.js +1 -1
- package/package.json +2 -2
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.50
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The package is a thin stdio MCP adapter over the public Vira API. It uses the
|
|
@@ -45,7 +45,7 @@ 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.
|
|
48
|
+
Version `0.1.50` exposes API-backed tools including `list_packs`, `import_pack`,
|
|
49
49
|
`install_pack`, `release_pack`, `start_strategy_execution`, `list_host_tools`, and
|
|
50
50
|
`authorize_host_tool`, in addition to `list_capabilities`,
|
|
51
51
|
`list_semantic_tasks`, `list_behavior_points`, `list_behavior_programs`,
|
package/dist/cli.js
CHANGED
|
@@ -119,7 +119,7 @@ var authorize = async (tool, args) => {
|
|
|
119
119
|
const decision = await response.json().catch(() => null);
|
|
120
120
|
if (!response.ok || decision?.allowed !== true) throw new Error(decision?.reason ?? "MCP_AUTHORITY_DENIED");
|
|
121
121
|
};
|
|
122
|
-
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.
|
|
122
|
+
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.50" }, { capabilities: { tools: {} } });
|
|
123
123
|
for (const tool of tools) {
|
|
124
124
|
server.registerTool(tool.name, { description: tool.description, inputSchema: tool.inputSchema }, async (raw) => {
|
|
125
125
|
const args = raw;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryvira/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "Vira MCP client and npx-ready JSON-RPC launcher.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vira",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modelcontextprotocol/server": "^2.4.0",
|
|
40
|
-
"@tryvira/sdk": "^0.1.
|
|
40
|
+
"@tryvira/sdk": "^0.1.53",
|
|
41
41
|
"zod": "^4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|