Once your setup is clean, lock it. Next time something changes, you'll know.
$ mcp-audit lock
$ git add mcp-lock.json && git commit -m "Lock approved MCP servers"
…later, someone edits a server…$ mcp-audit lock --verify
LOCK-001 Server drifted from lock: 'notion'
$ mcp-audit lock --accept # after you've reviewed it
Lock approved servers
Team & CI
mcp-audit lock
What
Writes mcp-lock.json, a record of the servers you approved. Commit it. lock --verify fails if anything changes; lock --accept approves a reviewed change.
Why it matters
Turns “someone quietly changed a server” into a failed check in a pull request.
Shows mcp-audit findings as squiggles inside your MCP config files while you edit them. Install it from Open VSX in Cursor, Windsurf, VSCodium or any editor that uses Open VSX.
Why it matters
Security feedback where you already work, no terminal needed. Not yet on Microsoft's VS Code Marketplace; VS Code users can download the .vsix from the Open VSX page and choose “Install from VSIX”.
Give it an advisory ID or a package and version range, and it answers for every MCP server on the machine: affected, not affected, or couldn't check, with the evidence. --fix shows the pin that closes it; --format openvex writes a VEX document.
Why it matters
Turns “there's a new CVE in an agent tool” into a yes or no for your own setup in one command, and says what the server could reach if it was affected.