# Connect an AI tool

Hackbait runs a remote Model Context Protocol (MCP) server. Add it to any tool that supports remote MCP, sign in, then ask for a scan in plain words.

## Quick start

1. Add a remote MCP server in your tool. Use the address `https://hackbait.com/mcp` (Streamable HTTP).
2. Sign in when the tool asks. We email a one-time link, then you click a consent button. No password.
3. Confirm two tools appear: `surface_scan` and `vulnerability_scan`.
4. Ask for a Surface Scan of a site you own or are allowed to have checked.

Prefer a key? Create one in your [dashboard](https://hackbait.com/developers/dashboard) and send it as `Authorization: Bearer YOUR_API_KEY`.

## Things to ask

- Check example.com for issues that can be seen publicly by hackers.
- Is this site ready to launch? Run a Surface Scan and tell me the grade and the top issues.
- Start a Vulnerability Scan on my verified site and tell me when the report is ready.

Hackbait shows the grade, the issues in plain words and the steps to fix each one. You or your developer make the changes; Hackbait does not change the site.

**Generic JSON configuration**

Many tools accept a block like this. Key names differ between tools (`url`, `serverUrl`, `type`), so check your tool's docs for the exact form.

```
{
  "mcpServers": {
    "hackbait": {
      "url": "https://hackbait.com/mcp"
    }
  }
}
```

With an API key instead of the sign-in flow:

```
{
  "mcpServers": {
    "hackbait": {
      "url": "https://hackbait.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

**Sign-in and discovery addresses**

Tools that follow the MCP sign-in standard find everything themselves from these addresses:

- `https://hackbait.com/.well-known/oauth-protected-resource`
- `https://hackbait.com/.well-known/oauth-authorization-server`

## Costs

- A Surface Scan costs $0.15 from prepaid credits.
- A Vulnerability Scan costs $20 (sold in packs: 5 for $100).
- A new verified email starts with $1 of free credit. Any one site gets at most 3 free scans in total; paid use is not capped by that free limit.
- The smallest credit purchase is $20. You can turn on auto top-up in the dashboard.

These amounts come from the same settings as the [Developers page](https://hackbait.com/developers). Consumer prices for the Fix-it Guide, Deep Scan and Monitor Plus are on [Pricing](https://hackbait.com/pricing).

## Setup by tool

Menu names change between versions. Each section links the tool's own documentation; if a menu name here no longer matches, follow that page. You add Hackbait by its address.

### Claude

- Claude Code: run `claude mcp add --transport http hackbait https://hackbait.com/mcp`, then run `/mcp` inside a session to sign in.
- Claude on the web and desktop: add a custom connector with the same address under Connectors in settings. Check the current instructions for the exact menu name.
- Docs: [code.claude.com](https://code.claude.com/docs/en/mcp)

### ChatGPT

- Where it applies, ChatGPT can add a custom MCP server by address. Availability depends on your plan and your workspace's settings, so check OpenAI's current instructions.
- Use the address `https://hackbait.com/mcp` and choose OAuth sign-in if asked.
- Docs: [developers.openai.com](https://developers.openai.com/api/docs/guides/developer-mode)

### Cursor

- Open Cursor's MCP settings (or edit `mcp.json`) and add a server with a `url`; sign in when Cursor opens the browser.
- With a key, add a `headers` entry with `Authorization: Bearer YOUR_API_KEY`.
- Docs: [cursor.com](https://cursor.com/docs/mcp)

```
{
  "mcpServers": {
    "hackbait": {
      "url": "https://hackbait.com/mcp"
    }
  }
}
```

### VS Code (GitHub Copilot)

- Run **MCP: Add Server** from the Command Palette, choose the HTTP option and paste the address.
- Where the entry is saved depends on your VS Code version; check the docs for the exact file name.
- Docs: [code.visualstudio.com](https://code.visualstudio.com/docs/copilot/customization/mcp-servers)

### Cline

- Open the MCP Servers panel, then Configure MCP Servers, and add an entry like the one below.
- Docs: [docs.cline.bot](https://docs.cline.bot/mcp/adding-and-configuring-servers)

```
{
  "mcpServers": {
    "hackbait": {
      "type": "streamableHttp",
      "url": "https://hackbait.com/mcp"
    }
  }
}
```

### Windsurf

- Open Windsurf's MCP settings and add a remote server with the address above. Check the docs for the exact field names.
- Docs: [docs.windsurf.com](https://docs.windsurf.com/windsurf/cascade/mcp)

### Any other MCP client

Choose a remote or Streamable HTTP server, enter `https://hackbait.com/mcp`, and finish the sign-in. If your client cannot open a browser, use an API key.

If sign-in fails: request a new link (links work once and expire), open it on the same device, and check your spam folder.
