# SonarQube Server MCP connector

The SonarQube Server connector lets Claude, ChatGPT, Cursor, Microsoft Copilot and other MCP clients list, create and tidy SonarQube Server projects, review users and groups, manage notifications and link repositories, with each request running as the signed-in person and recorded in an audit log.

Source: https://elaichi.ai/connectors/sonarqubeserver/

## Facts

| | |
| --- | --- |
| Application | SonarQube Server |
| Category | Application Development |
| AI tools | 249 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once SonarQube Server is connected

- List all SonarQube Server projects with public visibility.
- Which users sit in the platform-engineering user group?
- Show notifications configured on the payments-api project.

## Connect SonarQube Server in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick SonarQube Server.
2. Optionally set Share with, then press Connect.
3. Paste a SonarQube Server API key. One person generates a token in SonarQube Server and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which SonarQube Server tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## SonarQube Server MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## SonarQube Server MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## SonarQube Server MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## SonarQube Server MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## SonarQube Server MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect SonarQube Server to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a SonarQube Server tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with SonarQube Server through Elaichi

### Take stock of every project

Engineering. Ask for a list of every SonarQube Server project, then spot the ones that are duplicated, misnamed or no longer tied to code anyone ships.

### Set up a new project in seconds

Platform. Create the SonarQube Server project for a new service, give it the right key and set it to public or private without leaving the chat.

### Review who has access and how

Security. Pull the list of SonarQube Server users and user groups to confirm that contractors are gone, groups match team structure and nobody holds access they should not.

### Link repositories to the right projects

DevOps. See the repositories available in Bitbucket, GitLab or Azure DevOps and bind each one to its SonarQube Server project so analysis follows the code.

### Clean up after a reorg

Engineering management. Rename project keys to the new convention, change visibility for projects that moved teams, and retire projects for services that were shut down.

### Get alerts to the right people

Engineering. Check which SonarQube Server notifications are set up, add the ones a team is missing and remove the ones that only add noise.

## Elaichi vs Zapier MCP vs Composio for SonarQube Server

All three can connect SonarQube Server to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over SonarQube Server tools | Allow or restrict single SonarQube Server tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per SonarQube Server call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect SonarQube Server to Claude?

First connect SonarQube Server in Elaichi, which asks you to paste a SonarQube Server API key that you generate from your own account, so there is no OAuth application to register and no client ID or secret to create. Then open Claude, go to Customize, then Connectors, then Add, and paste the Elaichi endpoint https://api.elaichi.ai/mcp. Claude asks you to sign in to Elaichi once, and from then on it can work with your SonarQube Server projects as you.

### Does SonarQube Server work with ChatGPT and Cursor as well as Claude?

Yes. SonarQube Server is connected once in Elaichi, and the same endpoint, https://api.elaichi.ai/mcp, is added to Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. There is nothing separate to set up per client.

### What can an AI agent actually do with my SonarQube Server data?

Through Elaichi, an agent can list every SonarQube Server project, create new ones, rename project keys, change a project's visibility and retire projects you no longer need. It can also show you SonarQube Server users and user groups, manage notifications, and list repositories in Bitbucket, GitLab or Azure DevOps so they can be linked to projects. Short, concrete asks such as "list our private projects" or "who is in the security group" work better than long paragraphs, because the agent searches a large set of SonarQube Server actions to find the right one.

### Does connecting SonarQube Server give the AI access to every project?

No. Every request runs under the SonarQube Server API key of the person who signed in, so the agent sees only the projects, users and settings that person can already see in SonarQube Server. Elaichi can narrow that further for a role, for example to read-only, but it can never grant access that SonarQube Server itself has not granted.

### Can my team share one SonarQube Server connection?

Yes. One person connects SonarQube Server in Elaichi and shares the connection with a team, and nobody else ever sees or handles the API key. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person behind every project change or user lookup.

### Can I stop an agent from deleting or changing things in SonarQube Server?

Yes. Restrictions in Elaichi apply per action, so you can allow listing SonarQube Server projects and users while restricting project deletion, bulk deletion, key changes or visibility changes. A restricted action still appears in Elaichi's tool search, flagged as restricted, but Claude, ChatGPT, Cursor or Microsoft Copilot cannot run it, whatever the prompt says.

### What happens to a SonarQube Server connection when someone leaves?

When a person is offboarded in Elaichi, their access to SonarQube Server through every AI client ends at once. A SonarQube Server connection that was shared with a team keeps working for everyone else on that team. If you want to remove SonarQube Server entirely, disconnecting it once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot and every other client together.

### Does the SonarQube Server MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. SonarQube Server is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for SonarQube Server?

Yes. Both let Claude, ChatGPT or Cursor use SonarQube Server. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every SonarQube Server call.

### How is Elaichi different from Composio for SonarQube Server?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to SonarQube Server: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 249 SonarQube Server tools

Every tool below is callable through https://api.elaichi.ai/mcp once SonarQube Server is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all SonarQube Server projects** (List). Search for projects or views to administrate them in SonarQube Server. Returns key, name, qualifier, visibility, lastAnalysisDate (all branches), revision (main branch), and managed status for each project.
- **SonarQube Server projects bulk delete** (Delete). Delete one or several projects in SonarQube Server. Requires at least one of the following parameters: analyzedBefore, projects, or q. Only the first 1000 filtered projects are considered. No response body is returned.
- **Create a SonarQube Server project** (Create). Create a project in SonarQube Server. Requires 'name' and 'project' parameters. Returns the newly created project's key and name. If project is on a DevOps Platform, use the import endpoint instead.
- **Delete a SonarQube Server project by ID** (Delete). Delete a project in SonarQube Server. Requires id. Returns success status indicating project deletion.
- **SonarQube Server projects update key** (Update). Update project and all its sub-components keys in SonarQube Server. Requires from and to parameters. The response returns the status of the key update operation.
- **SonarQube Server projects update visibility** (Update). Update visibility of a project, application, or portfolio in SonarQube Server. Requires project and visibility. Returns the updated project's visibility status and key in the response.
- **List all SonarQube Server version** (List). Get the version of SonarQube Server. Returns the version as plain text.
- **List all SonarQube Server me** (List). Get details of the current authenticated user in SonarQube Server. Returns isLoggedIn, login, name, email, groups, permissions.global, avatar, and homepage fields.
- **List all SonarQube Server user groups** (List). Search user groups in SonarQube Server. Returns groups with fields name, description, membersCount, default, and managed. Requires Administer System permission.
- **List all SonarQube Server users** (List). Get a list of users in SonarQube Server. Returns fields like login, name, active status, email, groups, tokensCount, externalIdentity, externalProvider, avatar, lastConnectionDate, managed, and sonarLintLastConnectionDate.
- **List all SonarQube Server notifications** (List). List notifications of the authenticated user in SonarQube Server. Returns notification channel, type, and optionally organization, project, and projectName fields.
- **Create a SonarQube Server notification** (Create). Add a notification for the authenticated user in SonarQube Server. Requires type parameter. Returns the status of the operation and any errors if present.
- **SonarQube Server notifications remove** (Delete). Remove a notification for the authenticated user in SonarQube Server. Requires type parameter. No response fields are returned.
- **List all SonarQube Server alm integrations** (List). List Azure projects. Returns a project array where each project includes a name and description.
- **List all SonarQube Server bitbucketserver projects** (List). List Bitbucket Server projects in SonarQube Server using almSetting. Returns key and name for each project.
- **List all SonarQube Server azure repos** (List). List Azure Repos using the almSetting in the SonarQube Server. Requires almSetting and returns the name and projectName of each repository.
- **List all SonarQube Server bitbucketcloud repos** (List). List Bitbucket Cloud repositories in SonarQube Server. Requires almSetting. Returns slug, uuid, name, projectKey, workspace, and sqProjectKey for each repository.
- **List all SonarQube Server bitbucketserver repos** (List). Search the Bitbucket Server repositories with REPO_ADMIN access in SonarQube Server using almSetting. Returns repositories array with slug, uuid, name, projectKey, optional sqProjectKey, workspace and pagination indicator isLastPage.
- **List all SonarQube Server gitlab repos** (List). Search the GitLab projects in the SonarQube Server. Returns id, name, slug, and url for each repository.
- **Create a SonarQube Server personal access token** (Create). Set a Personal Access Token for the given DevOps Platform setting in the SonarQube Server. Requires pat. No content returned on success.
- **List all SonarQube Server binding count** (List). Count the number of projects bound to a DevOps Platform setting in the SonarQube Server. Requires alm_setting. Returns key (setting key) and projects (number of bound projects).
- **Create a SonarQube Server azure** (Create). Create Azure instance setting in SonarQube Server. Requires key, personalAccessToken, and url. Returns key and url for the created setting.
- **Update a SonarQube Server azure by ID** (Update). Update Azure instance setting by id in SonarQube Server. Requires id and url. Returns updated Azure configuration details.
- **Create a SonarQube Server bitbucket** (Create). Create Bitbucket instance setting in SonarQube Server with id, personalAccessToken and url. Returns the created setting details.
- **Update a SonarQube Server bitbucket by ID** (Update). Update Bitbucket instance setting by id in SonarQube Server. Requires id and url parameters. Returns confirmation of update and may include the updated setting information.
- **Create a SonarQube Server bitbucketcloud** (Create). Configure a new instance of Bitbucket Cloud in SonarQube Server. Returns key and workspace of the newly configured integration.
- **Update a SonarQube Server bitbucketcloud by ID** (Update). Update Bitbucket Cloud setting by id in SonarQube Server. Requires clientId, and workspace as parameters. Returns the updated Bitbucket Cloud setting fields including key details and identifiers.
- **Create a SonarQube Server github** (Create). Create GitHub instance setting with appId, clientId, clientSecret, key, privateKey and url in SonarQube Server. Returns 204 No Content on success.
- **Update a SonarQube Server github by ID** (Update). Update GitHub instance setting by id in SonarQube Server. Requires appId, clientId, url. Returns confirmation status of the update.
- **Create a SonarQube Server gitlab** (Create). Create gitlab instance setting key, personalAccessToken and url in SonarQube Server. Returns the created setting's key in the response.
- **Update a SonarQube Server gitlab by ID** (Update). Update GitLab instance setting by id in SonarQube Server. Requires id and url. Returns confirmation of the update operation.
- **Delete a SonarQube Server alm setting by ID** (Delete). Delete DevOps Platform setting by id in SonarQube Server. Returns no content.
- **List all SonarQube Server alm settings** (List). List DevOps Platform setting available for a given project, sorted by DevOps Platform key in SonarQube Server. Returns key, name, type, url for each setting.
- **SonarQube Server alm settings validate** (Validate). Validate a DevOps Platform Setting in SonarQube Server using the required key parameter. Returns result fields indicating connectivity and permissions for the specified alm-settings.
- **Delete a SonarQube Server alm settings binding by ID** (Delete). Delete the DevOps Platform binding of a project by id in SonarQube Server. Requires id (project key). Returns an empty response on success.
- **Get single SonarQube Server alm settings binding by ID** (Get). Get DevOps Platform binding for a specific project in SonarQube Server. Requires id. Returns key, alm, repository, url, summaryCommentEnabled, and monorepo fields in the response.
- **List all SonarQube Server definitions** (List). List GitHub DevOps Platform Settings in SonarQube Server. Returns key, url, appId, and clientId fields for each GitHub integration.
- **Create a SonarQube Server azure binding** (Create). Bind an Azure DevOps instance to a SonarQube Server project in SonarQube Server. Requires almSetting, monorepo, project, projectName, and repositoryName. Returns binding status and updated association details.
- **Create a SonarQube Server bitbucket binding** (Create). Bind a Bitbucket instance to a project in SonarQube Server. Requires almSetting, monorepo, project, repository, and slug. If project was previously bound, updates binding. No response fields are returned.
- **Create a SonarQube Server bitbucketcloud binding** (Create). Bind a Bitbucket Cloud setting to a project in SonarQube Server. Requires almSetting, monorepo, project, and repository. Returns binding update status with relevant project and Bitbucket Cloud identifiers.
- **Create a SonarQube Server github binding** (Create). Bind a GitHub instance to a project in SonarQube Server. Requires almSetting, monorepo, project, and repository. Returns updated binding information if the project was already bound.
- **Create a SonarQube Server gitlab binding** (Create). Bind a GitLab instance to a project in SonarQube Server. Requires almSetting, monorepo, project, and repository. Returns binding status fields in the response. Requires Administer permission on the project.
- **Get single SonarQube Server analysis cache by ID** (Get). Get the scanner's cached data for a branch in SonarQube Server. Requires project parameter. Returns gzipped data if 'Accept-Encoding' is set in request. Response contains the cached analysis data for the project.
- **Create a SonarQube Server application** (Create). Create a new application in SonarQube Server. Requires name. Returns key, name, description, visibility, and projects fields for the created application.
- **SonarQube Server applications add project** (Add). Add a project to an application in SonarQube Server. Requires application and project as parameters. Requires 'Administrator' permission on the application. No fields are returned in the response.
- **Delete a SonarQube Server application by ID** (Delete). Delete an application definition in SonarQube Server. Requires id (application key). Returns status of the deletion.
- **SonarQube Server applications remove project** (Delete). Remove a project from an application in SonarQube Server. Requires application and id. No fields are returned in the response.
- **Update a SonarQube Server application by ID** (Update). Update an application in SonarQube Server. Requires application and name. Returns updated key fields of the application. 'Administrator' permission on the application is required.
- **Get single SonarQube Server application by ID** (Get). Get a specific application in SonarQube Server by id. Returns application key, name, branch, visibility, list of associated projects (with project key, name, enabled, selected), branches, and tags.
- **List all SonarQube Server applications** (List). List applications the user can add to a portfolio in SonarQube Server. Requires portfolio. Returns key fields for each application, such as id, name, and status.
- ...and 199 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
