codacy-mcp

v0.7.5
@codacy/codacy-mcp Checked 5 hours ago Published 13 days ago

Codacy MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

codacy_get_pattern

Get the definition of a specific pattern. Common use cases: - When the user asks for the definition of a specific pattern - When the user asks for more information about an issue found by Codacy Common mistakes: - Using this tool with the wrong toolUuid - Using this tool with the wrong patternId

ParameterTypeDescription
patternId *stringPattern identifier
toolUuid *stringThe identifier of the tool that the pattern belongs to.

codacy_list_tools

List all code analysis tools available in Codacy.

ParameterTypeDescription
cursorstringPagination cursor for next page of results
limitnumberMaximum number of results to return (default 100, max 100)

codacy_cli_analyze

Run quality analysis locally using Codacy CLI. Use this tool to analyze the quality of a repository using Codacy command line. Common use cases: - When the user asks for an analysis of a repository - When the user asks to scan the code - When the user wants to analyze based on Codacy configuration - When the user wants to apply fixes based on Codacy configuration and analysis - When the user wants Codacy results immediately without waiting for the next scheduled analysis Common mistakes: - Using this tool to know the status of a repository - Using this tool without s…

ParameterTypeDescription
rootPath *stringRoot path to the project or repository in the local filesystem. This must be filled to ensure permissions are met for the tool to run.
filestringOptional. Absolute path to the file to analyze, or directory to analyze (e.g., "src/"). If left empty, the analysis will be executed for the whole project.
organizationstringOptional. Organization name or username that owns the repository on the Git provider. Try to extract it from the repository's git remote URL using 'git remote -v' following these patterns: - SSH form…
providerstringOptional. Organization's git provider: GitHub (gh), GitLab (gl) or BitBucket (bb). Accepted values: gh, gl, bb. Try to extract it from the repository's git remote URL using 'git remote -v'.
repositorystringOptional. Repository name on the Git provider. Try to extract it from the repository's git remote URL using 'git remote -v', it should be something like this for gh:'https://github.com/<owner>/<reposi…
toolstringOptional. Tool to use for the analysis. If left empty, it will use all available tools. Possible values: eslint, pmd, trivy, pylint, dartanalyzer

codacy_cli_install

Install the Codacy CLI used for local analysis. Common use cases: - When the user tried to use Codacy CLI and it is not installed Common mistakes: - Using this tool for a organization other than the current one - Using this tool with the wrong organization name (if you are not sure, use the codacy_list_organizations tool to validate the organization name) - Using this tool without specifying the repository name - Using this tool for a repository other than the current one - Using this tool with the wrong repository name (if you are not sure, use the codacy_list_or…

ParameterTypeDescription
organizationstringOptional. Organization name or username that owns the repository on the Git provider. Try to extract it from the repository's git remote URL using 'git remote -v' following these patterns: - SSH form…
providerstringOptional. Organization's git provider: GitHub (gh), GitLab (gl) or BitBucket (bb). Accepted values: gh, gl, bb. Try to extract it from the repository's git remote URL using 'git remote -v'.
repositorystringOptional. Repository name on the Git provider. Try to extract it from the repository's git remote URL using 'git remote -v', it should be something like this for gh:'https://github.com/<owner>/<reposi…