AM

aashari/mcp-server-atlassian-bitbucket

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

164 stars 64 forks 质量 65 趋势 0

aashari/mcp-server-atlassian-bitbucket 是从 https://github.com/aashari/mcp-server-atlassian-bitbucket. 导入的 MCP 服务器候选

概览

aashari/mcp-server-atlassian-bitbucket 是从 https://github.com/aashari/mcp-server-atlassian-bitbucket. 导入的 MCP 服务器候选

概述(AI 翻译)

通过将Claude、Cursor AI及其他AI助手直接连接到你的仓库、拉取请求和代码,改变你的Bitbucket工作方式。获得即时洞察,自动化代码审查,简化你的开发流程。

你能做什么

  • 询问AI你的代码:“我主仓库中最新的提交是什么?”
  • 获取公关洞察:“显示所有需要审核的开放拉取请求”
  • 搜索你的代码库:“查找所有使用认证功能的JavaScript文件”
  • 审查代码变更:“比较我的功能分支与主分支之间的差异”
  • 管理拉取请求:“为我的新功能分支创建PR”
  • 自动化工作流程:“在PR #123中添加测试结果注释”

完美

  • 开发者希望在代码审查和仓库管理上获得AI协助
  • 团队负责人需要快速洞察项目状态和拉取请求活动
  • DevOps 工程师 自动化仓库工作流程和分支管理
  • 任何想使用自然语言与Bitbucket交互的人

要求

  • Node.js 18.0.0 或更高
  • Bitbucket云端账户(非Bitbucket服务器/数据中心)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Connect AI to Your Bitbucket Repositories

Transform how you work with Bitbucket by connecting Claude, Cursor AI, and other AI assistants directly to your repositories, pull requests, and code. Get instant insights, automate code reviews, and streamline your development workflow.

What You Can Do

  • Ask AI about your code: “What’s the latest commit in my main repository?”
  • Get PR insights: “Show me all open pull requests that need review”
  • Search your codebase: “Find all JavaScript files that use the authentication function”
  • Review code changes: “Compare the differences between my feature branch and main”
  • Manage pull requests: “Create a PR for my new-feature branch”
  • Automate workflows: “Add a comment to PR #123 with the test results”

Perfect For

  • Developers who want AI assistance with code reviews and repository management
  • Team Leads needing quick insights into project status and pull request activity
  • DevOps Engineers automating repository workflows and branch management
  • Anyone who wants to interact with Bitbucket using natural language

Requirements

  • Node.js 18.0.0 or higher
  • Bitbucket Cloud account (not Bitbucket Server/Data Center)
  • Authentication credentials: Scoped API Token (recommended) or App Password (legacy)

Quick Start

Get up and running in 2 minutes:

1. Get Your Bitbucket Credentials

IMPORTANT: Bitbucket App Passwords are being deprecated and will be removed by June 2026. We recommend using Scoped API Tokens for new setups.

Bitbucket is deprecating app passwords. Use the new scoped API tokens instead:

  1. Go to Atlassian API Tokens
  2. Click “Create API token with scopes”
  3. Select “Bitbucket” as the product
  4. Choose the appropriate scopes:
    • For read-only access: repository, workspace
    • For full functionality: repository, workspace, pullrequest
  5. Copy the generated token (starts with ATATT)
  6. Use with your Atlassian email as the username

Option B: App Password (Legacy - Will be deprecated)

Generate a Bitbucket App Password (legacy method):

  1. Go to Bitbucket App Passwords
  2. Click “Create app password”
  3. Give it a name like “AI Assistant”
  4. Select these permissions:
    • Workspaces: Read
    • Repositories: Read (and Write if you want AI to create PRs/comments)
    • Pull Requests: Read (and Write for PR management)

2. Try It Instantly

在 GitHub 查看完整 README

安装

npx -y @aashari/mcp-server-atlassian-bitbucket
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bitbucket": { "command": "npx", "args": ["-y", "@aashari/mcp-server-atlassian-bitbucket"], "env": { "ATLASSIAN_USER_EMAIL": "[email protected]", "ATLASSIAN_API_TOKEN": "your_scoped_api_token" } } } }