Skip to content

GitGuardian MCP Server

Find leaked secrets, triage GitGuardian incidents and create honeytokens.

Officialby GitGuardianHosted or on your computerChecked November 8, 2026

GitGuardian's MCP server lets Claude scan files for hardcoded credentials with GitGuardian's 500 plus detectors, then list, assign, tag and resolve the secret incidents in your workspace. It is hosted at mcp.gitguardian.com, with a separate EU address, and you sign in with OAuth; the tools you get follow the scopes you grant, and honeytokens and Public Monitoring only work on paid GitGuardian plans.

Who is GitGuardian MCP for?

  • Developers who want a secrets check on AI-written code
  • Security and DevSecOps teams
  • Teams already monitoring secrets with GitGuardian

What can you ask GitGuardian MCP to do?

Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.

Prompt 1
Scan this codebase for leaked secrets or API keys before I push.
Prompt 2
Show the open secret incidents assigned to me and explain how to fix each one.
Prompt 3
Group my open incidents by detector type and tell me which keys to rotate first.

How to connect GitGuardian to Claude

MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:

New to MCP? Read what an MCP server is and how to add one.

Easiest: paste this into Claude Code
Connect the GitGuardian MCP server to Claude Code for me: run this command: claude mcp add --transport http gitguardian https://mcp.gitguardian.com/mcp
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.

Or do it yourself:

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

Type /mcp inside Claude Code, pick the server and choose Authenticate to sign in.

Hosted address: https://mcp.gitguardian.com/mcp

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Good to know

EU workspaces use https://mcp.eu1.gitguardian.com/mcp. The tools you see depend on the OAuth scopes you grant, and GitGuardian notes that requests pass through mcp.gitguardian.com as well as api.gitguardian.com. The local stdio server runs with uvx and a personal access token (set ENABLE_LOCAL_OAUTH=false); its older browser sign-in mode for stdio is deprecated.

How did we check GitGuardian MCP?

Reviewed again on November 8, 2026: the GitGuardian/ggmcp repo (MIT, release 0.7.4 at the time; on November 22, 2026 GitHub showed release v0.8.0 from November 19 and 44 stars), its README for the hosted, self-hosted and local setups, and GitGuardian's pricing page. Both hosted endpoints, US and EU, answered our MCP request with an OAuth challenge. We have not connected a workspace.

Source: github.com/GitGuardian/ggmcp

What to do next

Run prompt 1 on your project before the next push; if it finds a real key, rotate it at the provider first, then remove it from the code. To keep it from happening again, add permission rules that stop Claude from reading your .env files: the free Claude Code cheat sheet includes ready rule sets, and the Claude Code course (early access) opens with installing and setting up Claude Code, which is where rules like these belong.

What do people ask about GitGuardian MCP?

What do I need on the GitGuardian side?

The server is free and open source under the MIT license. It works with a GitGuardian account, and the free Starter plan covers up to 25 developers with unlimited real-time scanning and 10,000 API calls a month. Honeytokens come with NHI Governance on the Enterprise plan, and Public Monitoring is on paid plans (gitguardian.com/pricing, checked November 8, 2026).

Which address should I use?

Use https://mcp.gitguardian.com/mcp for a US workspace and https://mcp.eu1.gitguardian.com/mcp for an EU workspace. If your company runs a self-hosted GitGuardian instance, you deploy the MCP server yourself, which the README documents with Docker.

What can Claude do inside my GitGuardian workspace?

Only what the scopes you grant allow. GitGuardian says the server defaults to read-only-leaning permissions; with write scopes, Claude can assign, tag and resolve incidents and open remediation pull requests, so review what it does before you approve.

Can it check code before I commit it?

Yes. The scan tool checks the files you point it at, whether or not they are in Git yet, which is why the first prompt above asks for a scan before you push. Secrets already committed show up as incidents instead.

We wrote these answers from the official pages of each product named, read on November 8, 2026.