io.github.dingdawg/dingdawg-governance

السجل الرسمي الأمن

Universal governance layer for AI agents. MCP-native, fail-closed, audit proofs and rollback.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package dingdawg-governance
Claude Code
claude mcp add dingdawg-governance -e 'DINGDAWG_API_KEY=<your dingdawg_api_key>' -- npx -y dingdawg-governance@2.1.6
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dingdawg-governance": {
            "command": "npx",
            "args": [
                "-y",
                "dingdawg-governance@2.1.6"
            ],
            "env": {
                "DINGDAWG_API_KEY": "<your dingdawg_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • DINGDAWG_API_KEY سري API key for paid tier access — get free at dingdawg.com

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. DingDawg Governance
  2. Install
  3. Quick Start
  4. What You Get
  5. MCP Tools
  6. Plans
  7. Documentation
  8. Contributing

DingDawg Governance

Every AI action receipted. Capability-gated. Rollback-ready.

AI Governance-as-a-Service via MCP. Every write, shell command, and state-changing operation your agent makes is validated before it runs and cryptographically receipted after it completes — giving you a tamper-evident audit trail you can query, export, or roll back at any time.

Works with Claude Code, Codex, Cursor, Windsurf, and any MCP-compatible agent.


Install

npm install dingdawg-governance

Quick Start

# Authenticate (free — no credit card)
npx dingdawg-governance auth login

# Start the governance MCP server
DINGDAWG_API_KEY=your_key npx dingdawg-governance

Add to your MCP client config:

{
  "mcpServers": {
    "dingdawg-governance": {
      "command": "npx",
      "args": ["dingdawg-governance"],
      "env": {
        "DINGDAWG_API_KEY": "your_key_here"
      }
    }
  }
}

Get your free API key at app.dingdawg.com/settings/api.


What You Get

  • Pre-execution validation — Every action checked against your policy before it runs. Blocked actions never touch your filesystem.
  • Cryptographic receipts — Tamper-evident record for every action with a unique ID, output hash, and public verification URL.
  • One-command rollback — Undo any file write by referencing its receipt ID. Prior state is captured automatically before every write.
  • Real-time trust scores — Behavioral pattern tracking across sessions surfaces anomalies before they become incidents.
  • Compliance reports in seconds — SOC 2 and ISO 27001-aligned audit reports as signed PDF or structured JSON. One API call.

MCP Tools

ToolWhat it does
validate_actionPre-execution check. Returns APPROVED, FLAGGED, or BLOCKED with reason code and risk score.
generate_receiptPost-execution cryptographic receipt with tamper-evident output hash.
capture_rollback_stateSnapshot current state before destructive or high-risk operations.
rollback_actionRestore prior state from a receipt ID.
query_receiptsSearch receipts by date, agent, action type, or status. Export-ready.
check_statusCurrent tier, daily usage, quota, and active governance alerts.
generate_audit_reportOn-demand compliance report — SOC 2, ISO 27001, or custom policy framework.

Plans

PlanGoverned actions/dayRollback windowAudit reports
Free200——
Pro — $29/mo10,00030 daysUnlimited
Business — $149/moUnlimited90 daysCompliance PDF

No credit card to start. Full pricing: dingdawg.com/governance#pricing


Documentation

Full docs at dingdawg.com/governance/docs


Contributing

Issues and pull requests welcome. See CONTRIBUTING.md.

github.com/dingdawg/governance-mcp


Built by DingDawg — Trust layer for the agentic internet.

الأسئلة الشائعة

ما هو io.github.dingdawg/dingdawg-governance؟

Universal governance layer for AI agents. MCP-native, fail-closed, audit proofs and rollback.

كيف أثبّت io.github.dingdawg/dingdawg-governance؟

يعمل على جهازك. في Claude Code: claude mcp add dingdawg-governance -e 'DINGDAWG_API_KEY=<your dingdawg_api_key>' -- npx -y dingdawg-governance@2.1.6. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.dingdawg/dingdawg-governance إلى مفتاح API؟

نعم. يتطلب DINGDAWG_API_KEY، وتضبطها في إعداداته.

هل io.github.dingdawg/dingdawg-governance مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.dingdawg/dingdawg-governance؟

ينشره dingdawg. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.