# Feature Request: MCP-Spec-Compliant SonarCloud Server (with OAuth 2.1)

**URL:** <https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198>\
**Category:** SonarQube MCP Server\
**Tags:** sonarqube-cloud\
**Created:** [August 9, 2026, 12:06pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198 "2026-08-09T12:06:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![platzhersh](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/platzhersh/32/51756_2.png) [@platzhersh](https://community.sonarsource.com/u/platzhersh)\
**Post date:** [August 9, 2026, 12:06pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/1 "2026-08-09T12:06:29Z")

</div>

### Environment

- SonarQube Cloud
- Deployment type (STDIO/HTTP, Docker/JAR): -
- Client / AI tool using MCP (if applicable): Claude Code

### Description

I’d like to request that SonarSource publish an MCP server for SonarCloud that’s fully compliant with the current [Model Context Protocol specification](https://modelcontextprotocol.io/), including the **OAuth 2.1 authorization flow** for remote servers.

**Current state**

The endpoint exists at `https://api.sonarcloud.io/mcp`, but it doesn’t support the MCP authorization spec - connecting it to Claude.ai’s connector system fails.

**Why this matters**

MCP is becoming the standard for connecting AI assistants to external tools. Integration with SonarCloud is already possible (via API tokens or self-hosted MCP servers), but a spec-compliant hosted server with OAuth would make it significantly more accessible - users could connect with a single click, no token management required.

This would enable seamless integration with:

- Claude (via [Connectors Directory](https://claude.ai/integrations)), also Claude Code on the web, using the centrally configured mcp
- Cursor, Windsurf, Cline, and other AI coding tools
- Any future MCP-compatible assistant

**Request**

Update the existing MCP endpoint to support [MCP Authorization (OAuth 2.1)](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization) and submit to the Claude Connectors Directory.

---

<div class="post-metadata">

**Author:** ![platzhersh](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/platzhersh/32/51756_2.png) [@platzhersh](https://community.sonarsource.com/u/platzhersh)\
**Post date:** [August 10, 2026, 7:13am UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/3 "2026-08-10T07:13:09Z")

</div>

It was mentioned here by @nicolas.quinquenel, that this is on the roadmap: [SonarQube MCP server 1.23 - Simplified SonarQube Cloud setup and improved list branch tool - #3 by nicolas.quinquenel](https://community.sonarsource.com/t/sonarqube-mcp-server-1-23-simplified-sonarqube-cloud-setup-and-improved-list-branch-tool/186278/3)

---

<div class="post-metadata">

**Author:** ![davidb537](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/davidb537/32/55491_2.png) [@davidb537](https://community.sonarsource.com/u/davidb537)\
**Post date:** [September 15, 2026, 3:27pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/4 "2026-09-15T15:27:11Z")

</div>

+1 - we’re hitting exactly this.

We’re a SonarQube Cloud customer trying to add the hosted endpoint as an organization-level custom connector in Claude (Team/Enterprise), not per-developer Claude Code.

Current behaviour: `https://api.sonarcloud.io/mcp` authenticates via static HTTP headers (`Authorization: Bearer <user token>` plus `SONARQUBE_ORG`). Claude’s custom connector configuration accepts OAuth only, per the MCP authorization spec, and the endpoint advertises no authorization server, so the discovery handshake cannot complete either. Net result: the hosted server cannot be deployed org-wide at all - it works only in per-developer configurations where each engineer supplies and stores their own user token locally.

That is a blocker for two reasons. Distribution: no central rollout to our engineering organization. Security: SonarQube user tokens end up sitting on individual developer workstations, rather than credentials issued and revoked centrally through our identity provider.

Questions, given 1.23 is referenced above as carrying this:

(a) Is MCP-spec-compliant OAuth 2.1 support on the hosted endpoint confirmed for MCP Server 1.23, and what is the expected release timeframe?

(b) Will the implementation support organization-wide consent, or authorization per individual user?

(c) Is there a supported interim configuration for centrally managed access that does not require distributing user tokens to developer workstations?

(d) Is there an early access or beta program for this capability?

We would much rather wait for a native, supported integration than put our own authentication layer in front of your endpoint, so even a rough timeline would help us plan.

---

<div class="post-metadata">

**Author:** ![Farah](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/farah/32/60691_2.png) [@Farah](https://community.sonarsource.com/u/Farah)\
**Post date:** [October 19, 2026, 10:07am UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/6 "2026-10-19T10:07:36Z")

</div>

Hi @platzhersh and @davidb537,  
Thank you for this feedback and sorry for the late answer.

For the exact questions,  
(a) OAuth for our MCP server with SonarQube Cloud will come very soon. I can’t give an exact date but we are currently in the implementation phase. We hope also to work on SonarQube Server next.

(b) Consent will be by individual users

(c) No

(d) I think it will get directly to production but if we could test it earlier with you I’ll keep you in the loop.

Best regards,  
Farah.

---

<div class="post-metadata">

**Author:** ![bouke](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/bouke/32/1947_2.png) [@bouke](https://community.sonarsource.com/u/bouke)\
**Post date:** [October 27, 2026, 1:11pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/8 "2026-10-27T13:11:07Z")

</div>

I was a bit confused by the docs: [Sign in with OAuth](https://docs.sonarsource.com/sonarqube-mcp-server/setup/sonarqube-cloud-hosted#sign-in-with-oauth) suggests this works today with `https://api.sonarcloud.io/mcp`, but I can’t get it to work from Claude Code. The server doesn’t advertise an authorization server: `www-authenticate` is just `Bearer realm="MCP Server"` (no `resource_metadata`), and `/.well-known/oauth-protected-resource` returns `403 {"message":"Forbidden"}`, both on `api.sonarcloud.io` and `api.sonarqube.us`. Claude Code then falls back to dynamic client registration on `/register`, which also returns 403.

Is 1.30 not rolled out to the hosted server yet, or am I missing a step?

---

<div class="post-metadata">

**Author:** ![nicolas.quinquenel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicolas.quinquenel/32/40740_2.png) [@nicolas.quinquenel](https://community.sonarsource.com/u/nicolas.quinquenel)\
**Post date:** [October 27, 2026, 3:08pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/10 "2026-10-27T15:08:37Z")

</div>

Hello @bouke, sorry, we have a bit of delay on this. We’re still validating the deployment on the Cloud side. OAuth should become available during the week with SonarQube Cloud.

---

<div class="post-metadata">

**Author:** ![nicolas.quinquenel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicolas.quinquenel/32/40740_2.png) [@nicolas.quinquenel](https://community.sonarsource.com/u/nicolas.quinquenel)\
**Post date:** [November 4, 2026, 3:12pm UTC](https://community.sonarsource.com/t/feature-request-mcp-spec-compliant-sonarcloud-server-with-oauth-2-1/187198/11 "2026-11-04T15:12:05Z")

</div>

Hello, thank you for your patience. We have finally released OAuth for our MCP on SonarQube Cloud, you can read more about it in our Community announcement: [SonarQube MCP server 1.31 - OAuth for hosted MCP on SonarQube Cloud & architecture tools](https://community.sonarsource.com/t/sonarqube-mcp-server-1-31-oauth-for-hosted-mcp-on-sonarqube-cloud-architecture-tools/190807/1)

We are currently working on bringing this capability to SonarQube Server, although we can’t yet provide a release date for it.
