You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codacy-guardrails/codacy-guardrails-getting-started/index.html
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
<metaname="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.">
<h4id="b-check-if-the-codacy-mcp-server-is-enabled">b. Check if the Codacy MCP Server is enabled<aclass="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><imgalt="Codacy MCP Server is enabled" src="../images/mcp-server-enabled.png" /></p>
4745
-
<h3id="4-restart-your-ide">4. Restart your IDE<aclass="headerlink" href="#4-restart-your-ide" title="Permanent link">#</a></h3>
4746
-
<h3id="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.<aclass="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
+
<h3id="3-check-if-the-codacy-mcp-server-is-properly-setup">3. Check if the Codacy MCP Server is properly setup<aclass="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>
<h3id="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.<aclass="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>
4747
4749
<ul>
4748
4750
<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>
4749
4751
<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 > 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
4892
4894
<pclass="admonition-title">Note</p>
4893
4895
<p>The IDE extension will ignore any CLI version already installed (for example, through brew or other package manager) on the machine.</p>
<h4id="b-check-if-the-codacy-mcp-server-is-enabled_1">b. Check if the Codacy MCP Server is enabled<aclass="headerlink" href="#b-check-if-the-codacy-mcp-server-is-enabled_1" title="Permanent link">#</a></h4>
4901
+
<h4id="b-check-if-the-codacy-mcp-server-is-enabled">b. Check if the Codacy MCP Server is enabled<aclass="headerlink" href="#b-check-if-the-codacy-mcp-server-is-enabled" title="Permanent link">#</a></h4>
4900
4902
<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>
4901
4903
<p><imgalt="Codacy MCP Server is enabled" src="../images/mcp-settings-extension-jetbrains.png" /></p>
4902
4904
<divclass="admonition note">
@@ -4915,7 +4917,7 @@ <h4 id="d-generate-ai-guidelines">d. Generate AI guidelines<a class="headerlink"
4915
4917
<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>
4916
4918
</div>
4917
4919
<h3id="4-restart-your-ide-to-apply-changes">4. Restart your IDE to apply changes<aclass="headerlink" href="#4-restart-your-ide-to-apply-changes" title="Permanent link">#</a></h3>
4918
-
<h3id="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.<aclass="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
+
<h3id="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.<aclass="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>
4919
4921
<ul>
4920
4922
<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>
4921
4923
</ul>
@@ -5077,7 +5079,7 @@ <h3>Share your feedback π’</h3>
5077
5079
<divclass="md-source-date">
5078
5080
<small>
5079
5081
5080
-
Last modified <spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">August 28, 2025</span>
5082
+
Last modified <spanclass="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 26, 2025</span>
0 commit comments