Bitbucket MCP server that provides tools for managing repositories, pull requests, and workspaces through Atlassian's REST APIs. Built with TypeScript and featuring robust error handling, pagination support, and detailed logging, it enables AI assistants to list workspaces, browse repositories, and interact with pull requests. The implementation uses a controller-service architecture with standardized formatters for consistent markdown output, making it particularly valuable for developers who want to monitor and manage Bitbucket resources directly through conversational AI.
List available Bitbucket workspaces.
Get full details for a specific workspace. Parameters: workspaceSlug (string)
List repositories in a workspace. Parameters: workspaceSlug (string), query (optional string)
Get details of a specific repository. Parameters: workspaceSlug (string), repoSlug (string)
Search Bitbucket content. Parameters: workspaceSlug (string), query (string), scope (string - can be 'repositories', 'pullrequests', 'commits', or 'code')
List pull requests in a repository. Parameters: workspaceSlug (string), repoSlug (string), state (string - can be 'OPEN', 'MERGED', or 'DECLINED')
Get full details of a pull request, including code diffs and file changes. Parameters: workspaceSlug (string), repoSlug (string), prId (string)
List comments on a specific pull request. Parameters: workspaceSlug (string), repoSlug (string), prId (string)
Add a comment to a pull request. Parameters: workspaceSlug (string), repoSlug (string), prId (string), content (string), inline (optional - object with path and line for inline comments)
Create a new pull request. Parameters: workspaceSlug (string), repoSlug (string), title (string), sourceBranch (string)
No reviews yet. Be the first to review!
Sign in to join the conversation