@tryvira/mcp 0.1.56 → 0.1.58

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @tryvira/mcp
1
+ # @tryvira/mcp 0.1.58
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.
package/dist/cli.js CHANGED
@@ -272,7 +272,7 @@ var authorize = async (tool, args) => {
272
272
  })).body;
273
273
  if (decision?.allowed !== true) throw new Error(decision?.reason ?? "MCP_AUTHORITY_DENIED");
274
274
  };
275
- var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.56" }, { capabilities: { tools: {} } });
275
+ var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira-behavior-control", version: "0.1.57" }, { capabilities: { tools: {} } });
276
276
  for (const tool of tools) {
277
277
  server.registerTool(tool.name, { description: tool.description, inputSchema: tool.inputSchema }, async (raw) => {
278
278
  const args = raw;
@@ -287,4 +287,6 @@ for (const tool of tools) {
287
287
  }
288
288
  });
289
289
  }
290
+ process.once("SIGTERM", () => process.exit(0));
291
+ process.once("SIGINT", () => process.exit(0));
290
292
  serveStdio(() => server);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/mcp",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "description": "Vira MCP client and npx-ready JSON-RPC launcher.",
5
5
  "keywords": [
6
6
  "vira",