Is your app leaking keys? Find out in five minutes, free.

Paste one line into Claude Code, Cursor or Codex and your AI runs the secrets sweep on your project.

AI now finds holes faster than you can patch them. Find yours first.

Vibe-coded apps get written fast, by AI, and often nobody checks them.

On your phone? Make your free account now and run it on your computer later.

Make my free account

Your AI tool connects to The Lazy Developer through something called MCP. Think of it as a plug that lets your AI tool use other services. That is all you need to know about it. Setting it up takes about five minutes.

Before you start

  • A Lazy Developer account. Sign in or make one for free.
  • Claude Code, Cursor or Codex on your computer. Not yet? Our installation guide walks you through it.
  • Node.js, which runs the connector. To check, type node -v in a terminal. A number like v22.11.0 means you're set. An error means you need to install it from nodejs.org (pick the LTS button).

The ChatGPT and Claude chat apps can't read the code on your computer, so they can't run a Kit. Use one of the three tools above.

1Make your token

A token is a long password that lets your AI tool prove it is you. You make it on your Account page.

  1. Go to your Account page and open the Security tab.
  2. Under API tokens, type a name you'll recognise, like "My laptop", and click Create.
  3. Your token appears once, together with the step 2 instructions with the token already filled in. Follow them right there.
Go to my Account page

2Connect your AI tool

Pick the tool you use. Do this once per computer.

You type "claude" in a terminal to use it.

Swap PASTE_YOUR_TOKEN_HERE for your own token before you run it. Easier still: make the token on your Account page and these steps appear there with it already filled in.

  1. 1

    Open a terminal. On a Mac that is the Terminal app. On Windows, open PowerShell.

  2. 2

    Copy this whole line, paste it into the terminal and press Enter. It is one line, even if it wraps on your screen.

    claude mcp add --scope user lazydev -e LAZYDEV_API_TOKEN=PASTE_YOUR_TOKEN_HERE -- npx -y @thelazydeveloper/mcp
  3. 3

    Close Claude Code if it is open, then start it again in your project folder.

    claude

Did it work? Type /mcp in Claude Code. You should see "lazydev" in the list, marked as connected.

3Run your first check

Open the project you want to check in your AI tool, then type this into the chat:

Use lazydev to run the free secrets sweep on this project.

Your AI makes a log file for the audit, asks us for the first check, runs it on your code and tells you what it found. It only looks. Nothing in your project changes. Say "next" to move on, and your AI keeps going in order.

Own a Kit? Ask for it by name, for example "Use lazydev to run my Self-Audit Kit".

Before you run a full Kit, start your app on your computer and make two test accounts that own different numbers of records (say three and five). Some checks prove a finding by trying it against your running app, and your AI will ask you for the address and the two logins. The free sweep doesn't need any of this.

Your code stays on your computer

Your AI tool reads your code. We never see it. All we receive is which Kit you are running and the numbers of the checks you have finished, like "1.1" and "1.2". Your files, your findings and your log stay with you.

Keep your token private, like a password. Don't paste it into a project file, a chat or a screenshot. Shared it by mistake? Revoke it on your Account page and make a new one. The old one stops working straight away.

Stuck?

"npx: command not found" or "npx is not recognised"

Node.js isn't installed yet. Install the LTS version from nodejs.org, then close and reopen your terminal or AI tool.

"LAZYDEV_API_TOKEN is not set"

The token didn't make it into the setup. Do step 2 again and check the token is pasted in where it says PASTE_YOUR_TOKEN_HERE.

"This Lazy Developer API token is missing, wrong or revoked"

The token was mistyped or revoked. Make a new one on your Account page and do step 2 again with it.

Cursor on Windows shows lazydev with a red dot

Windows sometimes needs a slightly different setup. Use this in mcp.json instead, with your token pasted in, then restart Cursor:

{
  "mcpServers": {
    "lazydev": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "@thelazydeveloper/mcp"
      ],
      "env": {
        "LAZYDEV_API_TOKEN": "PASTE_YOUR_TOKEN_HERE"
      }
    }
  }
}

Your AI says it doesn't know "lazydev"

The tool didn't pick up the setup. Close it completely and open it again. Still nothing? Check the "Did it work?" line for your tool in step 2.

Still stuck? Send us a message and tell us which tool you use and what you see.

What your AI checks, free

  • 1.1 Keys written into your code
  • 1.2 Secrets your site sends to every visitor's browser
  • 1.3 Keys hiding in your git history
  • 1.4 Where your all-powerful database key is used, and who can reach it
  • 1.5 Every outside service you use, and what its key could cost you

It only looks. Nothing in your project changes, and your code never leaves your computer.

The rest of the Kit

The secrets sweep is phase 1 of the Self-Audit Kit. The other four phases check:

  • Who's allowed in: your logins and your database rules
  • Whose record is it, and what strangers can send you
  • Your headers, and the code you didn't write
  • Personal data and the law

You also get a fix prompt for what the checks find, and a proof set that shows each fix worked.

See the Self-Audit Kit

Want to go further? Kit 2: Beat the AI Attackers runs the checks AI attack tools use, on your own app.