Ship Safer Code: Plug Codacy Guardrails Into Gemini CLI in 90 Seconds

In this article:
Subscribe to our blog:

Gemini CLI (launched 25 Jun 2025) drops Google’s Gemini 2.5 Pro straight into your terminal with a whopping 1 M-token context and free preview limits. 

Codacy AI Guardrails adds an MCP “security copilot” layer on top of any LLM.

Just pop in a token, and it blocks risky suggestions before they hit your repo. 

Quick-start

 

Total wall-clock: ~90 seconds, including copy-paste.

 

Watch it in action

 

 

RELATED
BLOG POSTS

Codacy Guardrails is now available for Jetbrains IDEs
If you use a JetBrains IDE like IntelliJ IDEA, you can now leverage Codacy Guardrails' real-time feedback and AI-aware safeguards.
From Sonar to Codacy: How ihomer equipped their devs for the future with AI Guardrails
Key Outcomes:
Equipping Claude Code with Deterministic Security Guardrails in 5 Minutes
In a hurry? Skip to setup instructions 👇 Using Cursor, VSCode, or Windsurf? Get the native IDE extension

Automate code
reviews on your commits and pull request