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
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
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
github-mcp-server
Connects AI tools (agents, assistants, chatbots) directly to GitHub's platform, enabling natural language interactions for repository management, issue/PR automation, code analysis, and workflow automation.
octocode-mcp
Enables AI assistants to conduct deep, secure, and token-efficient code research across GitHub repositories by providing structured access and analysis tools.
bitbucket-mcp
An MCP server enabling AI assistants to interact with Bitbucket Cloud and Server APIs for repository, pull request, and pipeline management.
mcp-server-atlassian-jira
Connects AI assistants to Atlassian Jira projects, issues, and workflows to enable natural language interaction for task management, project tracking, and information retrieval.