DashClaw
Lets your AI agent check actions against policies and ask a human for approval before risky steps, with a signed record.
315 stars on GitHubby DashClaw (ucsandman)License MITUpdated 20 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add dashclaw -e DASHCLAW_URL="<your value>" -e DASHCLAW_API_KEY="<your value>" -- npx -y @dashclaw/mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
DASHCLAW_URL | Base URL of your DashClaw instance (e.g. https://your-app.vercel.app) | Yes |
DASHCLAW_API_KEY | DashClaw workspace API key (oc_live_...) | Yes |
DASHCLAW_AGENT_ID | Optional agent identifier used to attribute governed actions | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Hold any destructive shell command until I approve it.
Show me the actions that were blocked last night.
What it is
DashClaw sits between an AI agent deciding to call a tool and the tool running. Risky actions such as deleting files or force-pushing can be blocked or sent to you for approval, even when you are away. Every decision is recorded.
What it can do
- Policy check before an action runs
- Remote approvals from an inbox, CLI, phone, Telegram or Discord
- Decision records and signed receipts where issued
- Hooks for Claude Code, Codex and Hermes, and an OpenClaw gateway
dashclaw_invoke: governed calls to registered HTTP capabilities- Prompt-injection scanning
When to use
- βΊWhen you leave an agent running overnight and want risky actions held for approval
- βΊWhen you need a record of what an agent tried and who approved it
- βΊWhen you want one set of rules across several coding agents
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
git-guardrails-claude-codeSets up a safety hook that blocks risky git commands, such as push, hard reset, and forced branch deletion, before they can run.commercial-policyHelps you write clear discount rules, with a discount matrix, approval levels for each band and a path for exceptions, checked for governance gaps.openshell-policy-advisorHelps your agent recover when a sandbox blocks a network request, by asking for a narrow permission and retrying after approval.Frequently asked questions
Is it free and open source?
The readme says MIT-licensed self-hosting; hosting and provider usage are subject to their own plans and limits.
Does it always stop a risky action?
Only where it sits in the execution path: the Claude Code, Codex and Hermes hooks, the OpenClaw gateway and dashclaw_invoke. Other integrations are cooperative.
How do I start?
Run npx dashclaw up, with no account needed.
Where can I approve actions?
The approvals inbox, the CLI, a phone PWA, Telegram or Discord.
Can an agent turn it off?
The readme says an agent with write access to the hook path can disable its governor, so use a container or separate user for stronger protection.
What does it not do?
It is not a general tracing product or agent platform, and it does not claim universal hard enforcement.
If it does not work
- βΊUse npx dashclaw up --yes --no-browser in non-interactive shells, since the plain command prompts and may hang.
- βΊRun npx dashclaw doctor and check http://localhost:3000/api/health.
- βΊSet DASHCLAW_BASE_URL and DASHCLAW_API_KEY for SDK use.
5 new skills a week. 1 minute to read.