@nexus2520/bitbucket-mcp-server
MCP ServerFreeMCP server for Bitbucket API integration - supports both Cloud and Server
Capabilities6 decomposed
bitbucket cloud and server api abstraction layer
Medium confidenceProvides unified MCP protocol interface to both Bitbucket Cloud (REST API v2.0) and Bitbucket Server (REST API 1.0) backends through a single server implementation. Routes requests to appropriate API endpoint based on configured instance type, handling authentication differences (OAuth2 for Cloud, Basic/Token for Server) and API response normalization across versions.
Dual-backend MCP server supporting both Bitbucket Cloud and Server with unified interface — most MCP Bitbucket implementations only target Cloud, requiring separate tooling for Server instances
Eliminates need for separate MCP servers or custom adapters when working with mixed Bitbucket deployments, reducing integration complexity for enterprises with hybrid infrastructure
pull request inspection and metadata extraction
Medium confidenceRetrieves comprehensive pull request data including title, description, source/target branches, author, reviewers, approval status, and commit history through MCP tool calls. Implements pagination for large PR lists and normalizes response structure across Bitbucket Cloud and Server API versions to present consistent metadata regardless of backend.
Normalizes PR metadata across Bitbucket Cloud and Server APIs, handling structural differences in approval workflows and reviewer representation without exposing backend-specific quirks to the MCP client
Provides consistent PR data structure for AI agents regardless of Bitbucket deployment, whereas direct API calls require conditional logic to handle Cloud vs Server response formats
repository browsing and file tree navigation
Medium confidenceEnables traversal of repository directory structure and retrieval of file contents through MCP tools that map to Bitbucket's source API endpoints. Supports branch/tag selection, recursive directory listing with pagination, and file content retrieval with encoding handling. Implements caching or lazy-loading patterns to avoid excessive API calls when exploring large codebases.
Abstracts Bitbucket Cloud and Server source API differences to provide unified file browsing interface — handles different endpoint structures and response formats transparently
Single MCP tool set works across both Bitbucket deployments without client-side branching logic, whereas direct API integration requires separate code paths for Cloud vs Server file retrieval
commit history and diff retrieval
Medium confidenceFetches commit logs with metadata (author, timestamp, message, parent commits) and retrieves diffs between commits or branches through MCP tools. Implements pagination for large commit histories and supports filtering by author, date range, or file path. Normalizes diff format across Bitbucket versions and handles merge commits appropriately.
Normalizes commit and diff APIs across Bitbucket Cloud and Server, handling differences in pagination, merge commit representation, and diff formatting without exposing backend-specific details
Provides unified commit history and diff interface for AI agents across both Bitbucket deployments, whereas separate integrations would require duplicate logic for Cloud and Server API differences
branch and tag management operations
Medium confidenceProvides MCP tools to list branches and tags, retrieve branch metadata (last commit, protection status), and potentially create/delete branches through Bitbucket API calls. Implements filtering and sorting for large branch lists and normalizes branch protection rules representation across Cloud and Server versions.
Abstracts branch protection rule differences between Bitbucket Cloud (branch permissions, merge checks) and Server (branch permissions, hooks) into unified interface
Single MCP tool set handles branch operations across both Bitbucket deployments without client-side version detection, whereas direct API calls require conditional logic for Cloud vs Server branch protection APIs
mcp protocol request routing and authentication handling
Medium confidenceCore MCP server implementation that routes incoming tool calls to appropriate Bitbucket API endpoints based on configured instance type (Cloud vs Server). Manages authentication state (OAuth2 tokens for Cloud, Basic/Token auth for Server), handles token refresh, and implements error handling with MCP-compliant error responses. Includes request validation and parameter marshaling.
Implements dual-backend MCP server with unified authentication abstraction — single server instance handles both Cloud OAuth2 and Server token/Basic auth without client-side branching
Eliminates need for separate MCP servers or complex client-side authentication logic when working with mixed Bitbucket deployments, providing single integration point for both Cloud and Server
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with @nexus2520/bitbucket-mcp-server, ranked by overlap. Discovered automatically through the match graph.
GitHub Repos Manager MCP Server
** - Token-based GitHub automation management. No Docker, Flexible configuration, 80+ tools with direct API integration.
octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live d
Gitee
** - Gitee API integration, repository, issue, and pull request management, and more.
Harness
** - Access and interact with Harness platform data, including pipelines, repositories, logs, and artifact registries.
GitLab
** - GitLab API, enabling project management.
GitLab
Official GitLab-maintained extension for Visual Studio Code.
Best For
- ✓Teams using both Bitbucket Cloud and self-hosted Server instances who need unified AI tooling
- ✓Enterprise developers building LLM agents that need to interact with Bitbucket across multiple deployment models
- ✓Organizations migrating from Server to Cloud who need backward compatibility during transition
- ✓AI code review agents that need to analyze PR context before generating feedback
- ✓Developers building Bitbucket-integrated LLM workflows for change tracking and approval automation
- ✓Teams automating PR triage, assignment, or status reporting through AI agents
- ✓LLM agents performing code analysis or generation that need to explore repository structure
- ✓Developers building AI-assisted code navigation or documentation generation tools
Known Limitations
- ⚠API feature parity gaps between Cloud v2.0 and Server 1.0 may require conditional logic for certain operations
- ⚠Authentication setup requires separate credentials for each Bitbucket instance (no cross-instance SSO)
- ⚠Response normalization adds abstraction overhead — some Cloud-specific or Server-specific fields may be lost in translation
- ⚠Pagination requires multiple requests for repositories with hundreds of open PRs — no built-in streaming or cursor-based continuation
- ⚠PR diff content not included in metadata extraction — requires separate diff retrieval capability
- ⚠Approval status representation differs between Cloud (reviewers array with status) and Server (approval count) — normalization may lose granularity
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Package Details
About
MCP server for Bitbucket API integration - supports both Cloud and Server
Categories
Alternatives to @nexus2520/bitbucket-mcp-server
Are you the builder of @nexus2520/bitbucket-mcp-server?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →