How to security-scan a Lovable, Bolt or Cursor app from inside Claude or Cursor

By AI App Medic · Updated · Claude · Cursor · Security · Supabase

You can run the same free AI App Medic security scan from inside Claude or Cursor, without opening the website every time. Add the connector once, then say "scan my app" and the report comes back in the chat: a score, a grade, and findings with severity and fix steps.

The connector is at https://aiappmedic.com/mcp. It is read only, needs no account and no API key, and it calls the same scanner as the free scan page. It is built for apps shipped with Lovable, Bolt, Cursor, Replit or v0, especially those that use Supabase.

What you need

A public URL for the deployed app, for example https://my-app.lovable.app or your custom domain. The scan only talks to that live site. It cannot see localhost, private networks, or anything behind a login.

Set it up in Claude

  1. Open Settings, then Connectors.
  2. Choose Add custom connector.
  3. Paste https://aiappmedic.com/mcp and save. Leave authentication off.

In a new chat, ask Claude to use the AI App Medic connector and to scan your URL. If the connector does not appear, start a fresh chat after adding it, or check that it is enabled for that chat.

Set it up in Cursor

Add this to ~/.cursor/mcp.json (for every project), or to .cursor/mcp.json inside one project:

{
  "mcpServers": {
    "aiappmedic": {
      "url": "https://aiappmedic.com/mcp"
    }
  }
}

Reload Cursor, then ask it to scan your app in the chat. Other tools that accept a remote MCP server, including ChatGPT in developer mode, can use the same address.

Example prompts

Give the assistant the public URL. These work well:

The first three run the scan. The last two ask for an explanation of a finding type, including the fix steps this scanner recommends for Lovable, Bolt and Supabase apps. You can ask for an explanation even if you have not just run a scan.

What the scan checks

It is a passive check of what any visitor can already see. In about 5 to 40 seconds it looks at:

The report starts with a line like Score: 86/100 (grade B), then the findings, most serious first. Each finding has an id you can pass back when you ask what it means.

What stays hidden until you prove ownership

To keep the connector from being used to harvest someone else's secrets, these details stay hidden until the site owner verifies the domain:

The score still counts those findings. The result tells you that something is hidden and how to unlock it. Add one of the following, then scan again:

  1. A meta tag in the homepage <head>: <meta name="aiappmedic-verify" content="TOKEN">. On Lovable, Bolt and similar hosts, this is usually the easiest option.
  2. A text file at https://YOUR-DOMAIN/.well-known/aiappmedic.txt that contains only the token.
  3. A DNS TXT record on the domain with the value aiappmedic-verify=TOKEN.

The token is unique to your hostname. The scan result prints the exact tag, file contents and DNS value to copy. After it is live, ask the assistant to scan again. More detail is in the scan policy and in what the connector fetches and keeps.

Limits and fair use

Scan apps you own or have permission to check, or a public site you are evaluating. The scan will not follow credentials in a URL, non-standard ports, or local and private addresses. Each network can start 5 new scans per hour, and one site can be scanned 3 times per hour, so the connector cannot be used to hammer other people's sites. If you hit the limit, wait and try again, or use the scan page.

The scan cannot see server code, private repositories, or anything behind a login. Some findings may be intentional. It reduces risk; it is not a guarantee of security.

FAQ

Does this work in ChatGPT as well?

Yes, if your ChatGPT account can add a custom MCP server (developer mode). Use the same address, https://aiappmedic.com/mcp, with no authentication. The setup screens differ, but the tools and the report are the same.

Will the scan log in or change my app?

No. It only loads what any visitor's browser can already load: the homepage, its JavaScript, robots.txt, sitemap.xml and the links on the homepage. It does not log in, submit forms, guess passwords or write to your database.

Why are some findings hidden?

Details about exposed keys, database table names, row counts and source map URLs are shown only after you prove you own the site. That way a scan cannot be used to collect someone else's secrets. The score still includes those findings. The result explains how to verify ownership.

Can I scan a public site I am evaluating, not only my own app?

Yes. The scan is a passive, public-only check, the same kind of request a browser makes. Sensitive details stay hidden until the site owner verifies ownership.

Is there a limit?

Yes. Each network can start 5 new scans per hour, and one site can be scanned 3 times per hour. Results are reused for a few minutes if you ask again. The web scan at /scan has its own hourly limit.

Related guides