iflow-mcp_kallows-mcp-bitbucket
v0.1.0MCP 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
| Parameter | Type | Description |
|---|---|---|
name * | string | Repository name |
description | string | Repository description |
has_issues | boolean | Whether to initialize the repository with issue tracking enabled |
is_private | boolean | Whether the repository should be private |
project_key | string | The project key where the repository will be created (optional for personal repos) |
workspace | string | Target workspace (defaults to kallows, can use ~ for personal workspace) |
bb_create_branch
Create a new branch in a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
branch * | string | Name for the new branch |
repo_slug * | string | Repository slug/name |
start_point | string | Branch/commit to create from (defaults to main) |
workspace | string | Repository workspace (defaults to kallows) |
bb_delete_repository
Delete a repository from Bitbucket
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | The repository slug to delete |
workspace | string | Target workspace (defaults to kallows, can use ~ for personal workspace) |
bb_read_file
Read a file from a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file in the repository |
repo_slug * | string | Repository slug/name |
branch | string | Branch name (defaults to main/master) |
workspace | string | Repository workspace (defaults to kallows) |
bb_write_file
Write/update a file in a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to write to the file |
path * | string | Path where to create/update the file |
repo_slug * | string | Repository slug/name |
branch | string | Branch name (defaults to main/master) |
message | string | Commit message |
workspace | string | Repository workspace (defaults to kallows) |
bb_create_issue
Create an issue in a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
content * | string | Issue content/description |
repo_slug * | string | Repository slug/name |
title * | string | Issue title |
kind | string | Issue type (bug, enhancement, proposal, task) |
priority | string | Issue priority (trivial, minor, major, critical, blocker) |
workspace | string | Repository workspace (defaults to kallows) |
bb_delete_issue
Delete an issue from a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | ID of the issue to delete |
repo_slug * | string | Repository slug/name |
workspace | string | Repository 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (e.g., 'name ~ "test"' or 'project.key = "PROJ"') |
page | integer | Page number for pagination |
pagelen | integer | Number of results per page (max 100) |
workspace | string | Workspace to search in (defaults to kallows) |
bb_delete_file
Delete a file from a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file to delete |
repo_slug * | string | Repository slug/name |
branch | string | Branch name (defaults to main/master) |
message | string | Commit message for the deletion |
workspace | string | Repository workspace (defaults to kallows) |
bb_create_pull_request
Create a new pull request in a Bitbucket repository
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug/name |
source_branch * | string | Branch containing your changes |
title * | string | Pull request title |
close_source_branch | boolean | Close source branch after merge |
description | string | Pull request description |
destination_branch | string | Branch you want to merge into |
workspace | string | Repository workspace (defaults to kallows) |