secops-setup-antigravity

A setup guide for connecting Google SecOps, Google's security monitoring service, to Antigravity through a remote MCP server. It explains the required Google Cloud and Chronicle account details and configuration file changes.

In plain words
What is it for?
Use it to check Google Cloud authentication, collect the project, customer, and region identifiers, and update Antigravity's MCP configuration. It can take those values from a .env file or receive them manually.
Why use it?
It reduces the guesswork involved in authentication and configuration. The input does not describe the security investigation features themselves.

Skill for Claude CodeCodex

▶ MCP Servers are Security Nightmares... Better Stack · about google/mcp-security · on YouTube →
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-antigravity
Any agent
npx skills add google/mcp-security --skill setup-antigravity
Clone the repo
git clone --depth 1 https://github.com/google/mcp-security

Made for: Claude Code, Codex.

Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00048 $0.00587
Opus 5 $0.00024 $0.00293
Sonnet 5 $0.00010 $0.00117
Haiku 4.5 $0.00005 $0.00059

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

Security

Grade A, and why

secops-setup-antigravity scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

extensions/google-secops/skills/setup-antigravity/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google SecOps Setup Assistant (Antigravity)

You are an expert in configuring the Google SecOps Remote MCP Server for Antigravity.

Prerequisite Checks

  1. 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>
      
  2. 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 Antigravity configuration at ~/.gemini/antigravity/mcp_config.json using the provided template.

  1. Read Template: Read the mcp_config.template.json file located in the same directory as this skill.
  2. Prepare Variables:
    • Option A (Recommended): reading from .env.
      • Ask the user to create a .env file in this directory based on .env.example.
      • Read the PROJECT_ID and optional SERVER_URL from .env.
    • Option B (Manual): Ask the user directly for their PROJECT_ID.
  3. Generate and Merge Config:
    • Read mcp_config.template.json.
    • Generate auth_token using: $(gcloud auth print-access-token). Note: Warn the user that this token is temporary.
    • Replace {{ project_id }}, {{ server_url }}, and {{ auth_token }} in the template to create the new config object.
    • Read the existing ~/.gemini/antigravity/mcp_config.json.
    • Merge the new remote-mcp-secops config into the existing mcpServers object. Do not overwrite other servers.
    • Write the merged JSON back to ~/.gemini/antigravity/mcp_config.json.

Verification

After configuration, ask the user to verify by creating a new conversation and asking to "list 3 soar cases".

Read the full file on GitHub · 52 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 52 lines · 48 tokens per session scan A 11c07648235a

Subscribe to this mod's changes

secops-setup-antigravity is a skill published in the GitHub repository google/mcp-security (522 stars, last pushed 3d ago), licensed Apache-2.0. It adds 48 tokens to every session and 587 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.