bitbucket-mcp-server-datacenter

v0.1.3
bitbucket-mcp-server-datacenter Checked 17 hours ago Published 6 months ago

MCP server for Bitbucket Data Center (Server), not Bitbucket Cloud.

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

browse_files Browse Files

List files/directories at a path (tree browsing).

ParameterTypeDescription
project *stringProject key (`~username` for personal).
slug *stringRepository slug.
atBranch/tag/commit ref.
pathstringDirectory path; empty for repo root.

get_current_user Get Current User

Verify connectivity/auth and return the authenticated user and server version.

get_file_content Get File Content

Return the raw text content of a file.

ParameterTypeDescription
path *stringFile path within the repository.
project *stringProject key (`~username` for personal).
slug *stringRepository slug.
atBranch/tag/commit ref. Defaults to default branch.

get_pull_request Get Pull Request

Get details for a single pull request, including its current version.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
pull_request_id *integerPull request id.
slug *stringRepository slug.

get_pull_request_activities Get Pull Request Activities

List activity (comments, approvals, updates) for a pull request.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
pull_request_id *integerPull request id.
slug *stringRepository slug.
limitintegerMax activities to return.

get_pull_request_diff Get Pull Request Diff

Get the unified diff for a pull request.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
pull_request_id *integerPull request id.
slug *stringRepository slug.
context_linesintegerDiff context lines.

get_repository Get Repository

Get details for a single repository.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
slug *stringRepository slug.

list_branches List Branches

List branches in a repository.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
slug *stringRepository slug.
filter_textFilter branches by text.
limitintegerMax branches to return.

list_commits List Commits

List commits, optionally starting from a branch/tag/commit ref.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
slug *stringRepository slug.
limitintegerMax commits to return.
untilBranch/tag/commit to list from (newest).

list_projects List Projects

List Bitbucket projects visible to the authenticated user.

ParameterTypeDescription
limitintegerMax projects to return.
nameFilter by project name.

list_pull_requests List Pull Requests

List pull requests in a repository.

ParameterTypeDescription
project *stringProject key (`~username` for personal).
slug *stringRepository slug.
limitintegerMax PRs to return.
statestringOPEN, DECLINED, MERGED, or ALL.

list_repositories List Repositories

List repositories in a project.

ParameterTypeDescription
project *stringProject key. Personal repos use `~username`.
limitintegerMax repos to return.