pingdotgg / pingdotgg/t3code

Use custom MCP for Bitbucket auth in Pull Requests panel instead of T3CODE_BITBUCKET_*?

Open
#11,882 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement via-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Context

T3 Code's Bitbucket integration for the Source Control / Pull Requests panel currently requires server-side env vars:

  • T3CODE_BITBUCKET_ACCESS_TOKEN, or
  • T3CODE_BITBUCKET_EMAIL + T3CODE_BITBUCKET_API_TOKEN

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:

  1. Plug a custom MCP (or its credentials) as the auth/backend for the native Bitbucket provider, so the Pull Requests panel uses it?
  2. Or, alternatively, let the agent's MCP tools power that panel?

If not supported today, would you consider supporting custom auth providers for source control, or documenting a recommended workaround?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the native Bitbucket provider used by the Pull Requests panel and Source Control UI, then compare its existing T3CODE_BITBUCKET_* authentication path with the custom MCP use case. Done means a supported integration or documented workaround that lets the panel obtain Bitbucket data through the custom auth/backend, with the unauthenticated list failure addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, developer-experience, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.