# PatchLabs MCP server

> Performs security leak checks and provides automated fixes for AI-built applications, focusing on RLS, headers, and data exposure.

- Repository: https://github.com/manra399/patchlabs
- Page: https://hostedmcp.org/servers/manra399/patchlabs
- Transport: remote
- Stars: 0
- Latest version: 3.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http patchlabs https://api.patchlabs.dev/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "patchlabs": {
      "url": "https://api.patchlabs.dev/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "patchlabs": {
      "type": "http",
      "url": "https://api.patchlabs.dev/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"patchlabs","type":"http","url":"https://api.patchlabs.dev/mcp"}'
```

### Codex

```sh
codex mcp add patchlabs --url https://api.patchlabs.dev/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.patchlabs]
url = "https://api.patchlabs.dev/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http patchlabs https://api.patchlabs.dev/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "patchlabs": {
      "url": "https://api.patchlabs.dev/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I verify that I own a GitHub repository for a check?

You must prove ownership by committing a file named `patchlabs-verify.txt` containing a one-time code to the repository.

### What tools are available through the MCP server?

The MCP server provides tools for RLS checks, starting a check, getting a check, listing apps, and running a check.
