SML Risk Firewall
Pre-trade risk checks for agent trades: orders vs your limits, signed receipts.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
HSM-backed vault secrets for AI agents (JIT fetch) plus prompt-injection and threat scanning.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ONECLAW_AGENT_API_KEY, ONECLAW_AGENT_ID, ONECLAW_VAULT_ID, ONECLAW_BASE_URL, ONECLAW_LOCAL_ONLYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"1claw": {
"command": "npx",
"args": [
"-y",
"@1claw/mcp"
],
"env": {
"ONECLAW_AGENT_API_KEY": "ใส่ค่าของคุณ",
"ONECLAW_AGENT_ID": "ใส่ค่าของคุณ",
"ONECLAW_VAULT_ID": "ใส่ค่าของคุณ",
"ONECLAW_BASE_URL": "ใส่ค่าของคุณ",
"ONECLAW_LOCAL_ONLY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add 1claw --env ONECLAW_AGENT_API_KEY='ใส่ค่าของคุณ' --env ONECLAW_AGENT_ID='ใส่ค่าของคุณ' --env ONECLAW_VAULT_ID='ใส่ค่าของคุณ' --env ONECLAW_BASE_URL='ใส่ค่าของคุณ' --env ONECLAW_LOCAL_ONLY='ใส่ค่าของคุณ' -- npx -y @1claw/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"1claw": {
"command": "npx",
"args": [
"-y",
"@1claw/mcp"
],
"env": {
"ONECLAW_AGENT_API_KEY": "ใส่ค่าของคุณ",
"ONECLAW_AGENT_ID": "ใส่ค่าของคุณ",
"ONECLAW_VAULT_ID": "ใส่ค่าของคุณ",
"ONECLAW_BASE_URL": "ใส่ค่าของคุณ",
"ONECLAW_LOCAL_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"1claw": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@1claw/mcp"
],
"env": {
"ONECLAW_AGENT_API_KEY": "ใส่ค่าของคุณ",
"ONECLAW_AGENT_ID": "ใส่ค่าของคุณ",
"ONECLAW_VAULT_ID": "ใส่ค่าของคุณ",
"ONECLAW_BASE_URL": "ใส่ค่าของคุณ",
"ONECLAW_LOCAL_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ONECLAW_AGENT_ID envONECLAW_VAULT_ID envONECLAW_BASE_URL envONECLAW_LOCAL_ONLY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub 1clawAI ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: ONECLAW_AGENT_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.56.3) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี SML Risk Firewall, ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Pre-trade risk checks for agent trades: orders vs your limits, signed receipts.
Look up location, network, company and threat data for IP addresses and ASNs in ipdata.
MCP server for MaxMind minFraud — score transactions for fraud risk from your AI assistant.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
⭐ Star [1clawAI/agent-templates](https://github.com/1clawAI/agent-templates) — ready-to-run agent templates wired to 1Claw. It is our single starred repo.
Connect Cursor, Claude Desktop, VS Code, or any MCP client to your 1claw 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.
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.
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.
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.
API contract: Vault tools use the REST API from @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.
The server supports two transport modes:
| Mode | Use case | Auth |
|---|---|---|
| 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 |
| httpStream | Hosted at mcp.1claw.co | Per-request headers: Authorization: Bearer , X-Vault-ID |
Set MCP_TRANSPORT=httpStream and PORT=8080 to run in hosted mode.
stdio and environment: The server does not cache a single vault client for the whole process. Each tool invocation builds a OneClawClient from the current process.env (ONECLAW_AGENT_API_KEY, ONECLAW_VAULT_ID, etc.), so changing env vars (or vault binding) takes effect on the next call without restarting the MCP process.
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.
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.
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.
Guardrail governance & Safe (v0.56–0.57): Convention 6 execution shadow/enforce; shadow report, revisions, replay; address screening; guardrail widening approvals (202); agent Safe accounts + module registry MCP tools (list_agent_accounts, migrate_agent_to_safe, get_guardrail_shadow_report, etc.). See package README tool table.
brew install 1clawAI/tap/1claw-mcp
cd packages/mcp
pnpm install pnpm run build
| Variable | Required | Default | Description |
|---|---|---|---|
ONECLAW_AGENT_API_KEY | stdio* | — | Recommended. Agent API key (ocv_...). Server exchanges it for a JWT, auto-discovers agent ID and vault, and refreshes the token automatically. |
ONECLAW_LOCAL_ONLY | No | false | Set to true for security-only mode (no vault credentials needed). |
ONECLAW_LOCAL_VAULT | No | false | Set to true to use the local daemon instead of the cloud API. |
ONECLAW_DAEMON_SOCKET | No | ~/.config/1claw/daemon.sock | Path to the local daemon Unix socket (local daemon mode only). |
ONECLAW_AGENT_ID | No | — | Agent UUID. Optional with ONECLAW_AGENT_API_KEY (auto-discovered from key). |
ONECLAW_AGENT_TOKEN | stdio* | — | Legacy. Static Bearer JWT (expires in ~1 h, no auto-refresh). |
ONECLAW_VAULT_ID | No | — | UUID of the vault. Auto-discovered when using ONECLAW_AGENT_API_KEY. |
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. |
ONECLAW_BASE_URL | No | https://api.1claw.co | Vault API base URL. Agents with intents_require_tee / execution_require_tee need no special value here: the vault forwards their intents to Shroud itself (vault ≥ 0.61.19). Set it to Shroud (https://shroud.1claw.co) only for a DPoP-bound token or a self-hosted deployment that routes signing there. |
ONECLAW_MCP_TOOLSETS | No | entitlement defaults | Comma list of toolsets to expose (or all). Narrows or opts in; never widens past the agent's entitlements. See Toolsets. Hosted: send X-1Claw-Toolsets instead. |
MCP_TRANSPORT | No | stdio | Transport mode: stdio or httpStream. |
PORT | No | 8080 | HTTP port (httpStream mode only). |
\* For stdio, set `ONECLAW_AGENT_API_KEY` (recommended — auto-discovers agent ID and vault, handles token refresh). Alternatively, set ONECLAW_AGENT_TOKEN + ONECLAW_VAULT_ID for static JWT auth. Not needed when ONECLAW_LOCAL_ONLY=true or ONECLAW_LOCAL_VAULT=true.
The server ships 160 tools (add proxy_request in local daemon mode) but a session only ever sees the toolsets it is entitled to — a vault-only agent is offered ~24 tools, not 160. `inspect_content` also runs in `ONECLAW_LOCAL_ONLY=true` mode without vault credentials. Also includes the vault://secrets resource.
Two narrower builds of this same tree are published in lockstep, for stdio deployments where the claim has to be true of the code on disk:
| Package | Contains | Claim |
|---|---|---|
@1claw/mcp-vault | vault + approvals toolsets, inspect_content, vault://secrets (24 tools) | no signing, execute, cards, memory, platform or admin code in the package |
@1claw/mcp-guard | inspect_content only | no account, no credentials, no vault client in the package |
Same env vars and behaviour; see packages/vault/README.md and packages/guard/README.md. The hosted server at mcp.1claw.co is always the umbrella.
Every tool belongs to one toolset (src/toolsets.ts). Which toolsets a session gets is decided from the agent's own flags, once at admission, and re-checked every 15 minutes and after any 403 from the vault (hosted sessions then receive notifications/tools/list_changed).
| Toolset | On when | Tools |
|---|---|---|
inspect | always | inspect_content |
vault | any agent | secrets, versions, rotation, env bundles, vaults, sharing, connected accounts, child agents (~19) |
approvals | any agent | request_approval, get_approval_status, get_approval, list_approvals, cancel_approval, list_pending_approvals |
intents | intents_api_enabled | signing, simulation, submission, signing keys, portfolio, Safe accounts, Bankr lease (~18) |
execute | execution_intents_enabled | bindings, execute_http, execute_intent, executions, connectors, event subscriptions (8) |
cards | cards_enabled | cards and gift cards (5) |
memory | memory_enabled | memory + get_peer_context (6) |
channels | shroud_enabled | Telegram / WhatsApp / Discord channels (3) |
directory | discoverable | agent directory + job board (4) |
treasury, delegation, chat, automations, runtimes, notification | opt-in only | the vault has no per-agent flag for these; ask for them explicitly |
admin | never on an agent | human-only endpoints (policies, sub-orgs, approval votes, Safe migration…) — only a user JWT over stdio sees them |
platform | never | plt_ endpoints; the server rejects platform keys |
Choosing toolsets explicitly. Set ONECLAW_MCP_TOOLSETS (stdio) or send X-1Claw-Toolsets (hosted) with a comma list, e.g. vault,intents,automations, or all. A selection can narrow the defaults or opt into the opt-in sets; it can never add a toolset the agent is not entitled to, and all still excludes admin and platform. inspect is always included.
When `execution_require_tee` is set the vault refuses to hand this agent secret *values* outside a TEE, so get_secret, get_env_bundle and resolve_env are hidden; put_secret, rotate_*, describe_secret, list_secrets and list_versions stay.
Degraded lookups. The server logs one line per session: toolsets=… lookup=full|jwt_only|failed. jwt_only means the agent profile could not be read and only the flags carried in the signed JWT (intents, execute, shroud) were honoured — cards, memory and directory are withheld until the next refresh. failed means not even a token was obtained; the session falls back to the agent defaults. Neither state ever widens a toolset.
stdio. The toolset is fixed when the process starts; restart the MCP server after changing an agent's flags.
| Tool | Description |
|---|---|
list_secrets | List all secrets (metadata only — never values) |
get_secret | Fetch the decrypted value of a secret by path. Accepts optional client_share for MPC vaults. |
put_secret | Create or update a secret (creates a new version). Response includes client_share when the vault has MPC enabled. |
| delete_secret | Soft-delete a secret at a path
ตัดมาแค่ช่วงต้น อ่านต่อใน repo