bitbucket-mcp-server-datacenter
v0.1.3MCP 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).
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
at | Branch/tag/commit ref. | |
path | string | Directory 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | File path within the repository. |
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
at | Branch/tag/commit ref. Defaults to default branch. |
get_pull_request Get Pull Request
Get details for a single pull request, including its current version.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
pull_request_id * | integer | Pull request id. |
slug * | string | Repository slug. |
get_pull_request_activities Get Pull Request Activities
List activity (comments, approvals, updates) for a pull request.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
pull_request_id * | integer | Pull request id. |
slug * | string | Repository slug. |
limit | integer | Max activities to return. |
get_pull_request_diff Get Pull Request Diff
Get the unified diff for a pull request.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
pull_request_id * | integer | Pull request id. |
slug * | string | Repository slug. |
context_lines | integer | Diff context lines. |
get_repository Get Repository
Get details for a single repository.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
list_branches List Branches
List branches in a repository.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
filter_text | Filter branches by text. | |
limit | integer | Max branches to return. |
list_commits List Commits
List commits, optionally starting from a branch/tag/commit ref.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
limit | integer | Max commits to return. |
until | Branch/tag/commit to list from (newest). |
list_projects List Projects
List Bitbucket projects visible to the authenticated user.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max projects to return. |
name | Filter by project name. |
list_pull_requests List Pull Requests
List pull requests in a repository.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key (`~username` for personal). |
slug * | string | Repository slug. |
limit | integer | Max PRs to return. |
state | string | OPEN, DECLINED, MERGED, or ALL. |
list_repositories List Repositories
List repositories in a project.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project key. Personal repos use `~username`. |
limit | integer | Max repos to return. |