Back to Home
aashari icon

mcp-server-atlassian-bitbucket

by aashari

Overview

Connects AI assistants to Bitbucket repositories, pull requests, and code for insights, automated code reviews, and streamlined development workflows.

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

Security Notes

The `bb_clone` tool executes local `git clone` commands using `child_process.exec`. While `targetDir` is quoted, if `repoSlug` or `cloneUrl` (derived from Bitbucket API responses) contain malicious shell metacharacters, it could lead to shell injection. Input sanitization for shell commands should be more robust, potentially using `child_process.spawn` with an array of arguments to avoid shell interpretation, or stricter validation of allowed characters in `repoSlug` to prevent argument injection.

Similar Servers

Stats

Interest Score51
Security Score6
Cost ClassLow
Avg Tokens1000
Stars90
Forks42
Last Update2025-12-03

Tags

BitbucketAI IntegrationRepository ManagementPull Request AutomationCode Review