@auctra/mcp-gateway 0.1.12 → 0.1.13

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ Stage 0 MCP gateway adapter. Wrap MCP tool calls **and installs** with Auctra **
4
4
 
5
5
  **REQUIRE_MCP_GATEWAY:** Production orgs (Startup+) default `require_mcp_gateway=true`. MCP-shaped `action.execute` without this package’s stamp (`auctra_mcp_gateway`) is blocked. Set `AUCTRA_REQUIRE_MCP_GATEWAY=1` for a global fail-closed override.
6
6
 
7
- **Execution lease:** `gateMcpToolCall` / `withAuctraGate` require a consumed execution lease after ALLOW. A decision is not permission to run the tool. `AUCTRA_ALLOW_MCP_WITHOUT_LEASE=1` is an unsupported lab opt-out and is ignored when `NODE_ENV=production` or `AUCTRA_EXECUTION_LEASE_SECRET` is set. This package version is local until published.
7
+ **Before the gateway:** register the agent with a sponsor, issue authority for the tool's action type, and `createIntent`. Pass `claimedIntentId` and `intentAnchorToken`. A payment-shaped tool also needs provenance on the execute metadata. The full field list is `docs/onboarding/quick-start.md`. ALLOW still does not run the tool until the lease is consumed.
8
8
 
9
9
  ```ts
10
10
  import { Auctra } from "@auctra/sdk";
@@ -23,6 +23,8 @@ await gateMcpToolCall({
23
23
  agentId: "agent-uuid",
24
24
  toolName: "send_email",
25
25
  args: { to: "vendor@example.com" },
26
+ claimedIntentId: "intent-uuid",
27
+ intentAnchorToken: "anchor-token-from-createIntent",
26
28
  });
27
29
 
28
30
  const sendEmail = withAuctraGate({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auctra/mcp-gateway",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "MCP gateway — gate tool calls and MCP/skill installs through Auctra action.execute",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",