io.github.dingdawg/dingdawg-loop
Safe scheduled AI agents with governance gates. Verified, receipted, fail-closed.
What can you do with io.github.dingdawg/dingdawg-loop?
- Evaluates the loop description before execution
- Blocks destructive, financial, or sensitive operations until policy thresholds are met
- Signs every execution with an Ed25519 receipt
- Provides full audit history per loop
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
dingdawg-loopclaude mcp add dingdawg-loop -e 'DINGDAWG_API_KEY=<your dingdawg_api_key>' -- npx -y dingdawg-loop@2.0.8
{
"mcpServers": {
"dingdawg-loop": {
"command": "npx",
"args": [
"-y",
"dingdawg-loop@2.0.8"
],
"env": {
"DINGDAWG_API_KEY": "<your dingdawg_api_key>"
}
}
}
}
Environment variables
DINGDAWG_API_KEYsecret API key for paid tier access — get free at dingdawg.com
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
dingdawg-loop
DingDawg Loop Protocol (DDLP) — safe scheduled AI agents with governance gates.
Every loop execution is verified, receipted, and fail-closed. MCP-native. Works with CrewAI, LangGraph, Claude Code, and Cursor.
Install
npx dingdawg-loop
Or as an MCP server in Claude Desktop / Claude Code:
{
"mcpServers": {
"dingdawg-loop": {
"command": "npx",
"args": ["dingdawg-loop"]
}
}
}
What it does
DDLP wraps any scheduled agent action with a governance gate that:
- Evaluates the loop description before execution
- Blocks destructive, financial, or sensitive operations until policy thresholds are met
- Signs every execution with an Ed25519 receipt
- Provides full audit history per loop
MCP Tools
| Tool | Description |
|---|---|
register_loop | Register a new scheduled loop with name, description, cron, and governance policy |
execute_loop | Run one cycle of a registered loop — governance gate fires before any action |
list_loops | List all registered loops with status, last execution, and receipt count |
pause_loop | Pause a running loop — no executions until resumed |
resume_loop | Resume a paused loop |
loop_audit | Retrieve the full signed receipt audit trail for any loop |
Governance gates
DDLP classifies every loop at registration time. High-risk categories require elevated approval:
- Destructive operations — file deletion, database mutations,
DROPstatements - External communications — email sends, Slack messages, webhook calls
- Financial operations — any spend, transfer, or payment action
- Sensitive data access — PII reads, credential access, health records
- Bulk operations — mass updates, batch sends, bulk deletes
Compatibility
Works with any MCP-compatible AI client:
- Claude Desktop / Claude Code
- Cursor
- CrewAI (via MCP bridge)
- LangGraph (via MCP bridge)
License
BUSL-1.1 — see LICENSE
Publisher
DingDawg Enterprise — hello@dingdawg.com — dingdawg.com
Frequently asked questions
What is io.github.dingdawg/dingdawg-loop?
Safe scheduled AI agents with governance gates. Verified, receipted, fail-closed.
How do I install io.github.dingdawg/dingdawg-loop?
It runs on your machine. In Claude Code: claude mcp add dingdawg-loop -e 'DINGDAWG_API_KEY=<your dingdawg_api_key>' -- npx -y dingdawg-loop@2.0.8. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.dingdawg/dingdawg-loop need an API key?
Yes. It expects DINGDAWG_API_KEY, which you set in its configuration.
Is io.github.dingdawg/dingdawg-loop open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.dingdawg/dingdawg-loop?
It is published by dingdawg. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.