SonarCloud
About
Fetch SonarCloud issues related to pull requests.
Details
- Author
- dozzman
- Categories
- Developer Tools, Infrastructure
Jump to
Prerequisite: Generate a SonarCloud API token
Follow the instructions in the[SonarCloud documentationto generate a SonarCloud API token.
# Build the Docker image npm run docker:build # Or build directly docker build -t sonarcloud-mcp .
docker run -i --rm \ -e SONARCLOUD_TOKEN=your_token_here \ -e SONARCLOUD_ORGANISATION=your_organisation_here \ -e SONARCLOUD_PROJECT_KEY=your_project_key_here \ sonarcloud-mcp
Export the required environment variables and run the server:
export SONARCLOUD_TOKEN=your_token_here export SONARCLOUD_ORGANISATION=your_organisation_here export SONARCLOUD_PROJECT_KEY=your_project_key_here npm start
- SONARCLOUD_TOKEN: Your SonarCloud API token (required)j
- SONARCLOUD_ORGANISATION: Your SonarCloud organization key (optional, can be passed as a parameter)
- SONARCLOUD_PROJECT_KEY: Your SonarCloud project key (optional, can be passed as a parameter)
Prerequisite: Generate a SonarCloud API token
Follow the instructions in the[SonarCloud documentationto generate a SonarCloud API token.
# Build the Docker image npm run docker:build # Or build directly docker build -t sonarcloud-mcp .
docker run -i --rm \ -e SONARCLOUD_TOKEN=your_token_here \ -e SONARCLOUD_ORGANISATION=your_organisation_here \ -e SONARCLOUD_PROJECT_KEY=your_project_key_here \ sonarcloud-mcp
Export the required environment variables and run the server:
export SONARCLOUD_TOKEN=your_token_here export SONARCLOUD_ORGANISATION=your_organisation_here export SONARCLOUD_PROJECT_KEY=your_project_key_here npm start
- SONARCLOUD_TOKEN: Your SonarCloud API token (required)j
- SONARCLOUD_ORGANISATION: Your SonarCloud organization key (optional, can be passed as a parameter)
- SONARCLOUD_PROJECT_KEY: Your SonarCloud project key (optional, can be passed as a parameter)
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





