guenichone/atlassian-bitbucket-server-mcp
If you are the rightful owner of atlassian-bitbucket-server-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that integrates Atlassian Bitbucket Server/Data Center with AI systems.
The Atlassian Bitbucket MCP Server is designed to facilitate seamless interaction between AI systems and Bitbucket repositories. It provides access to various Bitbucket components such as projects, repositories, branches, and files, and offers tools for managing pull requests. The server ensures type-safe API integration by utilizing the official Bitbucket OpenAPI specifications. This integration allows AI systems to perform operations on Bitbucket repositories efficiently, enhancing automation and streamlining workflows. The server supports both STDIO and HTTP/SSE transport modes, making it versatile for different integration scenarios. It is built using Node.js and requires a Bitbucket Server access token for authentication.
Features
- Access to projects, repositories, branches, and files
- Tools for working with pull requests
- Type-safe API integration with official Bitbucket OpenAPI specs
- Supports STDIO and HTTP/SSE transport modes
- Docker support for easy deployment
Usages
stdio with AI integration
ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \ ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \ npm start
sse with AI integration
MCP_TRANSPORT=sse \ ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \ ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \ npm start
docker cli usage
# Build docker build -t bitbucket-mcp-server . # Run docker run --rm -i \ -e ATLASSIAN_BITBUCKET_SERVER_URL=https://git.your-company.com/ \ -e ATLASSIAN_BITBUCKET_ACCESS_TOKEN=your-token \ bitbucket-mcp-server
makefile docker usage
# Build the Docker image make docker-build # Run with your Bitbucket credentials BITBUCKET_URL=https://git.your-company.com/ BITBUCKET_TOKEN=your-token make docker-run # Build and run in one command BITBUCKET_URL=https://git.your-company.com/ BITBUCKET_TOKEN=your-token make docker-all # View all available make commands and examples make help