mcp-server-atlassian-bitbucket
by aashari
Overview
Connects AI assistants (LLMs) to Atlassian Bitbucket repositories for code review, repository management, and workflow automation via the Model Context Protocol (MCP).
Installation
npx -y @aashari/mcp-server-atlassian-bitbucketEnvironment Variables
- ATLASSIAN_USER_EMAIL
- ATLASSIAN_API_TOKEN
- ATLASSIAN_BITBUCKET_USERNAME
- ATLASSIAN_BITBUCKET_APP_PASSWORD
- BITBUCKET_DEFAULT_WORKSPACE
- TRANSPORT_MODE
- PORT
- DEBUG
- ATLASSIAN_REQUEST_TIMEOUT
Security Notes
CRITICAL: The `bb_clone` tool executes `git clone` shell commands using user-supplied `repoSlug` and `targetPath` parameters. Although `path.join` is used and the `targetDir` is quoted in the shell command, direct execution of external commands with user-controlled input can be vulnerable to shell injection (Remote Code Execution) if malicious characters can escape the quoting. This risk is amplified when connected to AI agents, which may generate unexpected or exploitable input strings. Further input sanitization or using a Git library instead of shell execution for cloning would significantly improve security. Network requests (fetch) also log raw responses to `/tmp`, which could contain sensitive data if the host system is compromised.
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.
octocode-mcp
The Octocode Research server enables AI agents to perform expert code forensics and deep-dive research across local filesystems (LSP, ripgrep, file I/O) and external GitHub repositories (code search, repo structure, pull requests, package search). It's optimized for architectural analysis, pattern discovery, and implementation planning.
bitbucket-mcp
AI assistant integration with Bitbucket for repository, pull request, and pipeline management, enabling AI to interact with code and development workflows.
mcp-server-atlassian-jira
Connects AI assistants to Jira projects, issues, and workflows to enable natural language interaction for project management and issue tracking.