Codacy MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| codacy_cli | [INSTRUCTIONS] Runs analysis LOCALLY — does NOT require authentication or send code to the cloud. Results are in SARIF format. Common mistakes: (1) If CLI is not installed, suggest codacy_cli.install first. (2) Provide an ABSOLUTE path for directory — relative paths may fail. (3) On Windows, the CLI requires WSL. Tool redirection: For cloud-based analysis results, use codacy_issues.list instead. Run local code analysis using the Codacy CLI. Requires the CLI to be installed.. Select operation via the Workflow:
Run local code analysis using the Codacy CLI. Requires the CLI to be installed.. Requires: directory
Install the Codacy CLI for local analysis. [Cache-Control: no-store] |
| codacy_commits | [INSTRUCTIONS] Returns ONLY issues introduced by this specific commit — not the full repository issue list. Common mistake: using this to see all repository issues — use codacy_issues.list for that. Get issues introduced by a specific commit (delta issues only).. Select operation via the Workflow:
Get issues introduced by a specific commit (delta issues only).. Requires: commitSha
Get commit details with delta statistics (new/fixed issues, coverage change).. Requires: commitSha
List repository commits with their analysis status and delta metrics. [Cache-Control: no-store] |
| codacy_files | [INSTRUCTIONS] Returns code clone blocks — duplicated code segments. Requires a valid fileId. Common mistake: looking at individual files when codebase-wide duplication analysis is needed — for that, check file duplication metrics via codacy_files.list. Get duplication blocks (clones) detected in a file.. Select operation via the Workflow:
Get duplication blocks (clones) detected in a file.. Requires: fileId
Get line-by-line code coverage for a file.. Requires: fileId
Get file details with analysis metrics (grade, issues, complexity, coverage, duplication).. Requires: fileId
List files in a repository with analysis metrics. [Cache-Control: no-store] |
| codacy_issues | [INSTRUCTIONS] Use when the user wants to ignore many issues of the same pattern or category. Provide issue IDs, reason, and an optional comment. Common mistakes: (1) Do NOT bulk-ignore without user confirmation — always list the issues first and confirm. (2) Reason must be FalsePositive, WontFix, or NotRelevant. (3) Verify issue IDs exist before sending — invalid IDs silently fail. This action is idempotent — safe to retry if the request times out. Batch ignore multiple issues at once with a comment.. Select operation via the Workflow:
Batch ignore multiple issues at once with a comment.. Requires: issueIds, reason [DESTRUCTIVE]
Get issues for a specific file in the repository.. Requires: fileId
Mark a specific issue as ignored with a reason.. Requires: issueId, reason [DESTRUCTIVE]
Search and filter repository code quality issues.
Download auto-fix patches for issues that have quickfix suggestions available. [Cache-Control: no-store] |
| codacy_organizations | [INSTRUCTIONS] Lists repositories within the organization. Use search to filter by name. Common mistake: searching for repositories without first confirming the organization exists — use codacy_organizations.list first. Repositories must be added/followed in Codacy to appear — use codacy_repositories.setup to add new ones. List repositories in an organization.. Select operation via the Workflow:
List repositories in an organization.
List organizations the authenticated user belongs to. [Cache-Control: no-store] |
| codacy_overviewA | [INSTRUCTIONS] Returns category-level counts — use these to identify which category has the most issues, then drill down with codacy_issues.list filtering by that category. Get issue count breakdown by quality category (Security, Performance, CodeStyle, etc.).. Select operation via the Workflow:
Get issue count breakdown by quality category (Security, Performance, CodeStyle, etc.).
Get aggregated issue overview with server-rendered pie charts by category and severity. [Cache-Control: no-store] |
| codacy_pull_requestsB | [INSTRUCTIONS] Use ONLY when the user explicitly wants to override the quality gate — this is a deliberate decision with security implications. Common mistakes: (1) Bypassing without user confirmation. (2) Bypassing for quality issues that could be fixed — suggest fixing first. This action is idempotent — calling it twice has no additional effect. Bypass the analysis quality gate for a pull request. Allows merging even if quality standards are not met.. Select operation via the Workflow:
Bypass the analysis quality gate for a pull request. Allows merging even if quality standards are not met.. Requires: pullRequestNumber [DESTRUCTIVE]
Get pull request details with quality analysis results (isUpToStandards, new/fixed issues, coverage).. Requires: pullRequestNumber
List pull requests in a repository with analysis status.
Trigger a Codacy AI-powered code review on a pull request.. Requires: pullRequestNumber [DESTRUCTIVE] [Cache-Control: no-store] |
| codacy_qualityA | [INSTRUCTIONS] Returns the full threshold configuration for a policy. Use the policyId from codacy_quality.list_policies. Thresholds define pass/fail conditions for issues, coverage, complexity, and duplication. Get details of a specific gate policy including all thresholds.. Select operation via the Workflow:
Get details of a specific gate policy including all thresholds.. Requires: policyId
Get quality settings for a repository (commit/PR/repository thresholds).
List gate policies for an organization. [Cache-Control: no-store] |
| codacy_repositoriesA | [INSTRUCTIONS] Returns the overall repository health: Grade (A-F scale), coverage %, complexity, issue count. Common mistake: assuming Grade=A means zero issues — the grade is a composite score. Use codacy_issues.list for the actual issue breakdown. Get repository details with analysis metrics (grade, coverage, complexity, issues).. Select operation via the Workflow:
Get repository details with analysis metrics (grade, coverage, complexity, issues).
List branches of a repository.
Add or follow a repository in Codacy. This sets up analysis tracking. [DESTRUCTIVE] [Cache-Control: no-store] |
| codacy_securityA | Get the security dashboard summary for a repository.. Select operation via the Workflow:
Ignore or unignore a security finding.. Requires: srmItemId, reason [DESTRUCTIVE]
Get the OSSF Scorecard for a repository or package. Returns security posture score.
Search SBOM dependencies across the organization. Find vulnerable packages by name, severity, or risk category.
Search organization-level security findings across all repositories.
Search security findings within a specific repository. [Cache-Control: no-store] |
| codacy_tools | [INSTRUCTIONS] Full tool configuration for a repository. Requires toolUuid from codacy_tools.repo_tools. Common mistakes: (1) Using the tool name instead of toolUuid. (2) Enabling useConfigurationFile without having a config file in the repository — this will cause the tool to use no patterns. For enabling/disabling specific patterns, use codacy_tools.update_patterns instead. This action is idempotent — safe to retry. Configure a tool for a repository — enable/disable the tool, set configuration file usage, and configure individual patterns with parameters.. Select operation via the Workflow:
Configure a tool for a repository — enable/disable the tool, set configuration file usage, and configure individual patterns with parameters.. Requires: toolUuid [DESTRUCTIVE]
Get the definition of a specific code pattern.. Requires: toolUuid, patternId
List all analysis tools available in Codacy (ESLint, PMD, Semgrep, etc.).
Enable or disable specific code patterns for a tool in a repository.. Requires: toolUuid, patternsJson [DESTRUCTIVE] [Cache-Control: no-store] |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| code_review | Comprehensive code review for a pull request — issues, coverage, diff, and quickfix availability. |
| security_audit | Security audit for a repository — SRM findings, dashboard, and risk assessment. |
| repo_health | Repository health assessment — analysis grade, issues overview, category breakdown, and quality settings. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/renatomarinho/codacy-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server