Codacy MCP

v1.0.0Developer Toolsstable

Enables access to Codacy's code quality platform through natural language, providing repository management, security analysis, pull request reviews, and local CLI-based code analysis. Supports comprehensive code quality monitoring including issues, c

codacy-mcp-servermcpai-integration
Share:
59
Stars
0
Downloads
0
Weekly
0/5

What is Codacy MCP?

Codacy MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables access to codacy's code quality platform through natural language, providing repository management, security analysis, pull request reviews, and local cli-based code analysis. supports compreh...

Enables access to Codacy's code quality platform through natural language, providing repository management, security analysis, pull request reviews, and local CLI-based code analysis. Supports comprehensive code quality monitoring including issues, c

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables access to Codacy's code quality platform through nat

Use Cases

Manage repositories and analyze code quality via AI.
Perform security analysis and PR reviews automatically.
Monitor code issues and compliance through MCP.
codacy

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 7, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx codacy-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Codacy MCP

The Codacy MCP server connects AI assistants to Codacy's cloud code quality and security platform through natural language, enabling repository management, automated security analysis, pull request reviews, and local CLI-based code scanning. It covers SAST, secrets detection, SCA, IaC, CI/CD, and DAST checks, and surfaces per-file coverage, duplication, and issue data directly inside your AI chat. Development teams use it to investigate code quality problems, triage security findings, and review pull requests without leaving their AI assistant.

Prerequisites

  • Node.js 18+ and npx available in your PATH
  • A Codacy account with a Personal API token (generated under Account → API tokens)
  • Repositories already added to Codacy for analysis
  • An MCP client such as Claude Desktop, Cursor, or VS Code with MCP support
1

Obtain your Codacy API token

Log in to app.codacy.com, navigate to Account Settings → API tokens, and generate a Personal API token. Copy the token value — you will need it for the environment variable.

2

Install the Codacy MCP package

You can use npx to run without a global install, or install globally for convenience.

# Run directly with npx (no install needed):
npx -y @codacy/codacy-mcp

# Or install globally:
npm install -g @codacy/codacy-mcp
3

Add the server to your MCP client configuration

Edit your claude_desktop_config.json (Claude Desktop) or equivalent MCP client config file to register the Codacy server with your API token.

{
  "mcpServers": {
    "codacy": {
      "command": "npx",
      "args": ["-y", "@codacy/codacy-mcp"],
      "env": {
        "CODACY_ACCOUNT_TOKEN": "your-codacy-personal-api-token"
      }
    }
  }
}
4

Restart your MCP client

Restart Claude Desktop or your MCP client to pick up the new server configuration. The Codacy tools should appear in the tool list.

5

Add your repository to Codacy if needed

Use the setup tool via your AI assistant to follow a repository in Codacy before running analysis. You can also do this from the Codacy dashboard.

Codacy MCP Examples

Client configuration

Claude Desktop config entry for the Codacy MCP server using the official npm package.

{
  "mcpServers": {
    "codacy": {
      "command": "npx",
      "args": ["-y", "@codacy/codacy-mcp@latest"],
      "env": {
        "CODACY_ACCOUNT_TOKEN": "your-codacy-personal-api-token"
      }
    }
  }
}

Prompts to try

Example prompts to use with the Codacy MCP server once connected.

- "List all repositories in my Codacy organization and their current quality grades"
- "Show me all critical security issues found in the main branch of my-repo"
- "Summarize the new issues introduced in pull request #42 in my-repo"
- "Which files in my-repo have the most code duplication?"
- "Run a local code analysis on the current directory and report any issues found"

Troubleshooting Codacy MCP

Authentication error: 'Unauthorized' when calling Codacy tools

Verify that CODACY_ACCOUNT_TOKEN is set correctly in the env block of your MCP config. The token must be a Personal API token from Account Settings, not an organization or repository token. Restart your MCP client after updating the config.

Repository not found when trying to analyze it

The repository must first be followed or added in Codacy. Use the setup tool through your AI assistant or go to app.codacy.com and add the repository manually. The organization name in Codacy may differ from your GitHub org name.

npx command not found or package fails to download

Ensure Node.js 18+ is installed and npx is in your PATH. If behind a corporate proxy, set HTTP_PROXY and HTTPS_PROXY environment variables. Alternatively, install the package globally with npm install -g @codacy/codacy-mcp and use 'command': 'codacy-mcp' in the config.

Frequently Asked Questions about Codacy MCP

What is Codacy MCP?

Codacy MCP is a Model Context Protocol (MCP) server that enables access to codacy's code quality platform through natural language, providing repository management, security analysis, pull request reviews, and local cli-based code analysis. supports comprehensive code quality monitoring including issues, c It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Codacy MCP?

Follow the installation instructions on the Codacy MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Codacy MCP?

Codacy MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Codacy MCP free to use?

Yes, Codacy MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "codacy-mcp-server": { "command": "npx", "args": ["-y", "codacy-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Codacy MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides