Codacy MCP Server
Codacy's MCP Server implementation
codacy
README
Codacy MCP Server
MCP Server for the Codacy API, enabling access to repositories, files, quality, coverage, security and more.
Features
Tools
The following tools are available through the Codacy MCP Server:
Repository Management
codacy_list_repositories
: List repositories in an organization with pagination support.
Code Quality and Analysis
-
codacy_list_repository_issues
: Lists and filters code quality issues in a repository. This is the primary tool for investigating general code quality concerns (e.g. best practices, performance, complexity, style) but NOT security issues. For security-related issues, use the SRM items tool instead. Features include:- Pagination support for handling large result sets
- Filtering by multiple criteria including severity, category, and language
- Author-based filtering for accountability
- Branch-specific analysis
- Pattern-based searching
Common use cases:
- Code quality audits
- Technical debt assessment
- Style guide compliance checks
- Performance issue investigation
- Complexity analysis
File Management
codacy_list_files
: List files in a repository with pagination support.codacy_get_file_issues
: Get the issue list for a file in a repository.codacy_get_file_coverage
: Get coverage information for a file in the head commit of a repository branch.
Security Analysis
-
codacy_list_srm_items
: Primary tool to list security items/issues/vulnerabilities/findings. Results are related to the organization security and risk management (SRM) dashboard on Codacy. Provides comprehensive security analysis including:- SAST (Code scanning)
- Secrets (Secret scanning)
- SCA (Dependency scanning)
- IaC (Infrastructure-as-code scanning)
- CICD (CI/CD scanning)
- DAST (Dynamic Application Security Testing)
- PenTesting (Penetration testing)
Use this as the first tool when investigating security or compliance concerns.
Pull Request Analysis
codacy_list_repository_pull_requests
: List pull requests from a repository that the user has access to. You can search this endpoint for either last-updated (default), impact or merged.codacy_list_pull_request_issues
: Returns a list of issues found in a pull request. We can request either new or fixed issues.codacy_get_repository_pull_request_files_coverage
: Get coverage information for all files in a pull request.codacy_get_pull_request_git_diff
: Returns the human-readable Git diff of a pull request.
CLI Analysis
codacy_cli_analyze
: Uses Codacy's command-line tool to analyze code.
Setup
Personal API Access Token
Get your Codacy's Account API Token from your Codacy Account.
Usage
Depending on what are you connecting the MCP Server to, you can use the following methods:
- Cursor: edit the
.cursor/mcp.json
file to add the following - Windsurf: edit the
.codeium/windsurf/mcp_config.json
file to add the following - Claude Desktop: edit the
claude_desktop_config.json
file to add the following
NPX
{
"mcpServers": {
"codacy": {
"command": "npx",
"args": ["-y", "@codacy/codacy-mcp"],
"env": {
"CODACY_ACCOUNT_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
VSCode with Copilot
For connecting the MCP Server to Copilot in VS Code, add the following to the global config of the IDE:
{
"mcp": {
"inputs": [],
"servers": {
"codacy": {
"command": "npx",
"args": [
"-y",
"@codacy/codacy-mcp"
],
"env": {
"CODACY_ACCOUNT_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
}
You can find the global settings.json file in the following places, according to your OS:
- for macOS:
~/Library/Application Support/Code/User/settings.json
- for Windows:
%APPDATA%\Code\User\settings.json
- for Linux:
~/.config/Code/User/settings.json
Make sure you have Agent mode enabled: vscode://settings/chat.agent.enabled
Node (when using NVM)
When using NVM with Claude Desktop, NPX won't work. You should first install the MCP Server globally, and then use Node directly:
npm install -g @codacy/codacy-mcp
{
"mcpServers": {
"codacy": {
"command": "/Users/yourusername/.nvm/versions/node/vXX.X.X/bin/node",
"args": ["/path-to/codacy-mcp/dist/index.js"],
"env": {
"CODACY_ACCOUNT_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Build
Local:
npm install
npm run update-api
npm run build
Codacy-CLI Support (WIP)
In order to use the Codacy-CLI, it needs to be installed.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.