Codacy MCP
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
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
Maintainer
Works with
Installation
Manual Installation
npx codacy-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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.
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-mcpAdd 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"
}
}
}
}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.
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.
Codacy MCP Alternatives — Similar Developer Tools Servers
Looking for alternatives to Codacy MCP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Codacy MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.