Repository navigation
Replies: 2 comments
|
Thanks for the clear write-up. This is a real gap, but it is not supported today. The native Source Control / Pull Requests UI and the agent’s MCP tools are separate stacks. Native Bitbucket (PR panel, Settings → Source Control, clone/publish, Git actions) talks to Bitbucket Cloud over HTTP using only server env vars:
If those vars are unset, discovery still lists Bitbucket as available, Agent MCP is the other direction. A custom MCP you attach to a session is available to the model as tools. It does not implement There is no custom source-control auth provider, no MCP-backed Bitbucket driver, and no way to reuse MCP OAuth tokens as Workaround for the native panel: set one of the credential pairs on the T3 Code server process and restart, then Rescan in Settings → Source Control. The token needs pull request, repository, and user read ( Workaround without native UI: keep using the custom MCP from the agent for list/get/diff/comment. That path will not populate the Pull Requests page. Treating this as an enhancement: a first-class custom auth backend (or an MCP-backed source-control provider) would be new architecture, not a small hook. Leaving it open for product to decide whether to take that on. Related Bitbucket issues (#5840, #7621, #8328) are env-delivery / API bugs, not this request. |
|
Bitbucket Data Center please 🤠 |
Uh oh!
There was an error while loading. Please reload this page.
Context
T3 Code's Bitbucket integration for the Source Control / Pull Requests panel currently requires server-side env vars:
Without those it shows 'Not authenticated' and operations like list fail (unauthenticated rate-limit errors against bitbucket.org).
Use case
I already have access to a custom internal MCP server that authenticates to Bitbucket on its own (OAuth via the MCP) and exposes PR/repository tools to the agent. The agent can list/get/diff/comment PRs through the MCP just fine.
But the native Pull Requests page / Source Control UI can't use it — it only understands the built-in token auth above.
Question / feature request
Is there any supported way to:
If not supported today, would you consider supporting custom auth providers for source control, or documenting a recommended workaround?
Thanks!
All reactions