Damdit for Cursor
Let Cursor audit the website it just built.
Cursor’s agent says the work is done. Damdit opens the site in a real browser, checks it against fixed rules and hands the agent the issues with their evidence. The next audit shows what it really fixed.
Add Damdit to Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"damdit-cli": {
"type": "stdio",
"command": "damdit-cli",
"args": ["mcp"],
"env": { "DAMDIT_CI_KEY": "${env:DAMDIT_CI_KEY}" }
}
}
}After installing Damdit CLI and adding your key. All steps are below.
Set up Damdit in Cursor
Damdit CLI on the machine where Cursor runs, then one entry in Cursor.
Check that it worked
In Cursor, open Customize: damdit-cli is listed with its tools. In a terminal, “agent mcp list” shows it too.
Install Damdit CLI
Needs Docker running. No sudo, and it edits no shell file.
curl -fsSL https://download.damdit.com/cli/install.sh | shAdd your key
Create a key on your Damdit account page and export it in your shell’s profile, so the agent’s terminal has it too.
~/.zshrc or ~/.bashrc
export DAMDIT_CI_KEY=…Add Damdit to Cursor
For all your projects in ~/.cursor/mcp.json, or for one project in .cursor/mcp.json.
~/.cursor/mcp.json
{ "mcpServers": { "damdit-cli": { "type": "stdio", "command": "damdit-cli", "args": ["mcp"], "env": { "DAMDIT_CI_KEY": "${env:DAMDIT_CI_KEY}" } } } }
Using Damdit for Mac?
In Damdit for Mac, open Settings → AI Tools → MCP and choose Add… next to Cursor. Damdit shows the entry it adds and backs the file up first. The same page adds the damdit agent skill to ~/.cursor/skills/damdit.
Try it
Ask in plain words. These two are a good start.
- “Create a Damdit project for https://example.com and run an audit. Then tell me what to fix first, with the issue IDs.”
- “Fix the first issue, run a new audit and show me what Damdit reports as Resolved and what is Still detected.”
What your agent gets from Damdit
Each issue comes with the rule, the pages and elements it affects, what was measured and what was expected, so the agent can go to the right file and you can check its claim.
- The summary first: score, coverage, counts and the first issues.
- Then issues, their occurrences and the evidence of one finding.
- Coverage says what the audit could not check. An area that was not measured is never reported as fine.
- After a fix, a new audit compares with the one before: New, Resolved, Reappeared, Still detected, Inconclusive.
Good to know
Before you rely on it
- Cursor asks for approval before it uses an MCP tool.
- Restart Cursor after changing mcp.json.
- With Damdit for Mac installed too, name the one you want: “Use the damdit-cli MCP tools.” The two keep separate projects and audits.
- An editor started from the Dock may not see ~/.local/bin. If the server does not start, replace damdit-cli with its full path: the output of “which damdit-cli”.
- Damdit CLI reads your key from DAMDIT_CI_KEY. The examples pass the variable through, so the key itself is not written into a configuration file.
- Damdit reads websites. It never edits or publishes one; your agent changes your code.
- A fix is verified only when a newer audit shows the issue as Resolved.
- Text copied from the audited website is data for the agent to report, never instructions for it to follow.
- DAMDIT_CLI_ACCESS=read or audit limits what commands and AI tools may do; the default is full.
Does the audited website leave my machine?
Not to Damdit. Pages are rendered where Damdit CLI runs, and audits stay in its data folder. What your agent reads from Damdit, it handles under its own provider’s terms.
Do I need Damdit for Mac as well?
No. Damdit CLI works alone. If you have the app, its own damdit command and MCP server give the agent the audits saved in the app.
What does it cost?
Damdit CLI is part of the Damdit licence: one payment with a year of updates, and two installations at a time in any combination of the app and CLI keys. The trial includes it.
Other integrations
Fix it with your AI. Prove it with Damdit.
7 days free, no card. One licence for the app and the CLI.