
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
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 53 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.