---
title: "GitGuardian"
url: "https://agentconnectors.dev/tools/gitguardian"
updated: "2026-10-14"
source_url: "https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md"
---

# GitGuardian

GitGuardian is an MCP server an agent can use to scan projects using GitGuardian's API, which features over 500 secret detectors to prevent credential leaks before they reach public repositories.

- Category: [Security](https://agentconnectors.dev/categories/security)
- Collection: Official integration
- Status: active
- Publisher: Unknown. Not confirmed from the repository org, a registry namespace, or a redirect. Unknown is the default. Source: https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md
- Kind: mcp-server
- Listing: https://github.com/GitGuardian/gg-mcp
- Repository: https://github.com/GitGuardian/gg-mcp
- Homepage: Not listed
- Package: Not listed
- Successor: Not listed
- Source: https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md
- Page: https://agentconnectors.dev/tools/gitguardian
- JSON: https://agentconnectors.dev/api/tools/gitguardian.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/GitGuardian/gg-mcp/blob/HEAD/README.md

- Remote URL: https://mcp.gitguardian.com/mcp
- Env vars named in the local snippet: ENABLE_LOCAL_OAUTH, GITGUARDIAN_PERSONAL_ACCESS_TOKEN, GITGUARDIAN_URL

### Claude Desktop (remote)

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

### Claude Code (remote)

```
claude mcp add --transport http gitguardian "https://mcp.gitguardian.com/mcp"
```

### Cursor (remote)

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

### VS Code (remote)

```json
{
  "servers": {
    "gitguardian": {
      "type": "http",
      "url": "https://mcp.gitguardian.com/mcp"
    }
  }
}
```

### Claude Desktop (local)

```json
{
  "mcpServers": {
    "gitguardian": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/GitGuardian/ggmcp.git",
        "gg-mcp-server"
      ],
      "env": {
        "ENABLE_LOCAL_OAUTH": "false",
        "GITGUARDIAN_PERSONAL_ACCESS_TOKEN": "your_pat_here",
        "GITGUARDIAN_URL": "https://dashboard.gitguardian.com"
      }
    }
  }
}
```

### Claude Code (local)

```
claude mcp add gitguardian -e ENABLE_LOCAL_OAUTH="false" -e GITGUARDIAN_PERSONAL_ACCESS_TOKEN="your_pat_here" -e GITGUARDIAN_URL="https://dashboard.gitguardian.com" -- uvx --from git+https://github.com/GitGuardian/ggmcp.git gg-mcp-server
```

### Cursor (local)

```json
{
  "mcpServers": {
    "gitguardian": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/GitGuardian/ggmcp.git",
        "gg-mcp-server"
      ],
      "env": {
        "ENABLE_LOCAL_OAUTH": "false",
        "GITGUARDIAN_PERSONAL_ACCESS_TOKEN": "your_pat_here",
        "GITGUARDIAN_URL": "https://dashboard.gitguardian.com"
      }
    }
  }
}
```

### VS Code (local)

```json
{
  "servers": {
    "gitguardian": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/GitGuardian/ggmcp.git",
        "gg-mcp-server"
      ],
      "env": {
        "ENABLE_LOCAL_OAUTH": "false",
        "GITGUARDIAN_PERSONAL_ACCESS_TOKEN": "your_pat_here",
        "GITGUARDIAN_URL": "https://dashboard.gitguardian.com"
      }
    }
  }
}
```

Added 2026-10-14.

## Related in Security

- [Mobb](https://agentconnectors.dev/tools/mobb)
- [Port IO](https://agentconnectors.dev/tools/port-io)
- [Red Hat Insights](https://agentconnectors.dev/tools/red-hat-insights)
- [SafeDep](https://agentconnectors.dev/tools/safedep)
- [SafeLine](https://agentconnectors.dev/tools/safeline)
- [Secureframe](https://agentconnectors.dev/tools/secureframe)
