codacy-mcp
v0.7.5Codacy 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
| Parameter | Type | Description |
|---|---|---|
patternId * | string | Pattern identifier |
toolUuid * | string | The identifier of the tool that the pattern belongs to. |
codacy_list_tools
List all code analysis tools available in Codacy.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor for next page of results |
limit | number | Maximum 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…
| Parameter | Type | Description |
|---|---|---|
rootPath * | string | Root path to the project or repository in the local filesystem. This must be filled to ensure permissions are met for the tool to run. |
file | string | Optional. 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. |
organization | string | Optional. 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… |
provider | string | Optional. 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'. |
repository | string | Optional. 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… |
tool | string | Optional. 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…
| Parameter | Type | Description |
|---|---|---|
organization | string | Optional. 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… |
provider | string | Optional. 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'. |
repository | string | Optional. 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… |