> For the complete documentation index, see [llms.txt](https://docs.natoma.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.natoma.ai/apps/sonarqube.md).

# Sonarqube

**Type:** Community

**Source Type:** Repository

**Source:** [GitHub](https://github.com/SonarSource/sonarqube-mcp-server)

**Description:** SonarQube MCP server enables AI assistants to interact with SonarQube's code quality and security analysis platform. It provides capabilities for code quality metrics, security vulnerability detection, and technical debt management for both SonarQube Cloud and self-hosted instances.

**Configuration Parameters:**

* **SonarQube API token** - Authentication token for API access (optional)
* **URL of the SonarQube instance, to provide only for SonarQube Server or Community Build** - Service instance URL (optional)
* **Organization key for SonarQube Cloud, not required for SonarQube Server or Community Build** - Configuration value (optional)

**Setup Steps:**

1. Log in to your Sonarqube account
2. Navigate to Settings → API Settings → API Keys
3. Generate a new API token or key
4. Copy the token for configuration
5. Ensure your account has appropriate permissions for Sonarqube API access

***
