Codacy Guardrails is now available for Jetbrains IDEs

In this article:
Subscribe to our blog:

If you use a JetBrains IDE like IntelliJ IDEA, you can now leverage Codacy Guardrails' real-time feedback and AI-aware safeguards.

Codacy Guardrails now extends beyond VS Code and agentic IDEs like Cursor and Windsurf. We're bringing the same powerful safety and compliance features to the JetBrains ecosystem through our existing IntelliJ IDEA plugin.

Whether you build in VS Code, Cursor, Windsurf, or a JetBrains IDE, Guardrails helps you code confidently with real-time feedback and AI-aware safeguards, following your security and quality standards.

What is Codacy Guardrails?

Guardrails is a developer-first safety layer that integrates directly into your AI coding workflow. It combines:

  • An MCP server that integrates with AI agents to enforce safe coding practices and organizational policies.
  • A local analysis CLI tool that evaluates your code in real-time, before you even push or open a pull request.
  • An IDE extension that surfaces findings inline, so you can fix issues without ever leaving your editor.
 

A new workflow for enforcing security and coding standards

Here's what a typical Codacy Guardrails workflow looks like:

  1. You write or refactor code. The Codacy CLI scans changes locally, flags security and quality violations in real-time,  and guides you toward fixing them (with or without your AI agent).

  2. If you’re using an AI agent, the Codacy MCP Server helps your agent stay within safe
    boundaries by auto-fixing any violation of your Coding Standards.

  3. By the time you push and open a PR, your code is already secure and compliant, reducing findings from automated PR checks to near zero.

See it in action

Watch our demo below to see Codacy Guardrails in action on IntelliJ IDEA. Not only do we support local scanning with our CLI tool, but you can also leverage our MCP server, whether you're using GitHub Copilot or the newly released JetBrains Junie.

 


Get started with Guardrails for IntelliJ

  1. Add the Codacy extension to your JetBrains IDE

    image-Aug-27-2025-02-53-51-0070-PM
  2. Install the Guardrails CLI and run it alongside your development workflow

    image1-Aug-27-2025-02-54-53-5670-PM

  3. Connect your AI agent via the Codacy Guardrails MCP Server
    to auto-scan and fix AI code 

    image2-2

We’re excited to bring Guardrails to the JetBrains ecosystem and can’t wait to see what you build with safer, smarter guardrails guiding every commit.

Note: Due to limited MCP support for Junie on Windows, the Codacy MCP Server is currently only available for Mac and Linux. We will be  sharing more updates on this very soon.

Ready to give it a try? Install the CLI and the IDEA plugin, connect your agent if you use one, and start pushing code with confidence.

 

RELATED
BLOG POSTS

Ship Safer Code: Plug Codacy Guardrails Into Gemini CLI in 90 Seconds
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.
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

Group 13