dig + Cursor
A `.cursor/rules/dig.mdc` rule points the agent at the portable dig skill; register the `dig mcp` server to give Cursor the full tool surface.
Install — about 10 seconds
Cursor
# Cursor: add the dig MCP server (Settings → MCP, or ~/.cursor/mcp.json)
{ "mcpServers": { "dig": { "command": "dig", "args": ["mcp"] } } }
Or register the MCP server directly
The universal entry: one stdio server, accepted by any MCP-capable client.
mcp config
{
"mcpServers": {
"dig": {
"args": [
"mcp"
],
"command": "dig"
}
}
}
What Cursor gets
dig drives the same surface through every path. Read tools never change state; mutating tools preview first, and a single dig_undo steps any change back.
- dig_find
- ranked search across the knowledge base
- dig_recall
- token-budgeted, provenance-tagged memory recall
- dig_retain
- capture a note, doc, or session into memory
- dig_drift
- report divergence from policy
- dig_log
- read the change history
- dig_export
- export a reproducible dataset
- dig_org
- reorganize to policy (preview unless apply)
- dig_reconcile
- converge to policy (preview unless apply)
- dig_undo
- step back the last change