Rovo MCP Server: Add OAuth 2.1 authentication support for Bitbucket Cloud tools

XMLWordPrintable

      Issue Summary

      Currently, Bitbucket Cloud tools in the Atlassian Rovo MCP Server only support API Token (Basic Auth) authentication. Unlike Jira, Confluence, and Compass, which support OAuth 2.1 with Dynamic Client Registration (DCR). Bitbucket Cloud tools require the MCP client to supply a Bitbucket API token directly in its configuration.

      This is not a gap in Bitbucket's own API capabilities, Bitbucket Cloud APIs fully support OAuth 2.0. The gap is in how the Rovo MCP Server brokers authentication across products, where Bitbucket is excluded from the unified OAuth consent experience.

      Customer Use Case

      Customers connecting to the Rovo MCP Server via OAuth-only MCP clients (e.g., Google Gemini Enterprise) need to:

      1. Access Bitbucket Cloud tools (repository search, pull request management, code browsing) through the same MCP connection used for Jira and Confluence, without configuring a separate API token
      2. Use MCP clients that don't support API token configuration: OAuth-only clients like Gemini Enterprise currently cannot access Bitbucket tools at all, creating a gap in cross-product coverage
      3. Avoid managing separate credential lifecycles: API tokens require manual rotation, lack granular scoping, and bypass the centralized consent and revocation controls that OAuth provides
      4. Maintain consistent security posture: organizations enforcing OAuth-only access policies (e.g., disabling API tokens via org admin controls) are entirely blocked from using Bitbucket Cloud tools on MCP

      Currently, customers must either use a different MCP client that supports API tokens, or forgo Bitbucket Cloud tools entirely when connecting via OAuth, fragmenting their developer workflow across clients.

      Expected Results

      The Rovo MCP Server should:

      1. Include Bitbucket Cloud tools in the OAuth 2.1 + DCR flow -> so that users authorizing via OAuth consent are prompted for Bitbucket scopes alongside Jira/Confluence/Compass, and Bitbucket tools become available without separate API token configuration
      2. Support workspace-to-org resolution -> so the OAuth flow can correctly identify and bind the user's Bitbucket workspace(s) to their Atlassian organization during consent
      3. Maintain backward compatibility with API token auth -> existing API token configurations for Bitbucket should continue to work, with OAuth as an additional (and eventually preferred) authentication path
      4. If OAuth support cannot be delivered in a single release, document clearly which MCP clients support Bitbucket tools (API token-capable clients) vs. which do not (OAuth-only clients), so customers can make informed decisions about their MCP client selection

              Assignee:
              Alton Dillon
              Reporter:
              Victor Menes (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: