- 104 typed API operations
- 11 synced entities (
branches,commits,issues,pipelines,projects,pullRequests, and 5 more) for fast.search()/.list()
Setup
1
Install
2
Add the plugin
corsair.ts
corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- OAuth 2.0 (Recommended)
Open hub.corsair.dev, navigate to your project, and enter the client ID and client secret from your Bitbucket Cloud OAuth 2.0 OAuth app.More: OAuth 2.0
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
commitsAndInsights.getCommitBuildStatus
commitsAndInsights.createRepositoriesCommitReportsAnnotations
Query synced data
Synced entities supporttenant.bitbucket.db.<entity>.search() and .list(): branches, commits, issues, pipelines, projects, pullRequests, repositories, snippets, tags, users, workspaces.
See Database for filters and operators.
What’s next
API reference
Every
bitbucket.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.