codacy-mcp-server

codacy/codacy-mcp-server

3.5

If you are the rightful owner of codacy-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server for the Codacy API, enabling access to repositories, files, quality, coverage, security and more.

Tools

Functions exposed to the LLM to take actions

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

codacy_list_tools

List all code analysis tools available in Codacy.

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 specifying the rootPath

  • Using this tool to know current results from Codacy. Use codacy_get_repository_with_analysis instead.

  • Filling the tool parameter when not asked specifically for it.

  • 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_organization_repositories tool to validate the repository name)

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources