Bitbucket

Bitbucket

Bitbucket is a Git-based code hosting and collaboration platform supporting private and public repositories, enabling teams to manage and review code through pull requests and integrations

3997VIEWS
402USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app bitbucketnpx @composio/cli add cursor --app bitbucketnpx @composio/cli add cursor --app bitbucketnpx @composio/cli add cursor --app bitbucket

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Create A Branch

Creates a new branch in a bitbucket repository from a target commit hash; the branch name must be unique, adhere to bitbucket's naming conventions, and not include the 'refs/heads/' prefix.

Create An Issue

Creates a new issue in a bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component ids exist.

Create An Issue Comment

Adds a new comment with markdown support to an existing bitbucket issue.

Create A Pull Request

Creates a new pull request in a specified bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.

Create Repository

Creates a new bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project key` is not provided.

Create Snippet Comment

Posts a new top-level comment or a threaded reply to an existing comment on a specified bitbucket snippet.

Delete Issue

Permanently deletes a specific issue, identified by its `issue id`, from the repository specified by `repo slug` within the given `workspace`.

Delete Repository

Permanently deletes a specified bitbucket repository; this action is irreversible and does not affect forks.

Get Current User

Retrieves the profile information (uuid, display name, links, creation date) for the currently authenticated bitbucket user.

Get File From Repository

Retrieves a specific file's content from a bitbucket repository at a given commit (hash, branch, or tag), failing if the file path is invalid for that commit.

Get Snippet

Retrieves a specific bitbucket snippet by its encoded id from an existing workspace, returning its metadata and file structure.

List Pull Requests

Lists pull requests in a specified, accessible bitbucket repository, optionally filtering by state (open, merged, declined).

List Repositories In Workspace

Lists repositories in a specified bitbucket workspace, accessible to the authenticated user, with options to filter by role or query string, and sort results.

List Workspace Members

Lists all members of a specified bitbucket workspace; the workspace must exist.

List Workspaces

Lists bitbucket workspaces accessible to the authenticated user, optionally filtered and sorted.

Update An Issue

Updates an existing issue in a bitbucket repository by modifying specified attributes; requires `workspace`, `repo slug`, `issue id`, and at least one attribute to update.

16 actions available