Damdit for Codex

Let Codex audit the website it just built.

Codex says the work is done. Damdit opens the site in a real browser, checks it against fixed rules and hands Codex the issues with their evidence. The next audit shows what it really fixed.

Add Damdit to Codex

codex mcp add damdit-cli -- damdit-cli mcp

After installing Damdit CLI and adding your key. All steps are below.

Set up Damdit in Codex

Damdit CLI on the machine where Codex runs, then one entry in Codex.

Check that it worked

Run “codex mcp list”. Inside Codex, /mcp shows the active servers.

  1. Install Damdit CLI

    Needs Docker running. No sudo, and it edits no shell file.

    curl -fsSL https://download.damdit.com/cli/install.sh | sh
  2. Add 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=…
  3. Add Damdit to Codex

    The command writes the server to ~/.codex/config.toml.

    codex mcp add damdit-cli -- damdit-cli mcp
  4. Pass the key through

    Tell Codex to hand DAMDIT_CI_KEY from your shell to the server, instead of storing the key in the file.

    ~/.codex/config.toml

    [mcp_servers.damdit-cli]
    command = "damdit-cli"
    args = ["mcp"]
    env_vars = ["DAMDIT_CI_KEY"]

Using Damdit for Mac?

With Damdit for Mac, Codex can use the damdit command the app installs: it reads the audits saved in the app and prints JSON. Any MCP app can also start the app’s server with “damdit mcp”.

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

  • A project’s own .codex/config.toml applies only in projects you marked as trusted.
  • How Codex asks before a tool call depends on its approval mode.
  • With Damdit for Mac installed too, name the one you want: “Use the damdit-cli MCP tools.” The two keep separate projects and audits.
  • 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.

Your download has started

Damdit 27.0.0 for Mac, 118 MB. Didn't start?Download again.

Install it in a minute

  1. Open the Damdit DMG from your Downloads folder.
  2. Drag Damdit to the Applications folder.
  3. Open Damdit from Applications. It is signed and notarized by Apple, so macOS opens it without a warning.
  4. Enter your website's address and your email. We send you a sign-in code, and your 7-day trial starts. No card is needed.

Your first audit: start with the website you're building right now, whether you wrote it or an AI tool did. Its local address, such as localhost, or a staging site works too.

Something didn't work? Write to support@damdit.com. Step-by-step guides are in the documentation.