GG

gitguardian/ggmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

43 stars 15 forks 品質 86 トレンド 21MIT

GitGuardian の API を使用してハードコードされたシークレットを修復するための MCP サーバー。 600以上の秘密タイプを検知し、コードが公開される前にクレデンシャル漏れを防ぎます.

概要

GitGuardianの秘密の検出とインシデント管理をAIエージェントに持ち込む。 既存のインシデントを漏洩、トリアージし、ハニトケンスを生成し、検索結果を回復させる前に、資格情報のためのスキャンコードをスキャンします。これは、IDEまたはチャットクライアントの内側からすべて、GitGuardianの500 +ディテクタによってバックアップされます。 MCP サーバーは、新しいテクノロジーです。 代理人は、あなたの代わりに、あなたの責任の下で行動します。 信頼できるMCPサーバーを使用して、ツールとやり取りするときにエージェントのアクションを確認します。 ブラストを制限するには、サーバーのデフォルトで読み取りのみの権限を読み取ります。実際に公開されているのは、アクセストークンが保持する OAuth スコープによって決定されます。 - — 漏れた認証情報を積極的にスキャンします。 - — — リスト、フィルタリング、割り当て、解決、タグインシデント(内部および公共監視インシデントの両方)。 - — ハニトケンを生成し、既存のものをリストします。 - - ワークスペースモニターのリポジトリに秘密を修復するプルリクエストを開きます.

概要(AI 翻訳)

GitGuardianの秘密の検出とインシデント管理をAIエージェントに持ち込む。 既存のインシデントを漏らす前に認証コードをスキャンし、生成 ハニトケンス、および検索の修正 — IDE またはチャット クライアントの内部からすべて、 GitGuardian の 500 以上のディテクタでバックアップ。

[!注意] MCP サーバーは、新しいテクノロジーです。 代理人は、あなたの代理および下で行動します お客様の責任 信頼できるMCPサーバーおよび査読の代理店の行為を使用して下さい 彼らはツールと相互作用します。 ブラストの半径を制限するには、サーバーのデフォルトは、 読み取りのみの権限; 実際に露出されているものは、 OAuth はアクセストークンを保持するスコープです。

それが何をするか

  • Secret Scan — 漏れた認証情報をスキャンします。 -インシデント管理 — リスト、フィルタ、割り当て、解決、タグインシデント (内部・公共監視事件)
  • Honeytokens — ハニトケンを生成し、既存のものをリストします。
  • コード・フィックス・オートメーション — 秘密を是正するプルリクエストを開く ワークスペースモニターのリポジトリ。

エージェントに露出したツールの正確なセットは OAuth スコープに依存します。 アクセストークンに付与されます。

プロンプト例

クイックスタート

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

GitGuardian MCP Server

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:

Region URL
US SaaS https://mcp.gitguardian.com/mcp
EU SaaS https://mcp.eu1.gitguardian.com/mcp
Self-hosted See Self-hosting the MCP server

Cursor

Edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "GitGuardian": {
      "type": "http",
      "url": "https://mcp.gitguardian.com/mcp"
    }
  }
}

Claude Desktop

Edit ~/Library/Application Support/Claude Desktop/mcp.json (macOS) or %APPDATA%\Claude Desktop\mcp.json (Windows). Same JSON as Cursor. Claude Desktop versions that pre-date HTTP MCP support need the Local stdio fallback.

Claude.ai (web)

Add the server in Settings → Connectors → Add custom connector with the URL above. OAuth is handled in the browser tab.

Windsurf

GitHub で README 全文を見る

インストール

uvx --from git+https://github.com/GitGuardian/ggmcp.git gg-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "GitGuardian": { "type": "http", "url": "https://mcp.gitguardian.com/mcp" } } }