iflow-mcp_kallows-mcp-bitbucket

v0.1.0
iflow-mcp_kallows-mcp-bitbucket Checked 19 hours ago Published 9 months ago

MCP server for bitbucket python API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bb_create_repository

Create a new repository in Bitbucket

ParameterTypeDescription
name *stringRepository name
descriptionstringRepository description
has_issuesbooleanWhether to initialize the repository with issue tracking enabled
is_privatebooleanWhether the repository should be private
project_keystringThe project key where the repository will be created (optional for personal repos)
workspacestringTarget workspace (defaults to kallows, can use ~ for personal workspace)

bb_create_branch

Create a new branch in a Bitbucket repository

ParameterTypeDescription
branch *stringName for the new branch
repo_slug *stringRepository slug/name
start_pointstringBranch/commit to create from (defaults to main)
workspacestringRepository workspace (defaults to kallows)

bb_delete_repository

Delete a repository from Bitbucket

ParameterTypeDescription
repo_slug *stringThe repository slug to delete
workspacestringTarget workspace (defaults to kallows, can use ~ for personal workspace)

bb_read_file

Read a file from a Bitbucket repository

ParameterTypeDescription
path *stringPath to the file in the repository
repo_slug *stringRepository slug/name
branchstringBranch name (defaults to main/master)
workspacestringRepository workspace (defaults to kallows)

bb_write_file

Write/update a file in a Bitbucket repository

ParameterTypeDescription
content *stringContent to write to the file
path *stringPath where to create/update the file
repo_slug *stringRepository slug/name
branchstringBranch name (defaults to main/master)
messagestringCommit message
workspacestringRepository workspace (defaults to kallows)

bb_create_issue

Create an issue in a Bitbucket repository

ParameterTypeDescription
content *stringIssue content/description
repo_slug *stringRepository slug/name
title *stringIssue title
kindstringIssue type (bug, enhancement, proposal, task)
prioritystringIssue priority (trivial, minor, major, critical, blocker)
workspacestringRepository workspace (defaults to kallows)

bb_delete_issue

Delete an issue from a Bitbucket repository

ParameterTypeDescription
issue_id *stringID of the issue to delete
repo_slug *stringRepository slug/name
workspacestringRepository workspace (defaults to kallows)

bb_search_repositories

Search repositories in Bitbucket using Bitbucket's query syntax. Search by name (name ~ "pattern"), project key (project.key = "PROJ"), language (language = "python"), or dates (updated_on >= "2024-01-19"). NOTE: All dates must be in ISO 8601 format (YYYY-MM-DD). For searching files within repositories, use Bitbucket's code search in the web interface.

ParameterTypeDescription
query *stringSearch query (e.g., 'name ~ "test"' or 'project.key = "PROJ"')
pageintegerPage number for pagination
pagelenintegerNumber of results per page (max 100)
workspacestringWorkspace to search in (defaults to kallows)

bb_delete_file

Delete a file from a Bitbucket repository

ParameterTypeDescription
path *stringPath to the file to delete
repo_slug *stringRepository slug/name
branchstringBranch name (defaults to main/master)
messagestringCommit message for the deletion
workspacestringRepository workspace (defaults to kallows)

bb_create_pull_request

Create a new pull request in a Bitbucket repository

ParameterTypeDescription
repo_slug *stringRepository slug/name
source_branch *stringBranch containing your changes
title *stringPull request title
close_source_branchbooleanClose source branch after merge
descriptionstringPull request description
destination_branchstringBranch you want to merge into
workspacestringRepository workspace (defaults to kallows)