Back to Home
aashari icon

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

Run Command
npx -y @aashari/mcp-server-atlassian-bitbucket

Environment 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

Stats

Interest Score48
Security Score2
Cost ClassLow
Avg Tokens2000
Stars100
Forks44
Last Update2026-01-07

Tags

bitbucketaideveloperautomationcode-reviewmcp-server