Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Bitbucket.Built from the 58 Bitbucket tools below, on the connection you add once.

Common Bitbucket use cases

  • code review
  • issue tracking
  • build monitoring
  • change inspection
  • team management
  • deployment setup
  • issue discussion
  • issue management
  • feedback
  • PR workflow

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.

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 requestPOSTApproves a pull request as the authenticated user.
  • create_pull_requestCreate pull requestPOSTCreates a new pull request to merge changes from a source branch to a destination branch.
  • decline_pull_requestDecline pull requestPOSTDeclines a pull request without merging.
  • get_pull_requestGet pull requestGETRetrieves detailed information about a specific pull request including status, branches, and review state.
  • list_pull_requestsList pull requestsGETLists pull requests in a Bitbucket repository with status, author, and branch information.
  • merge_pull_requestMerge pull requestPOSTMerges an approved pull request into the destination branch using the specified merge strategy.
  • unapprove_pull_requestUnapprove pull requestDELETERemoves approval from a pull request.
  • update_pull_requestUpdate pull requestPUTUpdates an existing pull request's properties.

Issue, 5 operations

  • create_issueCreate issuePOSTCreates a new issue in a Bitbucket repository with title, description, type, and priority.
  • delete_issueDelete issueDELETEDeletes an issue from the repository.
  • get_issueGet issueGETRetrieves detailed information about a specific issue.
  • list_issuesList issuesGETLists issues in a Bitbucket repository with status, priority, and assignee information.
  • update_issueUpdate issuePUTUpdates an existing issue's properties.

Branch, 4 operations

  • create_branchCreate branchPOSTCreates a new branch from a specified commit or existing branch.
  • delete_branchDelete branchDELETEDeletes a branch from the repository.
  • get_branchGet branchGETRetrieves detailed information about a specific branch.
  • list_branchesList branchesGETLists all branches in a Bitbucket repository with their latest commit information.

Pipeline, 4 operations

  • get_pipelineGet pipelineGETRetrieves detailed information about a specific pipeline run including state and timing.
  • list_pipelinesList pipelinesGETLists CI/CD pipeline runs in a Bitbucket repository with build status and timing information.
  • stop_pipelineStop pipelinePOSTStops a running pipeline and all incomplete steps.
  • trigger_pipelineTrigger pipelinePOSTTriggers a new pipeline run on a specific branch, tag, or commit with optional custom variables.

Repository, 4 operations

  • create_repositoryCreate repositoryPOSTCreates a new Git repository in the specified workspace with custom settings for privacy, forking, and project assignment.
  • delete_repositoryDelete repositoryDELETEPermanently deletes a Bitbucket repository and all its contents. This action cannot be undone.
  • get_repositoryGet repositoryGETRetrieves detailed information about a specific Bitbucket repository including metadata, settings, and access links.
  • list_repositoriesList repositoriesGETLists 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 reviewerPUTAdds a user as a default reviewer.
  • list_default_reviewersList default reviewersGETLists default reviewers for a repository.
  • remove_default_reviewerRemove default reviewerDELETERemoves a user from default reviewers.

Deploy key, 3 operations

  • add_deploy_keyAdd deploy keyPOSTAdds a new deploy key to a repository.
  • delete_deploy_keyDelete deploy keyDELETEDeletes a deploy key from a repository.
  • list_deploy_keysList deploy keysGETLists all deploy keys for a repository.

Tag, 3 operations

  • create_tagCreate tagPOSTCreates a new tag pointing to a specific commit.
  • delete_tagDelete tagDELETEDeletes a tag from the repository.
  • list_tagsList tagsGETLists all tags in a repository with their target commit information.

Webhook, 3 operations

  • create_webhookCreate webhookPOSTCreates a new webhook for a repository.
  • delete_webhookDelete webhookDELETEDeletes a webhook from a repository.
  • list_webhooksList webhooksGETLists all webhooks configured for a repository.

Commit, 2 operations

  • get_commitGet commitGETRetrieves detailed information about a specific commit including message, author, and parent references.
  • list_commitsList commitsGETLists commits in a Bitbucket repository with author, message, and parent information. Filter by branch or path.

Commit status, 2 operations

  • create_commit_statusCreate commit statusPOSTCreates or updates a build status for a commit.
  • list_commit_statusesList commit statusesGETLists all build statuses for a commit.

Fork, 2 operations

  • fork_repositoryFork repositoryPOSTCreates a fork of a repository.
  • list_repository_forksList repository forksGETLists all forks of a repository.

Issue comment, 2 operations

  • create_issue_commentCreate issue commentPOSTAdds a comment to an issue.
  • list_issue_commentsList issue commentsGETLists all comments on an issue.

Pr comment, 2 operations

  • create_pull_request_commentCreate pull request commentPOSTAdds a comment to a pull request.
  • list_pull_request_commentsList pull request commentsGETLists all comments on a pull request.

Workspace, 2 operations

  • get_workspaceGet workspaceGETRetrieves detailed information about a workspace.
  • list_workspacesList workspacesGETLists all workspaces the user is a member of.

Diff, 1 operation

  • get_commit_diffGet commit diffGETRetrieves the diff for a commit or between refs.

Permission, 1 operation

  • list_workspace_repository_permissionsList workspace repository permissionsGETLists repository permissions for the authenticated user within a specific workspace.

Pipeline log, 1 operation

  • get_pipeline_step_logGet pipeline step logGETRetrieves the log output for a specific pipeline step.

Pipeline step, 1 operation

  • list_pipeline_stepsList pipeline stepsGETLists all steps in a pipeline run with their status and execution details.

Pr activity, 1 operation

  • get_pull_request_activityGet pull request activityGETGets the activity log for a pull request.

Pr commit, 1 operation

  • list_pull_request_commitsList pull request commitsGETLists all commits included in a pull request.

Pr diff, 1 operation

  • get_pull_request_diffGet pull request diffGETGets the diff for a pull request.

User, 1 operation

  • get_current_userGet current userGETRetrieves the profile of the currently authenticated Bitbucket user including username, display name, and account details.

Workspace member, 1 operation

  • list_workspace_membersList workspace membersGETLists 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 Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Bitbucket

  1. Create your workspace

    Sign up free. Nothing to install.

  2. 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.

  3. 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 58 operations on Bitbucket, covering pullrequest, issue, branch and pipeline. Common uses include code review, issue tracking and build monitoring.

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.

Popular integrations

Browse the whole catalog