{
  "markdown": "# DingDawg Governance\n\n[![npm version](https://img.shields.io/npm/v/dingdawg-governance.svg)](https://www.npmjs.com/package/dingdawg-governance)\n[![npm downloads](https://img.shields.io/npm/dm/dingdawg-governance.svg)](https://www.npmjs.com/package/dingdawg-governance)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)\n\n> Every AI action receipted. Capability-gated. Rollback-ready.\n\nAI 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.\n\nWorks with Claude Code, Codex, Cursor, Windsurf, and any MCP-compatible agent.\n\n---\n\n## Install\n\n```bash\nnpm install dingdawg-governance\n```\n\n---\n\n## Quick Start\n\n```bash\n# Authenticate (free — no credit card)\nnpx dingdawg-governance auth login\n\n# Start the governance MCP server\nDINGDAWG_API_KEY=your_key npx dingdawg-governance\n```\n\nAdd to your MCP client config:\n\n```json\n{\n  \"mcpServers\": {\n    \"dingdawg-governance\": {\n      \"command\": \"npx\",\n      \"args\": [\"dingdawg-governance\"],\n      \"env\": {\n        \"DINGDAWG_API_KEY\": \"your_key_here\"\n      }\n    }\n  }\n}\n```\n\nGet your free API key at [app.dingdawg.com/settings/api](https://app.dingdawg.com/settings/api).\n\n---\n\n## What You Get\n\n- **Pre-execution validation** — Every action checked against your policy before it runs. Blocked actions never touch your filesystem.\n- **Cryptographic receipts** — Tamper-evident record for every action with a unique ID, output hash, and public verification URL.\n- **One-command rollback** — Undo any file write by referencing its receipt ID. Prior state is captured automatically before every write.\n- **Real-time trust scores** — Behavioral pattern tracking across sessions surfaces anomalies before they become incidents.\n- **Compliance reports in seconds** — SOC 2 and ISO 27001-aligned audit reports as signed PDF or structured JSON. One API call.\n\n---\n\n## MCP Tools\n\n| Tool | What it does |\n|------|-------------|\n| `validate_action` | Pre-execution check. Returns `APPROVED`, `FLAGGED`, or `BLOCKED` with reason code and risk score. |\n| `generate_receipt` | Post-execution cryptographic receipt with tamper-evident output hash. |\n| `capture_rollback_state` | Snapshot current state before destructive or high-risk operations. |\n| `rollback_action` | Restore prior state from a receipt ID. |\n| `query_receipts` | Search receipts by date, agent, action type, or status. Export-ready. |\n| `check_status` | Current tier, daily usage, quota, and active governance alerts. |\n| `generate_audit_report` | On-demand compliance report — SOC 2, ISO 27001, or custom policy framework. |\n\n---\n\n## Plans\n\n| Plan | Governed actions/day | Rollback window | Audit reports |\n|------|---------------------|----------------|--------------|\n| **Free** | 200 | — | — |\n| **Pro** — $29/mo | 10,000 | 30 days | Unlimited |\n| **Business** — $149/mo | Unlimited | 90 days | Compliance PDF |\n\nNo credit card to start. Full pricing: [dingdawg.com/governance#pricing](https://dingdawg.com/governance#pricing)\n\n---\n\n## Documentation\n\nFull docs at **[dingdawg.com/governance/docs](https://dingdawg.com/governance/docs)**\n\n- [Getting started](./docs/getting-started.md)\n- [MCP tool reference](https://dingdawg.com/governance/docs/tools)\n- [Policy configuration](https://dingdawg.com/governance/docs/policies)\n- [Audit report formats](https://dingdawg.com/governance/docs/reports)\n- [Enterprise SSO and team management](https://dingdawg.com/governance/docs/enterprise)\n\n---\n\n## Contributing\n\nIssues and pull requests welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n[github.com/dingdawg/governance-mcp](https://github.com/dingdawg/governance-mcp)\n\n---\n\nBuilt by [DingDawg](https://dingdawg.com) — Trust layer for the agentic internet.\n",
  "bytes": 3901,
  "sha": "9229c72d6a8475288406af076f35ba0296f81414666eb9b8ca8a65f439344a43",
  "repo_slug": "dingdawg/dingdawg-governance",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_dingdawg_dingdawg_governance_87d6c4d0/readme"
}