@1claw/mcp 0.59.4 → 0.59.6

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 +13 -11
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,16 +1,18 @@
1
1
  # @1claw/mcp
2
2
 
3
+ > ⭐ **Star [1clawAI/agent-templates](https://github.com/1clawAI/agent-templates)** — ready-to-run agent templates wired to 1Claw. It is our single starred repo.
4
+
3
5
  <!-- mcp-name: io.github.1clawAI/1claw-mcp -->
4
6
 
5
- Connect Cursor, Claude Desktop, VS Code, or any MCP client to your [1claw](https://1claw.xyz) vault. The server exposes tools for secrets, signing, execution bindings, memory, automations, and more. Values are fetched at call time and are not cached in the model's context beyond the moment they are used.
7
+ Connect Cursor, Claude Desktop, VS Code, or any MCP client to your [1claw](https://1claw.co) vault. The server exposes tools for secrets, signing, execution bindings, memory, automations, and more. Values are fetched at call time and are not cached in the model's context beyond the moment they are used.
6
8
 
7
- Most teams use this instead of copying API keys into agent prompts or MCP config files. You register an agent, grant policy access to specific secret paths, and point the client at `mcp.1claw.xyz` or a local stdio process. The server handles JWT exchange and refresh from a single `ocv_` key.
9
+ Most teams use this instead of copying API keys into agent prompts or MCP config files. You register an agent, grant policy access to specific secret paths, and point the client at `mcp.1claw.co` or a local stdio process. The server handles JWT exchange and refresh from a single `ocv_` key.
8
10
 
9
11
  **Local-only mode:** Run without vault credentials for the security inspection tools only (e.g. `inspect_content`). Useful with Ollama or LM Studio when you want injection detection without a 1claw account.
10
12
 
11
13
  **Local daemon mode:** Point at the local 1claw daemon (`ONECLAW_LOCAL_VAULT=true`) so secrets never leave your machine. The daemon injects credentials into outbound HTTP requests; the model never sees the raw value.
12
14
 
13
- **API contract:** Vault tools use the REST API from [@1claw/openapi-spec](https://www.npmjs.com/package/@1claw/openapi-spec). LLM traffic through Shroud is separate: agents call `https://shroud.1claw.xyz` with `X-Shroud-Agent-Key` and **`X-Shroud-Provider`** (required; e.g. `openai`). When the MCP server exchanges an agent API key for a JWT, that token may carry **`shroud_config`** for Shroud's PolicyEngine; MCP itself does not proxy LLM requests.
15
+ **API contract:** Vault tools use the REST API from [@1claw/openapi-spec](https://www.npmjs.com/package/@1claw/openapi-spec). LLM traffic through Shroud is separate: agents call `https://shroud.1claw.co` with `X-Shroud-Agent-Key` and **`X-Shroud-Provider`** (required; e.g. `openai`). When the MCP server exchanges an agent API key for a JWT, that token may carry **`shroud_config`** for Shroud's PolicyEngine; MCP itself does not proxy LLM requests.
14
16
 
15
17
  ## Transport Modes
16
18
 
@@ -19,7 +21,7 @@ The server supports two transport modes:
19
21
  | Mode | Use case | Auth |
20
22
  | ------------------- | ------------------------------ | -------------------------------------------------------------------- |
21
23
  | **stdio** (default) | Local — Claude Desktop, Cursor | Env: `ONECLAW_AGENT_API_KEY` (recommended; auto-discovers agent + vault) or `ONECLAW_AGENT_ID` + key; or `ONECLAW_AGENT_TOKEN` + `ONECLAW_VAULT_ID` |
22
- | **httpStream** | Hosted at `mcp.1claw.xyz` | Per-request headers: `Authorization: Bearer <token>`, `X-Vault-ID` |
24
+ | **httpStream** | Hosted at `mcp.1claw.co` | Per-request headers: `Authorization: Bearer <token>`, `X-Vault-ID` |
23
25
 
24
26
  Set `MCP_TRANSPORT=httpStream` and `PORT=8080` to run in hosted mode.
25
27
 
@@ -27,7 +29,7 @@ Set `MCP_TRANSPORT=httpStream` and `PORT=8080` to run in hosted mode.
27
29
 
28
30
  **Agent environment auto-resolve (v0.52):** When an agent is tagged with `environment` and `env_auto_resolve: true`, the `resolve_env` tool can omit `environment` and the Vault API uses the agent's tag from the JWT. Org setting `env.enforce_agent_environment_scope` blocks agents from resolving vars outside their tagged environment.
29
31
 
30
- **Policy engine v0.53:** Access policies support `policy_schema_version: 2` with expression-based `tx_conditions.expression` (mini DSL), expanded control-plane `action_kind_in` consensus triggers, and multi-chain deep decode (Solana, Bitcoin, Tron) for signing-time policy evaluation. TEE attestation is available at `GET https://shroud.1claw.xyz/v1/shroud/attestation` (returns `attestation_level`: `none` | `identity` | `confidential` | `sev_snp` plus `confidential_claims`); audit chain verification at `GET /v1/audit/verify`.
32
+ **Policy engine v0.53:** Access policies support `policy_schema_version: 2` with expression-based `tx_conditions.expression` (mini DSL), expanded control-plane `action_kind_in` consensus triggers, and multi-chain deep decode (Solana, Bitcoin, Tron) for signing-time policy evaluation. TEE attestation is available at `GET https://shroud.1claw.co/v1/shroud/attestation` (returns `attestation_level`: `none` | `identity` | `confidential` | `sev_snp` plus `confidential_claims`); audit chain verification at `GET /v1/audit/verify`.
31
33
 
32
34
  **Graduated HITL (v0.54–0.55):** Agent guardrail fields include `tx_approval_policy` (graduated tx thresholds → **202** `awaiting_approval`), `typed_data_policy`, `simulation_failure_policy`, and `raw_signing_policy` (`deny` or route to HITL via `approve`). Extended v0.55 fields: `tx_block_unlimited_approvals`, per-recipient limits, USD caps, `allow_erc4337`, `allow_eip7702`. Humans approve via dashboard or API; org freeze at `POST /v1/org/freeze`.
33
35
 
@@ -61,7 +63,7 @@ pnpm run build
61
63
  | `ONECLAW_AGENT_TOKEN` | stdio* | — | **Legacy.** Static Bearer JWT (expires in ~1 h, no auto-refresh). |
62
64
  | `ONECLAW_VAULT_ID` | No | — | UUID of the vault. Auto-discovered when using `ONECLAW_AGENT_API_KEY`. |
63
65
  | `ONECLAW_DPOP` | No | `false` | Set to `true` to enable DPoP (RFC 9449) proof-of-possession. Binds agent tokens to the MCP client's ephemeral P-256 keypair so stolen tokens are unusable without the matching private key. |
64
- | `ONECLAW_BASE_URL` | No | `https://api.1claw.xyz` | Vault API base URL. Intents tools (`simulate_transaction`, `submit_transaction`, etc.) call this host; for TEE signing, point it at **Shroud** or **Intents** (e.g. `https://shroud.1claw.xyz` or `https://intents.1claw.xyz`) if your deployment routes signing there. **Required when the agent has `intents_require_tee` or `execution_require_tee` enabled** — those flags reject direct Vault calls (403), so `ONECLAW_BASE_URL` must point to Shroud. Self-hosted: your Vault/Shroud URL. |
66
+ | `ONECLAW_BASE_URL` | No | `https://api.1claw.co` | Vault API base URL. Intents tools (`simulate_transaction`, `submit_transaction`, etc.) call this host; for TEE signing, point it at **Shroud** or **Intents** (e.g. `https://shroud.1claw.co` or `https://intents.1claw.co`) if your deployment routes signing there. **Required when the agent has `intents_require_tee` or `execution_require_tee` enabled** — those flags reject direct Vault calls (403), so `ONECLAW_BASE_URL` must point to Shroud. Self-hosted: your Vault/Shroud URL. |
65
67
  | `MCP_TRANSPORT` | No | `stdio` | Transport mode: `stdio` or `httpStream`. |
66
68
  | `PORT` | No | `8080` | HTTP port (httpStream mode only). |
67
69
 
@@ -227,7 +229,7 @@ The server exposes **138 tools** when vault credentials are configured (add `pro
227
229
 
228
230
  ## Configuration
229
231
 
230
- ### Hosted (mcp.1claw.xyz)
232
+ ### Hosted (mcp.1claw.co)
231
233
 
232
234
  For MCP clients that support remote servers with HTTP streaming. Pass your agent API key as a Bearer token — the server exchanges it for a JWT, auto-discovers the agent ID and vault, and handles refresh.
233
235
 
@@ -235,7 +237,7 @@ For MCP clients that support remote servers with HTTP streaming. Pass your agent
235
237
  {
236
238
  "mcpServers": {
237
239
  "1claw": {
238
- "url": "https://mcp.1claw.xyz/mcp",
240
+ "url": "https://mcp.1claw.co/mcp",
239
241
  "headers": {
240
242
  "Authorization": "Bearer ocv_your_agent_api_key"
241
243
  }
@@ -362,7 +364,7 @@ Verdicts: `clean` (no threats) or `malicious` (critical threat detected — e.g.
362
364
 
363
365
  The MCP server auto-deploys to Cloud Run on push to `main` (when `packages/mcp/**` changes). See `.github/workflows/deploy-mcp.yml`.
364
366
 
365
- Infrastructure is managed via Terraform in `infra/`. Set `mcp_domain = "mcp.1claw.xyz"` in your `terraform.tfvars` to configure the custom domain.
367
+ Infrastructure is managed via Terraform in `infra/`. Set `mcp_domain = "mcp.1claw.co"` in your `terraform.tfvars` to configure the custom domain.
366
368
 
367
369
  ## Development
368
370
 
@@ -410,7 +412,7 @@ All tool calls pass through an inspection pipeline before execution and after re
410
412
 
411
413
  ### Shroud advanced security
412
414
 
413
- When an agent has `shroud_enabled: true`, its JWT carries a `shroud_config` payload that configures Shroud's server-side PolicyEngine. These features run inside the TEE on LLM traffic routed through `shroud.1claw.xyz` and are independent of the MCP inspection pipeline above:
415
+ When an agent has `shroud_enabled: true`, its JWT carries a `shroud_config` payload that configures Shroud's server-side PolicyEngine. These features run inside the TEE on LLM traffic routed through `shroud.1claw.co` and are independent of the MCP inspection pipeline above:
414
416
 
415
417
  - **Tool call inspection** — Validates tool calls emitted by the LLM against allowed/denied patterns.
416
418
  - **Output policies** — Enforces response-level rules (e.g. block certain content categories, length limits).
@@ -418,7 +420,7 @@ When an agent has `shroud_enabled: true`, its JWT carries a `shroud_config` payl
418
420
  - **Semantic policy** — Context-aware policy rules evaluated against the full conversation (beyond regex patterns).
419
421
  - **Advanced redaction** — Server-side secret redaction with configurable scope and granularity.
420
422
 
421
- Configure these via the agent's `shroud_config` JSON in the dashboard, SDK (`CreateAgentRequest.shroud_config`), or CLI (`agent update`). See the [Shroud documentation](https://docs.1claw.xyz/shroud) for the full `shroud_config` schema.
423
+ Configure these via the agent's `shroud_config` JSON in the dashboard, SDK (`CreateAgentRequest.shroud_config`), or CLI (`agent update`). See the [Shroud documentation](https://docs.1claw.co/shroud) for the full `shroud_config` schema.
422
424
 
423
425
  ## MCP Registry
424
426
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@1claw/mcp",
3
- "version": "0.59.4",
3
+ "version": "0.59.6",
4
4
  "mcpName": "io.github.1clawAI/1claw-mcp",
5
- "description": "MCP server for the 1claw secrets vault \u2014 lets AI agents fetch, store, and manage secrets at runtime",
5
+ "description": "MCP server for the 1claw secrets vault lets AI agents fetch, store, and manage secrets at runtime",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -53,7 +53,7 @@
53
53
  "type": "git",
54
54
  "url": "https://github.com/1clawAI/1claw-mcp.git"
55
55
  },
56
- "homepage": "https://1claw.xyz",
56
+ "homepage": "https://1claw.co",
57
57
  "license": "MIT",
58
58
  "dependencies": {
59
59
  "@hono/node-server": "^1.19.13",