Skip to content
Book demo

Bitbucket

Remote MCP·Local·STDIO

Bitbucket Cloud integration for repositories, pull requests, branches, commits, deployments, and pipelines via generic REST API tools with JMESPath filtering and TOON output.

Good for:Pull requestsRepository browsingBranch managementPipeline access

Installation path

Open AugmentGo to ConfigurationSelect MCP RegistryClick "Add Server"

Choose Add Server, select Local MCP, use npx as the command, pass -y @aashari/mcp-server-atlassian-bitbucket as arguments, and set ATLASSIAN_USER_EMAIL and ATLASSIAN_API_TOKEN.

Setup steps

  1. 01

    Get Bitbucket credentials

    Go to id.atlassian.com/manage-profile/security/api-tokens, create a scoped API token for Bitbucket with repository, workspace, and pullrequest scopes.

  2. 02

    Open Add Server

    Configuration → MCP Registry → Add Server in Cosmos.

  3. 03

    Pick the Local MCP tab

  4. 04

    Set the command

    Command

    npx
  5. 05

    Add the arguments

    Args

    -y @aashari/mcp-server-atlassian-bitbucket
  6. 06

    Set environment variables

    ATLASSIAN_USER_EMAIL

    ATLASSIAN_USER_EMAIL=your.email@company.com

    ATLASSIAN_API_TOKEN

    ATLASSIAN_API_TOKEN=your_scoped_api_token
  7. 07

    Click Add, then enable

    Toggle on Cosmos Agent or CLI.

Local command

Suggested name: bitbucket

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

Requires Node.js 18+. Supports scoped API tokens (recommended) and legacy app passwords.

Authentication

Atlassian scoped API token. Set ATLASSIAN_USER_EMAIL and ATLASSIAN_API_TOKEN.

VariableExampleRequired
ATLASSIAN_USER_EMAILyour.email@company.comYes
ATLASSIAN_API_TOKENyour_scoped_api_tokenYes
Official documentation →