MCPServers
B

Bitbucket

4
0

Summary

This Bitbucket Server MCP implementation, developed for managing pull requests in Bitbucket Server environments, provides a TypeScript-based interface for AI assistants to interact with Bitbucket Server's API. Built using the Model Context Protocol SDK, it offers tools for creating, retrieving, merging, and declining pull requests, as well as adding comments and fetching diffs. The implementation focuses on streamlining PR workflows, making it easier for AI models to assist in code review processes and PR management. It's particularly useful for development teams using Bitbucket Server who want to integrate AI assistance into their PR workflows, enabling more efficient code reviews, automated PR creation, and status updates without requiring deep knowledge of Bitbucket Server's API intricacies.

Available Actions(9)

list_projects

Discover and explore Bitbucket projects. Lists all accessible projects with their details. Parameters: limit (number, default: 25, max: 1000), start (number, default: 0)

list_repositories

Browse and discover repositories within specific projects or across all accessible projects. Returns comprehensive repository information including clone URLs and metadata. Parameters: project (optional string), limit (number, default: 25, max: 1000), start (number, default: 0)

create_pull_request

Creates a new pull request to submit code changes, request reviews, or merge feature branches. Parameters: project (optional string), repository (required string), title (required string), description (optional string), sourceBranch (required string), targetBranch (required string), reviewers (array of usernames)

get_pull_request

Retrieves detailed pull request information including status, reviewers, commits, and all metadata. Parameters: project (optional string), repository (required string), prId (required string)

merge_pull_request

Merges an approved pull request into the target branch. Parameters: project (optional string), repository (required string), prId (required string), message (optional string), strategy (string: 'merge-commit', 'squash', or 'fast-forward')

decline_pull_request

Declines a pull request that should not be merged, providing feedback to the author. Parameters: project (optional string), repository (required string), prId (required string), message (optional string)

add_comment

Adds comments to pull requests for review feedback, discussions, and collaboration. Parameters: project (optional string), repository (required string), prId (required string), text (required string), parentId (optional string)

get_diff

Retrieves the code differences showing exactly what was added, removed, or modified in the pull request. Parameters: project (optional string), repository (required string), prId (required string), contextLines (number, default: 10)

get_reviews

Fetches review history, approval status, and reviewer feedback to understand the review state.

Last Updated: April 8, 2025

Reseñas de la Comunidad

0.0
0 reseñas
5
0
4
0
3
0
2
0
1
0

Aún no hay reseñas. ¡Sé el primero en reseñar!

Inicia sesión para unirte a la conversación

Try it now in
HighlightHighlight AI

Lenguaje

TypeScript

Categorías

Etiquetas