# fbc-guard MCP server

> Performs static analysis on HTML and JavaScript to detect code errors that modify Meta click IDs like _fbc, _fbp, and fbclid.

- Repository: https://github.com/adsandcode/fbc-guard
- Page: https://hostedmcp.org/servers/adsandcode/fbc-guard
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add fbc-guard -- npx -y mcp-server-fbc-guard
```

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

```json
{
  "mcpServers": {
    "fbc-guard": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-fbc-guard"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "fbc-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-fbc-guard"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"fbc-guard","type":"stdio","command":"npx","args":["-y","mcp-server-fbc-guard"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "fbc-guard": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-fbc-guard"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add fbc-guard -- npx -y mcp-server-fbc-guard
```

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

```toml
[mcp_servers.fbc-guard]
command = "npx"
args = ["-y", "mcp-server-fbc-guard"]
```

### Gemini CLI

```sh
gemini mcp add -s user fbc-guard npx -- -y mcp-server-fbc-guard
```

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

```json
{
  "mcpServers": {
    "fbc-guard": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-fbc-guard"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `FBC_GUARD_ALLOW_PRIVATE` | no | no |  |

## Tools (2)

- `check_fbc_code`
- `check_fbc_url`

## FAQ

### What does fbc-guard check for?

It identifies patterns in landing page code that cause modified click ID warnings, such as incorrect timestamp formats, case changes, or unnecessary URL decoding.

### Can I use this in a CI/CD pipeline?

Yes, it can be used as a command-line tool for continuous integration.
