
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
bitbucket-mcp-ingetration
Advanced tools
Bitbucket API integration for Model Context Protocol (MCP) server. This server allows you to read various information from Bitbucket repositories and integrates seamlessly with Claude Desktop and other MCP clients.
npm install -g bitbucket-mcp-ingetration
npx bitbucket-mcp-ingetration
npm install bitbucket-mcp-ingetration
You need to create a Bitbucket App Password:
export BITBUCKET_USERNAME="your_username"
export BITBUCKET_APP_PASSWORD="your_app_password"
export BITBUCKET_DEFAULT_WORKSPACE="your_default_workspace_url"
Add the following to your Claude Desktop or other MCP client configuration:
{
"mcpServers": {
"bitbucket": {
"command": "bitbucket-mcp-server",
"env": {
"BITBUCKET_USERNAME": "your_username",
"BITBUCKET_APP_PASSWORD": "your_app_password",
"BITBUCKET_DEFAULT_WORKSPACE": "your_default_workspace_url"
}
}
}
}
{
"mcpServers": {
"bitbucket": {
"command": "npx",
"args": ["bitbucket-mcp-server"],
"env": {
"BITBUCKET_USERNAME": "your_username",
"BITBUCKET_APP_PASSWORD": "your_app_password",
"BITBUCKET_DEFAULT_WORKSPACE": "your_default_workspace_url"
}
}
}
}
{
"mcpServers": {
"bitbucket": {
"command": "node",
"args": ["./node_modules/bitbucket-mcp-server/build/src/index.js"],
"env": {
"BITBUCKET_USERNAME": "your_username",
"BITBUCKET_APP_PASSWORD": "your_app_password",
"BITBUCKET_DEFAULT_WORKSPACE": "your_default_workspace_url"
}
}
}
}
Query basic information about a repository.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace nameQuery commit list.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace namebranch
(optional): Branch namelimit
(optional): Number of commits to retrieve (default: 10, max: 100)Query detailed information about a specific commit.
Parameters:
repo_slug
: Repository name/slugcommit_id
: Commit hash/IDworkspace
(optional): Bitbucket workspace nameQuery changes (diff) for a specific commit.
Parameters:
repo_slug
: Repository name/slugcommit_id
: Commit hash/IDworkspace
(optional): Bitbucket workspace nameQuery branch list in the repository.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace nameQuery tag list in the repository.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace nameQuery pull request list.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace namestate
(optional): PR status (OPEN, MERGED, DECLINED, SUPERSEDED)Query content of a specific file.
Parameters:
repo_slug
: Repository name/slugfile_path
: File pathworkspace
(optional): Bitbucket workspace namebranch
(optional): Branch name (default: main)Query directory contents.
Parameters:
repo_slug
: Repository name/slugworkspace
(optional): Bitbucket workspace namedirectory_path
(optional): Directory path (default: root)branch
(optional): Branch name (default: main)With default workspace configured, you can use in MCP client:
Show recent 20 commits from myrepo: get_commits repo_slug="myrepo" limit=20
Show specific commit details: get_commit_detail repo_slug="myrepo" commit_id="abc123"
Show file content: get_file_content repo_slug="myrepo" file_path="README.md"
This project is written in TypeScript and uses the MCP SDK.
git clone https://github.com/yourusername/bitbucket-mcp-server.git
cd bitbucket-mcp-server
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Run the built server
npm start
You can test the server using the provided test.http file with REST Client extension in VS Code.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)MIT License
FAQs
MCP server for Bitbucket API integration
The npm package bitbucket-mcp-ingetration receives a total of 0 weekly downloads. As such, bitbucket-mcp-ingetration popularity was classified as not popular.
We found that bitbucket-mcp-ingetration demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.