Bitbucket
Bitbucket Cloud integration for repositories, pull requests, branches, commits, deployments, and pipelines via generic REST API tools with JMESPath filtering and TOON output.
Installation path
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
- 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.
- 02
Open Add Server
Configuration → MCP Registry → Add Server in Cosmos.
- 03
Pick the Local MCP tab
- 04
Set the command
Command
npx - 05
Add the arguments
Args
-y @aashari/mcp-server-atlassian-bitbucket - 06
Set environment variables
ATLASSIAN_USER_EMAIL
ATLASSIAN_USER_EMAIL=your.email@company.comATLASSIAN_API_TOKEN
ATLASSIAN_API_TOKEN=your_scoped_api_token - 07
Click Add, then enable
Toggle on Cosmos Agent or CLI.
Local command
Suggested name: bitbucket
npx -y @aashari/mcp-server-atlassian-bitbucketRequires 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.
| Variable | Example | Required |
|---|---|---|
| ATLASSIAN_USER_EMAIL | your.email@company.com | Yes |
| ATLASSIAN_API_TOKEN | your_scoped_api_token | Yes |