Bitbucket integration
Git repository hosting and collaboration platform API by Atlassian. Manage repositories, pull requests, branches, commits, issues, pipelines, and team permissions. Supports code review workflows, CI/CD pipelines, and team collaboration. Perfect for building Git automation tools, code review integrations, DevOps workflows, and repository management applications.
Say what should happen.
The workflow builds itself.
Common Bitbucket use cases
- code review
- build monitoring
- change inspection
- team management
- deployment setup
- PR workflow
- change tracking
- diff analysis
- status checks
- branch management
What you can do with Bitbucket
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Pullrequest, 8 operations
approve_pull_requestApprove pull requestPOSTAgents: ask firstApproves a pull request as the authenticated user.create_pull_requestCreate pull requestPOSTAgents: ask firstCreates a new pull request to merge changes from a source branch to a destination branch.decline_pull_requestDecline pull requestPOSTAgents: ask firstDeclines a pull request without merging.get_pull_requestGet pull requestGETAgents: ask firstRetrieves detailed information about a specific pull request including status, branches, and review state.list_pull_requestsList pull requestsGETAgents: ask firstLists pull requests in a Bitbucket repository with status, author, and branch information.merge_pull_requestMerge pull requestPOSTAgents: ask firstMerges an approved pull request into the destination branch using the specified merge strategy.unapprove_pull_requestUnapprove pull requestDELETEAgents: ask firstRemoves approval from a pull request.update_pull_requestUpdate pull requestPUTAgents: ask firstUpdates an existing pull request's properties.
Branch, 4 operations
create_branchCreate branchPOSTAgents: ask firstCreates a new branch from a specified commit or existing branch.delete_branchDelete branchDELETEAgents: ask firstDeletes a branch from the repository.get_branchGet branchGETAgents: ask firstRetrieves detailed information about a specific branch.list_branchesList branchesGETAgents: ask firstLists all branches in a Bitbucket repository with their latest commit information.
Pipeline, 4 operations
get_pipelineGet pipelineGETAgents: ask firstRetrieves detailed information about a specific pipeline run including state and timing.list_pipelinesList pipelinesGETAgents: ask firstLists CI/CD pipeline runs in a Bitbucket repository with build status and timing information.stop_pipelineStop pipelinePOSTAgents: ask firstStops a running pipeline and all incomplete steps.trigger_pipelineTrigger pipelinePOSTAgents: ask firstTriggers a new pipeline run on a specific branch, tag, or commit with optional custom variables.
Repository, 4 operations
create_repositoryCreate repositoryPOSTAgents: ask firstCreates a new Git repository in the specified workspace with custom settings for privacy, forking, and project assignment.delete_repositoryDelete repositoryDELETEAgents: ask firstPermanently deletes a Bitbucket repository and all its contents. This action cannot be undone.get_repositoryGet repositoryGETAgents: ask firstRetrieves detailed information about a specific Bitbucket repository including metadata, settings, and access links.list_repositoriesList repositoriesGETAgents: ask firstLists all repositories in a workspace accessible to the authenticated user. Filter by role, query, and sort order.
Default reviewer, 3 operations
add_default_reviewerAdd default reviewerPUTAgents: ask firstAdds a user as a default reviewer.list_default_reviewersList default reviewersGETAgents: ask firstLists default reviewers for a repository.remove_default_reviewerRemove default reviewerDELETEAgents: ask firstRemoves a user from default reviewers.
Deploy key, 3 operations
add_deploy_keyAdd deploy keyPOSTAgents: ask firstAdds a new deploy key to a repository.delete_deploy_keyDelete deploy keyDELETEAgents: ask firstDeletes a deploy key from a repository.list_deploy_keysList deploy keysGETAgents: ask firstLists all deploy keys for a repository.
Tag, 3 operations
create_tagCreate tagPOSTAgents: ask firstCreates a new tag pointing to a specific commit.delete_tagDelete tagDELETEAgents: ask firstDeletes a tag from the repository.list_tagsList tagsGETAgents: ask firstLists all tags in a repository with their target commit information.
Webhook, 3 operations
create_webhookCreate webhookPOSTAgents: ask firstCreates a new webhook for a repository.delete_webhookDelete webhookDELETEAgents: ask firstDeletes a webhook from a repository.list_webhooksList webhooksGETAgents: ask firstLists all webhooks configured for a repository.
Commit, 2 operations
get_commitGet commitGETAgents: ask firstRetrieves detailed information about a specific commit including message, author, and parent references.list_commitsList commitsGETAgents: ask firstLists commits in a Bitbucket repository with author, message, and parent information. Filter by branch or path.
Commit status, 2 operations
create_commit_statusCreate commit statusPOSTAgents: ask firstCreates or updates a build status for a commit.list_commit_statusesList commit statusesGETAgents: ask firstLists all build statuses for a commit.
Fork, 2 operations
fork_repositoryFork repositoryPOSTAgents: ask firstCreates a fork of a repository.list_repository_forksList repository forksGETAgents: ask firstLists all forks of a repository.
Pr comment, 2 operations
create_pull_request_commentCreate pull request commentPOSTAgents: ask firstAdds a comment to a pull request.list_pull_request_commentsList pull request commentsGETAgents: ask firstLists all comments on a pull request.
Workspace, 2 operations
get_workspaceGet workspaceGETAgents: ask firstRetrieves detailed information about a workspace.list_workspacesList workspacesGETAgents: ask firstLists all workspaces the user is a member of.
Diff, 1 operation
get_commit_diffGet commit diffGETAgents: ask firstRetrieves the diff for a commit or between refs.
Permission, 1 operation
list_workspace_repository_permissionsList workspace repository permissionsGETAgents: ask firstLists repository permissions for the authenticated user within a specific workspace.
Pipeline log, 1 operation
get_pipeline_step_logGet pipeline step logGETAgents: ask firstRetrieves the log output for a specific pipeline step.
Pipeline step, 1 operation
list_pipeline_stepsList pipeline stepsGETAgents: ask firstLists all steps in a pipeline run with their status and execution details.
Pr activity, 1 operation
get_pull_request_activityGet pull request activityGETAgents: ask firstGets the activity log for a pull request.
Pr commit, 1 operation
list_pull_request_commitsList pull request commitsGETAgents: ask firstLists all commits included in a pull request.
Pr diff, 1 operation
get_pull_request_diffGet pull request diffGETAgents: ask firstGets the diff for a pull request.
User, 1 operation
get_current_userGet current userGETAgents: ask firstRetrieves the profile of the currently authenticated Bitbucket user including username, display name, and account details.
Workspace member, 1 operation
list_workspace_membersList workspace membersGETAgents: ask firstLists all members of a workspace.
Bitbucket API rate limits
- 1,000 requests per hour
1,000/hr standard, up to 10,000/hr paid workspaces. See https://support.atlassian.com/bitbucket-cloud/docs/api-request-limits/
These are the limits Bitbucket documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Bitbucket documentation for current values.
Use Bitbucket from Claude Code, Cursor or Codex
Connect Bitbucket in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Bitbucket operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Bitbucket
- Create your workspace
Sign up free. Nothing to install.
- Connect Bitbucket once
Add your Bitbucket connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Bitbucket integration FAQ
What can you do with the Bitbucket integration?
LiveContext exposes 51 operations on Bitbucket, covering pullrequest, branch, pipeline and repository. Common uses include code review, build monitoring and change inspection.
What are the Bitbucket API rate limits?
Bitbucket documents 1,000 requests per hour. 1,000/hr standard, up to 10,000/hr paid workspaces. See https://support.atlassian.com/bitbucket-cloud/docs/api-request-limits/ Limits are set by Bitbucket and can depend on your plan.
