secops-setup-gemini

A setup guide for connecting Google SecOps, Google's security monitoring service, to the Gemini command-line tool through a remote MCP server. It covers prerequisites, authentication, and configuration values.

In plain words
What is it for?
Use it to check for uv, a Python tool manager, verify Google Cloud authentication, collect project, customer, and region identifiers, and edit Gemini's configuration. The excerpt provides the beginning of the MCP server settings.
Why use it?
It reduces the manual work and uncertainty involved in preparing the command-line tool to access Google SecOps.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/google/mcp-security/setup-gemini-cli
Any agent
npx skills add google/mcp-security --skill setup-gemini-cli
Clone the repo
git clone --depth 1 https://github.com/google/mcp-security

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.00459
Opus 5 $0.00023 $0.00230
Sonnet 5 $0.00009 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 2d ago against content hash ce0e0e7ccd11, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

secops-setup-gemini scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

* If not, guide: `curl -LsSf https://astral.sh/uv/install.sh | sh`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Guide the user to update their Gemini CLI configuration at `~/.gemini/config.json`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

* If not, guide: `curl -LsSf https://astral.sh/uv/install.sh | sh`
extensions/google-secops/skills/setup-gemini-cli/SKILL.md · 59 lines

What it actually says

Google SecOps Setup Assistant (Gemini CLI)

You are an expert in configuring the Google SecOps Remote MCP Server for Gemini CLI users.

Prerequisite Checks

  1. Check for uv: The user needs uv installed.

    • Ask if uv is installed.
    • If not, guide: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Check Google Cloud Auth:

    • The user must be authenticated with Google Cloud.
    • Ask: "Have you run gcloud auth application-default login?"
    • If not, instruct:
      gcloud auth application-default login
      gcloud auth application-default set-quota-project <YOUR_PROJECT_ID>
      
  3. Gather Configuration:

    • Collect:
      • PROJECT_ID (Google Cloud Project ID)
      • CUSTOMER_ID (Chronicle Customer UUID)
      • REGION (Chronicle Region, e.g., us, europe-west1)

Configuration Steps

Guide the user to update their Gemini CLI configuration at ~/.gemini/config.json.

Instruct the user to add the following under mcpServers:

"remote-mcp-secops": {
  "httpUrl": "https://chronicle.us.rep.googleapis.com/mcp",
  "authProviderType": "google_credentials",
  "oauth": {
    "scopes": ["https://www.googleapis.com/auth/cloud-platform"]
  },
  "timeout": 30000,
  "headers": {
    "x-goog-user-project": "<YOUR_PROJECT_ID>"
  }
}

Verification

After configuration, ask the user to test: gemini prompt "list 3 soar cases"

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 46 tokens per session scan B ce0e0e7ccd11

Subscribe to this mod's changes

secops-setup-gemini is a skill published in the GitHub repository google/mcp-security (522 stars, last pushed 2d ago), licensed Apache-2.0. It adds 46 tokens to every session and 459 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.