Setup gemini cli

From google/mcp-security · View interactive version

Setup gemini cli is an AI agent skill from the GitHub repository google/mcp-security. Helps the user configure the Google SecOps Remote MCP Server for Gemini CLI. Use this when the user asks to "set up" or "configure" the security tools for Gemini CLI.

How to use this skill

Skill file

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.
  1. Check Google Cloud Auth:

```bash

gcloud auth application-default login

gcloud auth application-default set-quota-project <YOUR_PROJECT_ID>

```

  1. Gather Configuration:

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"

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.