garc33_bitbucket-server-mcp-server
1
This is a Model Context Protocol server for managing Bitbucket Server Pull Requests. It provides tools to interact with the Bitbucket API, facilitating operations like creating, merging, and commenting on pull requests.
Bitbucket Server MCP
MCP (Model Context Protocol) server for Bitbucket Server Pull Request management. This server provides tools to interact with the Bitbucket Server API through the MCP protocol.
Features
- Create Pull Request: Initiates a new pull request with required parameters like project, repository, title, etc.
- Get Pull Request: Retrieves detailed information about a specific pull request.
- Merge Pull Request: Merges a pull request with different strategies like merge-commit, squash, or fast-forward.
- Decline Pull Request: Declines a pull request with a reason message.
- Add Comment: Adds comments to a pull request, with options for replies.
- Get Diff: Retrieves the diff for a pull request with customizable context lines.
- Get Reviews: Fetches review history, including approvals and reviews.
Requirements
- Node.js >= 16
Installation
- Use npm to install necessary packages.
Dependencies
@modelcontextprotocol/sdk
axios
winston
Configuration
Configuration requires settings in the VSCode MCP settings file, including environment variables for Bitbucket Server details and authentication.