bitbucket-python-mcp
Verified Safeby clikader
Overview
Enables AI coding agents to interact with BitBucket Cloud for repository, branch, pull request, code search, and memory management operations.
Installation
uvx bitbucket-python-mcpEnvironment Variables
- BITBUCKET_USERNAME
- BITBUCKET_API_TOKEN
- BITBUCKET_WORKSPACE
- BITBUCKET_MCP_DEBUG
Security Notes
The server uses environment variables for credentials, which is a good practice. It wraps synchronous Atlassian API calls with asyncio.to_thread, and subprocess.run is used for git commands with controlled inputs ('origin' or no direct user input in `get_current_branch`). No obvious 'eval' or malicious patterns were found. The memory system stores JSON data, not executable code. Potential risk from un-sanitized 'query' parameters passed to BitBucket API functions, though BitBucket's API itself should handle sanitization.
Similar Servers
github-mcp-server
The GitHub MCP Server enables AI agents, assistants, and chatbots to interact with GitHub's platform for repository management, issue/PR automation, CI/CD intelligence, code analysis, and team collaboration through natural language.
mcp-server-atlassian-bitbucket
Connects AI assistants (LLMs) to Atlassian Bitbucket repositories for code review, repository management, and workflow automation via the Model Context Protocol (MCP).
bitbucket-mcp
AI assistant integration with Bitbucket for repository, pull request, and pipeline management, enabling AI to interact with code and development workflows.
codebase-context
Provides AI coding agents with real-time, context-rich insights into a codebase's patterns, libraries, architecture, and conventions to improve code generation quality and alignment with team standards.