Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
https://www.codeauditormcp.com/api/mcpOpen Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"code-auditor": {
"command": "npx",
"args": [
"-y",
"code-auditor-mcp"
]
}
}
}Run this in your terminal
claude mcp add --transport http code-auditor https://www.codeauditormcp.com/api/mcpclaude mcp add code-auditor -- npx -y code-auditor-mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"code-auditor": {
"url": "https://www.codeauditormcp.com/api/mcp"
}
}
}Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"code-auditor": {
"command": "npx",
"args": [
"-y",
"code-auditor-mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"code-auditor": {
"type": "http",
"url": "https://www.codeauditormcp.com/api/mcp"
}
}
}Paste into .vscode/mcp.json in your project
{
"servers": {
"code-auditor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"code-auditor-mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
https://www.codeauditormcp.com/api/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account BenAHammond, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
Either way works: install it on your computer or connect to the cloud version.
The GitHub repo last changed –, and the latest version (5.0.2) reached the registry 28 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Spec Driven Development, Remote Desktop Commander, FlyDocs
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Architectural invariants enforced inside your AI agent's edit loop. When the agent writes code that breaks a project rule, Code Auditor catches it and blocks the edit. The agent sees the rule's message and fixes itself.
npm install -g code-auditor-mcp
code-audit install --agent all
Two commands to install everywhere. code-audit install --agent all copies the skill to every AI coding tool on your machine. Use --agent for specific tools.
What you get per tool: the skill (SKILL.md), MCP server access, and hook wiring where the tool supports it (blocking on Claude Code and Codex, advisory on Cursor).
code-audit install --list # see the support matrix
Claude Code users can also install via plugin:
claude plugin marketplace add BenAHammond/code-auditor-mcp
claude plugin install code-auditor
The hook auto-installs the auditor on first use via npx.
node:sqlite module, so nothing needs to compile or download a prebuilt binary on install.better-sqlite3, an *optional* dependency whose install script must be approved once on npm 11.2+/12 (they block dependency install scripts by default): npm install-scripts approve better-sqlite3 && npm rebuild better-sqlite3 (with pnpm: pnpm approve-builds, then select better-sqlite3).Project-level settings live in .codeauditor.json (invariant rules, analyzer settings, and thresholds). Eleven environment variables additionally tune process-scoped behavior — worker pool size, daemon and job-queue timeouts, the index location, the SQLite backend, and the UI port.
| Variable | Purpose | Accepted values | Default | |
|---|---|---|---|---|
CODE_AUDITOR_WORKERS | Phase-model worker pool size for per-file fan-out. 1 forces the serial path for byte-identical reports. | Positive integer | max(1, cpus − 1) | |
CODE_AUDITOR_RULE_TIMING | Per-rule wall-time accounting (one accumulated timer per rule ID, surfaced in the report). | 1 enables; unset disables | Off | |
CODE_AUDITOR_DAEMON_IDLE_MS | Idle timeout before the daemon shuts down. | Positive finite ms; invalid → default | 300000 (5 min) | |
CODE_AUDITOR_DAEMON_LEASE_TTL_MS | Daemon heartbeat lease TTL. | Finite ms; blank/0 → default | 60000 (60 s) | |
CODE_AUDITOR_DATA_DIR | Overrides the code-index database directory. | Directory path (trimmed; blank → default) | user-level OS cache | |
CODE_AUDITOR_EXIT_ON_FATAL | Exit the MCP server on an uncaught exception / unhandled rejection. | 1 or true | Off | |
CODE_AUDITOR_JOB_TIMEOUT_MS | Per-job timeout for queued audits. | Finite ms, clamped to 60s–4h; below the floor → default | 1800000 (30 min) | |
CODE_AUDITOR_JOB_LEASE_TTL_MS | Heartbeat lease TTL for reclaiming stale running job rows. | Strictly positive finite ms; invalid → default | 30000 (30 s) | |
CODE_AUDITOR_MAX_RUNNING_JOBS | Max concurrently running queued audit jobs. | Integer ≥ 1; invalid → default | 1 | |
CODE_AUDITOR_SQLITE_BACKEND | Forces a SQLite backend. An invalid value is reported as invalid and rejected — never silently probed past. | node-sqlite \ | better-sqlite3 | Auto (probe) |
MCP_UI_PORT | HTTP UI server port (--ui). | Port number; invalid → default | 3001 |
When CODE_AUDITOR_DATA_DIR is set, the index is scoped per project ( /projects/ /index.db) so projects can't leak data into each other. When unset, the index lives in a user-level OS cache ( /code-auditor/projects/ /index.db) so it never lands inside the audited repo.
"Index the codebase and run a full audit, then walk the violations file-by-file with `code-audit next-file`."
"Create a `.codeauditor.json` that bans lodash imports and prevents `src/languages/` from importing anything in `src/analyzers/`."
"Run a full audit, fix the highest-priority file, and repeat `code-audit next-file` until the tree is clean."
"Sync the code index and audit only what changed vs main."
"Add an ast-pattern rule that blocks `new Function(...)`."
"Add a naming rule requiring hooks in `src/hooks/` to start with `use`."
"Add a call-constraint so `chargeCustomer()` in `src/services/payment.ts` can only be called from `src/api/`."
Seven kinds. The agent writes them to .codeauditor.json. Bad configs fail the audit, not silently.
| Kind | What it blocks |
|---|---|
import-ban | Banned module imports |
call-constraint | Function calls from unauthorized files |
module-boundary | Imports across module boundaries |
naming | Exported symbols not matching a pattern |
ast-pattern | AST nodes matching an ast-grep pattern |
style-mechanism | Unapproved style mechanisms per file/glob |
no-raw-values | Hardcoded values for specific CSS properties |
One skill, one CLI, one MCP server. Every agent gets the same audit engine — the hook contract is the only difference.
| Agent | Skill | Hooks / Blocking | MCP | Verified |
|---|---|---|---|---|
| Claude Code | Plugin or code-audit install | Yes — blocking | Yes | 2026-07-19 |
| Cursor | code-audit install --agent cursor (project-only) | Advisory | Yes | 2026-07-19 |
| Codex | code-audit install --agent codex + plugin | Yes — blocking | Yes | 2026-07-19 |
| Gemini CLI | code-audit install --agent gemini | No | Yes | 2026-07-19 |
| VS Code / Copilot | code-audit install --agent agents | No | Yes | 2026-07-19 |
| Other SKILL.md tools | code-audit install --agent agents | No | Yes | 2026-07-19 |
| ZCode | code-audit install --agent zcode | No (plugin-scoped) | Yes | 2026-09-10 |
MCP config generation covers a wider set than skill install. The MCP server's generate tool writes a client config file for any of claude, codex, cursor, gemini, copilot, continue, awsq (AWS Q Developer), codeium (Codeium/Windsurf), vscode, cline, and zcode. Four of those — Continue, AWS Q Developer, Codeium/Windsurf, and Cline — are MCP-only: they have no file-based skill or hook path, so they connect through the generate tool rather than code-audit install.
Hook behavior: Blocking means the diff-scoped changed gate is tripped — an invariant rule that declares gating: true (a binary, per-rule flag, independent of severity) blocks the edit from landing (the agent sees the violation and fixes inline). Advisory means violations are reported through the strongest available feedback channel but the edit has already occurred. Cursor's afterFileEdit hook is fire-and-forget with no output consumption. MCP is available everywhere for shell-less use.
Code Auditor's built-in rules fall into two categories:
| Category | Meaning | Examples |
|---|---|---|
| Deterministic | Structural fact — an engineer would act on every finding | single-responsibility (300-line functions), solid/method-complexity (cyclomatic complexity > 20), solid/class-size (40+ method classes), dependency-inversion (concrete imports where an interface exists) |
| Advisory | Heuristic signal — may be wrong depending on domain | sql-injection-risk (AST-level string-pattern matching without type info), missing-org-filter (domain-specific — assumes SaaS tenant isolation), unknown-table (requires user-provided schema), dry/duplicate (token-identical blocks) |
Deterministic rules ship at critical or severe. Advisory rules ship at severe or high. Rules proven near-zero precision on a real corpus are disabled by default (off) — users opt in when the rule matches their domain.
Built-in severity defaults are recalibrated from real-corpus triage. The current defaults reflect measurement on three corpora: this tool's own codebase, Gin, and Excalidraw. Six data-access rules that produced near-zero precision across all three corpora are disabled by default.
Every disabled rule documents what corpus it *would* be useful on. Users can restore any rule via severityOverrides in .codeauditor.json:
{
"severityOverrides": { "sql-injection-risk": "critical", "missing-org-filter": "severe", "loop-query": "severe" } }
Severity overrides apply globally (before per-directory path profile caps). Setting a rule to "off" removes it from the output entirely.
The sql-injection-risk rule is disabled by default (off) after recalibration. On the self-audit corpus, it produced 0% precision — the rule misinterpreted TypeScript pattern-matching code (string constants like 'SELECT', 'FROM', 'WHERE' used for the tool's own SQL detection) as database queries. On the Gin and Excalidraw corpora, precision was also near zero.
When to re-enable it: your project's SQL is constructed via string concatenation or template literals in functions whose sole purpose is query assembly. The rule detects those patterns. For codebases using ORMs or parameterized queries exclusively, the rule produces noise.
To re-enable and block on SQL injection:
{
"severityOverrides": { "sql-injection-risk": "critical" } }
With sql-injection-risk: critical (and the rule marked gating), your agent's hook will block edits that introduce AST-level SQL injection patterns.
Every finding is a measurement, not a verdict — but measurements are occasionally wrong. When the agent hits a false positive (the rule is right in general, wrong for this specific code), it can dismiss *that one instance* rather than work around it:
code-audit dismiss <fingerprint> --reason "generated code, not hand-written"
The comes from the JSON report (every violation carries a fingerprint field). A written `--reason` is required, and the dismissal clears exactly one finding — rule + file + symbol — so the same rule still fires everywhere else. Dismissals live in a committed .codeauditor.dismissals.json, reviewable in a diff.
The reason an agent gives for dismissing a finding is the most useful signal for improving the rules. Code Auditor can send dismissed findings to an anonymous feedback service that collects them.
It is off by default and turned on only by an explicit opt-in, via any of three methods (in precedence order):
code-audit dismiss --telemetry … sends just that one dismissal; --no-telemetry suppresses one.CODE_AUDITOR_TELEMETRY=1 (or 0) as a machine-level default for headless/CI runs.code-audit telemetry status|enable|disable (or the telemetry MCP tool), which records the choice in your user config dir.telemetry enable needs no arguments: it opts in against the built-in service endpoint (overridable for self-hosting). Opting in generates an anonymous install ID: a random value generated locally, never derived from your machine, user, or project, used only to group submissions by source.
What is sent — the tool version, the rule ID, the urgency level, the dismissal reason exactly as typed, a structural AST signature (grammar kinds only, never their contents), a coarse language hint, a timestamp, and the anonymous install ID. What is never sent — source code, identifiers, literals, file paths, or anything derived from your code or environment. Sending is best-effort: offline or an unreachable endpoint is silent and never blocks an edit or fails a gate.
Co
Only the beginning is shown; read the rest in the repo