Atlas / MCP servers / gitguardian / GitGuardian

GitGuardianCAUTION

mcp/gitguardian/gitguardian-1

MCP server for remediating hardcoded secrets using GitGuardian’s API. It detects over 600 secret types and prevents credential leaks before code is made public.

Verdict
CAUTION
Grade
B
Trust score
85 /100
Exposed tools
16 14r · 2w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
36
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Bring GitGuardian's secret detection and incident management into your AI agent. Scan code for credentials before they leak, triage existing incidents, generate honeytokens, and remediate findings — all from inside your IDE or chat client, backed by GitGuardian's 500+ detectors.

[!CAUTION] MCP servers are an emerging technology. Agents act on your behalf and under your responsibility. Use trusted MCP servers and review agent actions when they interact with tools. To limit blast radius the server defaults to read-only-leaning permissions; what is actually exposed is determined by the OAuth scopes your access token holds.

What it does

  • Secret scanning — proactively scan files for leaked credentials.
  • Incident management — list, filter, assign, resolve, and tag incidents

(both internal and Public Monitoring incidents).

  • Honeytokens — generate honeytokens and list existing ones.
  • Code-fix automation — open pull requests that remediate secrets in

repositories your workspace monitors.

The exact set of tools exposed to your agent depends on the OAuth scopes granted to your access token.

Prompt examples

Scan this codebase for any leaked secrets or credentials.
Remediate all incidents related to my project.
Check if there are any new security incidents assigned to me.
Help me understand this security incident and provide remediation steps.
List all my active honeytokens.
Generate a new honeytoken for monitoring AWS credential access.
Create a honeytoken named 'dev-database' and hide it in config files.

Quick start

The recommended way to run the GitGuardian MCP server is to point your MCP client at the hosted server. The MCP client handles OAuth automatically; no local install, no token to manage, no uvx.

Pick the URL that matches your GitGuardian region:

Read from source at commit 8fcc92f59108OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add ggmcp -- uvx ggmcp==0.7.1
03

Exposed tools (16)

14 read · 2 write · 0 destructive.

ToolRiskDescription
failing_toolreadraise RuntimeError(
filtered_toolreadreturn
get_current_token_inforeadReturn the current API token
my_toolreadpass
needs_bothreadreturn
needs_incidentsreadreturn
ping_toolreadreturn
scan_secretsreadAccept scan parameters without making an API request.
test_toolreadTest tool docstring.
tool_no_scopesreadreturn
tool_with_incidents_readreadTool requiring incidents:read scope.
tool_with_multiplereadreturn
tool_with_scanreadTool requiring scan scope.
tool_with_teams_writewriteTool requiring teams:write scope.
tool_with_unavailablereadreturn
tool_with_writewritereturn
04

Trust audit

CAUTIONgrade B · trust 85/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (8 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (17)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/call_mcp_http_server.py:10
client = Client("http://127.0.0.1:8088/mcp", auth=os.getenv("GITGUARDIAN_PERSONAL_ACCESS_TOKEN"))
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/run_http_server.py:5
os.environ["GITGUARDIAN_URL"] = os.environ.get("GITGUARDIAN_URL", "http://127.0.0.1:3000")
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/run_http_server.sh:1
GITGUARDIAN_URL=http://127.0.0.1:3000 \
LOWInventory / provenance · inv.hidden_file · CWE-1104
.coderabbit.yml
.coderabbit.yml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.windsurfrules
.windsurfrules
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
scripts/test_workspace_setup.py:54
module = importlib.import_module(dep)
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
scripts/test_workspace_setup.py:91
importlib.import_module(package_name)
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
scripts/test_workspace_setup.py:97
importlib.import_module(module)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/e2e/test_stdio_transport.py:100
"GITGUARDIAN_URL": f"http://127.0.0.1:{fake_gg_api.server_address[1]}",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_client.py:425
"http://127.0.0.1:3000",
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
tests/cassettes/client/vcr/test_get_honeytoken.yaml:511
blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabl
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
tests/cassettes/client/vcr/test_get_honeytoken.yaml:512
blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabl
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
tests/cassettes/client/vcr/test_get_honeytoken_without_token.yaml:511
blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabl
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
tests/cassettes/client/vcr/test_get_honeytoken_without_token.yaml:512
blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabl
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
tests/cassettes/client/vcr/test_list_honeytokens_basic.yaml:511
blablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablablabl

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 8fcc92f59108full audit observations/trust-audit/mcp-server/gitguardian__gitguardian-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-088fcc92f59108CAUTIONB85first audit
06

Questions

What is the GitGuardian MCP server?

MCP server for remediating hardcoded secrets using GitGuardian’s API. It detects over 600 secret types and prevents credential leaks before code is made public.

What tools does GitGuardian expose?

16 in total: 14 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is GitGuardian safe to connect to an agent?

With care. The audit graded it B (85/100) and found 17 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does GitGuardian need?

It reads ENABLE_LOCAL_OAUTH, GITGUARDIAN_API_KEY, GITGUARDIAN_PERSONAL_ACCESS_TOKEN, GITGUARDIAN_TOKEN_LIFETIME and GITGUARDIAN_TOKEN_NAME from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does GitGuardian run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as ggmcp.

How current is this page?

The grade is for one exact copy of the source (8fcc92f59108), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement