Skip to content

Commit b3480a4

Browse files
Deployed cb0a9dc to . with MkDocs 1.6.1
1 parent 240a290 commit b3480a4

File tree

8 files changed

+265
-263
lines changed

8 files changed

+265
-263
lines changed

β€Žcodacy-guardrails/codacy-guardrails-getting-started/index.htmlβ€Ž

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta name="description" content="Codacy Guardrails is a brand new way of enforcing code security and quality standards for AI-generated code, built into the free Codacy IDE Extension for VSCode, Copilot, Cursor, and Windsurf. Guardrails help developers ship safer, cleaner AI code by applying best practices and blocking insecure patterns while the code is being generated.">
1212

1313

14-
<meta http-equiv="last-modified" content="2025-08-28 14:09:04">
14+
<meta http-equiv="last-modified" content="2025-09-26 15:25:33">
1515

1616

1717
<link rel="canonical" href="https://docs.codacy.com/codacy-guardrails/codacy-guardrails-getting-started/">
@@ -4735,15 +4735,17 @@ <h3 id="2-install-and-activate-the-codacy-cli-for-local-analysis">2. Install and
47354735
<p class="admonition-title">Note</p>
47364736
<p>The IDE extension will ignore any CLI version already installed (e.g. through brew or other package manager) on the machine.</p>
47374737
</div>
4738-
<h3 id="3-install-mcp-server">3. Install MCP Server<a class="headerlink" href="#3-install-mcp-server" title="Permanent link">#</a></h3>
4739-
<h4 id="a-add-the-codacy-mcp-server">a. Add the Codacy MCP Server<a class="headerlink" href="#a-add-the-codacy-mcp-server" title="Permanent link">#</a></h4>
4740-
<p>In the Codacy Extension tab, click <strong>Add Codacy MCP Server</strong></p>
4741-
<p><img alt="Add Codacy MCP Server" src="../images/add-codacy-mcp-server.png" /></p>
4742-
<h4 id="b-check-if-the-codacy-mcp-server-is-enabled">b. Check if the Codacy MCP Server is enabled<a class="headerlink" href="#b-check-if-the-codacy-mcp-server-is-enabled" title="Permanent link">#</a></h4>
4743-
<p>On the left side menu of the Codacy extension, please make sure that MCP server is set up and ready.</p>
4744-
<p><img alt="Codacy MCP Server is enabled" src="../images/mcp-server-enabled.png" /></p>
4745-
<h3 id="4-restart-your-ide">4. Restart your IDE<a class="headerlink" href="#4-restart-your-ide" title="Permanent link">#</a></h3>
4746-
<h3 id="5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat">5. After everything is set up, you should now be able to interact with Codacy via AI chat.<a class="headerlink" href="#5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat" title="Permanent link">#</a></h3>
4738+
<h3 id="3-check-if-the-codacy-mcp-server-is-properly-setup">3. Check if the Codacy MCP Server is properly setup<a class="headerlink" href="#3-check-if-the-codacy-mcp-server-is-properly-setup" title="Permanent link">#</a></h3>
4739+
<p>Codacy MCP Server will be installed automatically when starting the extension, and an instructions file will be created in your workspace. </p>
4740+
<p>If you don't want Guardrails to automatically generate the instructions file, go to the extension's settings and set the instructions generation setting to manual.</p>
4741+
<p><img alt="Guardrails instructions setting" src="../images/guardrails-instructions-setting.png" /></p>
4742+
<div class="admonition warning">
4743+
<p class="admonition-title">Warning</p>
4744+
<p>The absence of the instructions file will impact the Guardrails experience.</p>
4745+
</div>
4746+
<p>You can later generate the instructions manually from the Guardrails section of the extension.</p>
4747+
<p><img alt="Generate instructions file" src="../images/guardrails-generate-instructions-file.png" /></p>
4748+
<h3 id="4-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat">4. After everything is set up, you should now be able to interact with Codacy via AI chat.<a class="headerlink" href="#4-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat" title="Permanent link">#</a></h3>
47474749
<ul>
47484750
<li>Remember that for you to be able to interact with Codacy MCP server, you must be on the <code>Agent</code> mode of the chat, not the default <code>Ask</code> mode.</li>
47494751
<li>If you're still having issues with the MCP server, try to run the command <code>Preferences: Open User Settings (JSON)</code>, look for the Codacy MCP server settings and right on top of it you'll should see a <code>Start</code> option. Click on it and, if unsuccessful, go to <code>View &gt; Debug Console</code> and check for errors. Don't forget to ensure you have <code>node.js</code> and <code>npx</code> installed and set up.</li>
@@ -4892,11 +4894,11 @@ <h3 id="2-install-and-activate-the-codacy-cli-for-local-analysis_1">2. Install a
48924894
<p class="admonition-title">Note</p>
48934895
<p>The IDE extension will ignore any CLI version already installed (for example, through brew or other package manager) on the machine.</p>
48944896
</div>
4895-
<h3 id="3-install-mcp-server_1">3. Install MCP Server<a class="headerlink" href="#3-install-mcp-server_1" title="Permanent link">#</a></h3>
4896-
<h4 id="a-add-the-codacy-mcp-server_1">a. Add the Codacy MCP Server<a class="headerlink" href="#a-add-the-codacy-mcp-server_1" title="Permanent link">#</a></h4>
4897+
<h3 id="3-install-mcp-server">3. Install MCP Server<a class="headerlink" href="#3-install-mcp-server" title="Permanent link">#</a></h3>
4898+
<h4 id="a-add-the-codacy-mcp-server">a. Add the Codacy MCP Server<a class="headerlink" href="#a-add-the-codacy-mcp-server" title="Permanent link">#</a></h4>
48974899
<p>After clicking on the Codacy icon on the lower right of the editor, click on <strong>Install AiAgent MCP</strong></p>
48984900
<p><img alt="Add Codacy MCP Server" src="../images/codacy-extension-activate-cli-jetbrains.png" /></p>
4899-
<h4 id="b-check-if-the-codacy-mcp-server-is-enabled_1">b. Check if the Codacy MCP Server is enabled<a class="headerlink" href="#b-check-if-the-codacy-mcp-server-is-enabled_1" title="Permanent link">#</a></h4>
4901+
<h4 id="b-check-if-the-codacy-mcp-server-is-enabled">b. Check if the Codacy MCP Server is enabled<a class="headerlink" href="#b-check-if-the-codacy-mcp-server-is-enabled" title="Permanent link">#</a></h4>
49004902
<p>In your IntelliJ settings, search the settings for the agent of your choice (Junie or Copilot) and confirm that Codacy is listed on the MCP settings tab.</p>
49014903
<p><img alt="Codacy MCP Server is enabled" src="../images/mcp-settings-extension-jetbrains.png" /></p>
49024904
<div class="admonition note">
@@ -4915,7 +4917,7 @@ <h4 id="d-generate-ai-guidelines">d. Generate AI guidelines<a class="headerlink"
49154917
<p>You need to install the plugin for your desired agent. Make sure to install JetBrains Junie or GitHub Copilot if you want to integrate the Codacy MCP.</p>
49164918
</div>
49174919
<h3 id="4-restart-your-ide-to-apply-changes">4. Restart your IDE to apply changes<a class="headerlink" href="#4-restart-your-ide-to-apply-changes" title="Permanent link">#</a></h3>
4918-
<h3 id="5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat_1">5. After everything is set up, you should now be able to interact with Codacy via AI chat.<a class="headerlink" href="#5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat_1" title="Permanent link">#</a></h3>
4920+
<h3 id="5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat">5. After everything is set up, you should now be able to interact with Codacy via AI chat.<a class="headerlink" href="#5-after-everything-is-set-up-you-should-now-be-able-to-interact-with-codacy-via-ai-chat" title="Permanent link">#</a></h3>
49194921
<ul>
49204922
<li>Remember that for you to be able to interact with the Codacy MCP server, you must be on the <code>Agent</code> mode of the chat (<code>Code</code> on Junie), not <code>Ask</code> nor <code>Edit</code> mode.</li>
49214923
</ul>
@@ -5077,7 +5079,7 @@ <h3>Share your feedback πŸ“’</h3>
50775079
<div class="md-source-date">
50785080
<small>
50795081

5080-
Last modified <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">August 28, 2025</span>
5082+
Last modified <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 26, 2025</span>
50815083

50825084
</small>
50835085
</div>
71.5 KB
Loading
53.9 KB
Loading

β€Žfeed_rss_created.xmlβ€Ž

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

β€Žfeed_rss_updated.xmlβ€Ž

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

β€Žsearch/search_index.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
Β (0)