All
Bitbucket logo. Bitbucket MCP server connector.

Bitbucket MCP Server

Bitbucket is a Git-based source code repository hosting service for collaborative software development, code review, and CI/CD pipelines.

Tools
19
Last Updated
Apr 27, 2026
Category
all
Enterprise-grade security
SSO & authentication ready
Full governance & audit logs

What is the Bitbucket MCP Server?

The Bitbucket MCP server gives AI agents structured, permission-aware access to Bitbucket through the Model Context Protocol. With 19 pre-built actions, agents can read, create, and update Bitbucket data on behalf of authorized users.

Willow ships the Bitbucket MCP server as part of an enterprise control plane. Every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to a full audit trail, and integrates with Splunk and Loki for SIEM visibility. Connect from Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, or any custom agent. Install once, distribute org-wide, and see exactly how Bitbucket is being used by every AI agent in your stack.

Tools

List Repositories

List Bitbucket repositories in a workspace

Get Repository

Get details of a specific Bitbucket repository

List Pull Requests

List pull requests for a Bitbucket repository

Get Pull Request

Get details of a specific pull request

Create Pull Request

Create a new pull request in a Bitbucket repository

Update Pull Request

Update an existing pull request

Merge Pull Request

Merge a pull request

Approve Pull Request

Approve a pull request

Get Pull Request Comments

List comments on a pull request

Add Pull Request Comment

Add a comment to a pull request. Supports both general and inline comments on specific lines of code.
1–10 of 19 tools

Customize Tools

Edit descriptions, modify arguments, select tools, or add new ones

Edit descriptions
Change arguments
Select tools
Create New

Set Up Your Bitbucket MCP Server in Minutes

Add the following configuration to your MCP client. Authentication is handled via OAuth. Compatible with Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, and any MCP-compatible agent.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "willow-bitbucket": {
      "type": "http",
      "url": "https://<org>.mcp-s.com/mcp/mcp/bitbucket"
    }
  }
}

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "willow-bitbucket": {
      "type": "http",
      "url": "https://<org>.mcp-s.com/mcp/mcp/bitbucket"
    }
  }
}

Claude Code

CLI
claude mcp add willow-bitbucket --transport http https://<org>.mcp-s.com/mcp/mcp/bitbucket

n8n

HTTP Request Node
{
  "url": "https://<org>.mcp-s.com/mcp/mcp/bitbucket",
  "method": "POST"
}

Or click "Install with Willow" above to set up automatically with SSO and RBAC preconfigured.

Enterprise Governance for Bitbucket

Willow adds the layer Bitbucket and every other SaaS doesn't ship out of the box: every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to full audit logs, and detects shadow AI usage across your stack. One MCP gateway. Any agent. Every tool.

Bitbucket MCP Server FAQ

What is the Bitbucket MCP server?

The Bitbucket MCP server is a Model Context Protocol implementation that lets AI agents like Claude, Cursor, and ChatGPT read and write Bitbucket data through a standardized interface. Willow hosts and governs this server so enterprises can roll it out without a security review backlog.

How is Willow's Bitbucket MCP server different from the official one?

The official Bitbucket MCP server is scoped to a single user's account and does not include enterprise governance. Willow's version adds SSO, RBAC, audit logging, shadow AI detection, and centralized control over which actions agents can take across the entire org.

Which AI clients work with the Bitbucket MCP server?

Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code with MCP support, n8n, and any custom agent built with OpenAI Agents SDK, LangChain, Vercel AI SDK, or Anthropic SDK.

Is the Bitbucket MCP server secure? How does Willow handle authentication?

Every call runs behind your existing SSO (Okta, Azure AD). Per-user OAuth scopes the agent to exactly what that user can do in Bitbucket, nothing more. No credentials reach the LLM. Every action writes to an audit trail.

Can I limit which Bitbucket actions agents can take?

Yes. Willow lets you scope agents to specific actions, specific projects, or specific environments. Toggle actions on or off in the dashboard, or enforce policy via infrastructure-as-code through GitHub.

How do I detect shadow Bitbucket MCP servers in my org?

Willow's browser extension and discovery service surface unmanaged MCP servers, skills, and AI agents across the org. If a developer installed an unapproved Bitbucket MCP locally, you'll see it.

What does the Bitbucket MCP server cost?

Pricing depends on org size and deployment model (SaaS, dedicated cloud, self-host). See withwillow.ai/pricing or contact sales for a quote.

How do I install the Bitbucket MCP server with Willow?

Install via the Willow Connect Panel in one click, or paste the JSON snippet above into your Claude Desktop, Cursor, or Claude Code config. SSO and RBAC inherit from your existing Willow setup.

Compare Willow MCP Gateway

See how Willow stacks up against other MCP platforms on governance, security, and enterprise readiness.

Your agents are already in the wild.

Give them a Basecamp. Go from AI chaos to AI work, in minutes.

Bitbucket MCP Server | Willow