npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@atlassian-dc-mcp/bitbucket

v0.11.2

Published

This package provides a Machine Comprehension Protocol (MCP) server for interacting with Atlassian Bitbucket Data Center edition.

Readme

Atlassian Bitbucket Data Center MCP

This package provides a Machine Comprehension Protocol (MCP) server for interacting with Atlassian Bitbucket Data Center edition.

Claude Desktop Configuration

To use this MCP connector with Claude Desktop, add the following to your Claude Desktop configuration:

macOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "atlassian-bitbucket-dc": {
      "command": "npx",
      "args": ["-y", "@atlassian-dc-mcp/bitbucket"],
      "env": {
        "BITBUCKET_HOST": "your-bitbucket-host",
        "BITBUCKET_API_TOKEN": "your-token"
      }
    }
  }
}

Note: Set BITBUCKET_HOST variable only to domain + port without protocol (e.g., your-instance.atlassian.net). The https protocol is assumed.

Alternatively, you can use BITBUCKET_API_BASE_PATH instead of BITBUCKET_HOST to specify the complete API base URL including protocol (e.g., https://your-instance.atlassian.net/rest). Note that the /api/latest/ part is static and added automatically in the code, so you don't need to include it in the BITBUCKET_API_BASE_PATH value.

Features

  • Access repository information
  • Get file contents
  • Browse branches and commits
  • Get pull request information
  • Search and filter repositories

Setup

  1. Install dependencies:

    npm install
  2. Create a .env file in the packages/bitbucket directory with the following variables:

    BITBUCKET_HOST=your-bitbucket-instance.atlassian.net
    # OR alternatively use
    # BITBUCKET_API_BASE_PATH=https://your-bitbucket-instance.atlassian.net/rest
    # Note: /api/latest/ is added automatically, do not include it
    BITBUCKET_API_TOKEN=your-personal-access-token

    To create a personal access token:

  • In Bitbucket, select your profile picture at the bottom left
  • Select Manage Account > HTTP access tokens
  • Select Create token and give it a name
  • Set appropriate permissions for the token
  • Copy the token and store it securely (you won't be able to see it again)

Usage

Or for development with auto-reload:

npm run dev

Available Tools

1. bitbucket_getRepositories

Get a list of repositories from the Bitbucket Data Center instance.

Parameters:

  • projectKey (string, optional): Filter repositories by project key
  • limit (number, optional): Maximum number of results to return
  • start (number, optional): Starting index for pagination

2. bitbucket_getRepository

Get details of a specific repository from the Bitbucket Data Center instance.

Parameters:

  • projectKey (string, required): The project key (e.g., "PROJECT")
  • repositorySlug (string, required): The repository slug (e.g., "repo-name")

3. bitbucket_getBranches

Get branches for a repository from the Bitbucket Data Center instance.

Parameters:

  • projectKey (string, required): The project key
  • repositorySlug (string, required): The repository slug
  • filterText (string, optional): Filter branches by name
  • limit (number, optional): Maximum number of results to return
  • start (number, optional): Starting index for pagination

4. bitbucket_getFileContent

Get the content of a file from a repository in the Bitbucket Data Center instance.

Parameters:

  • projectKey (string, required): The project key
  • repositorySlug (string, required): The repository slug
  • path (string, required): Path to the file in the repository
  • at (string, optional): Commit or branch to get the file from (defaults to main/master branch)

5. bitbucket_getPullRequests

Get pull requests for a repository from the Bitbucket Data Center instance.

Parameters:

  • projectKey (string, required): The project key
  • repositorySlug (string, required): The repository slug
  • state (string, optional): Filter by PR state (OPEN, MERGED, DECLINED)
  • limit (number, optional): Maximum number of results to return
  • start (number, optional): Starting index for pagination