Ships in Bitbucket Cloud pull requests. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"bitbucket": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"CLAUDE_PLUGIN_OPTION_BITBUCKET_EMAIL": "${user_config.bitbucket_email}",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_API_TOKEN": "${user_config.bitbucket_api_token}",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_OAUTH_KEY": "${user_config.bitbucket_oauth_key}",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_MCP_SKILLS": "off",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_ACCESS_TOKEN": "${user_config.bitbucket_access_token}",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_OAUTH_SECRET": "${user_config.bitbucket_oauth_secret}",
"CLAUDE_PLUGIN_OPTION_BITBUCKET_DEFAULT_WORKSPACE": "${user_config.bitbucket_default_workspace}"
}
}
}
}Environment variables set when the server starts
CLAUDE_PLUGIN_OPTION_BITBUCKET_EMAIL=${user_config.bitbucket_email}CLAUDE_PLUGIN_OPTION_BITBUCKET_API_TOKEN=${user_config.bitbucket_api_token}CLAUDE_PLUGIN_OPTION_BITBUCKET_OAUTH_KEY=${user_config.bitbucket_oauth_key}CLAUDE_PLUGIN_OPTION_BITBUCKET_MCP_SKILLS=offCLAUDE_PLUGIN_OPTION_BITBUCKET_ACCESS_TOKEN=${user_config.bitbucket_access_token}CLAUDE_PLUGIN_OPTION_BITBUCKET_OAUTH_SECRET=${user_config.bitbucket_oauth_secret}CLAUDE_PLUGIN_OPTION_BITBUCKET_DEFAULT_WORKSPACE=${user_config.bitbucket_default_workspace}Command-line arguments passed to the server process
Server configuration and connection parameters
dnxFirst indexed Jan 3, 2026
npx claudepluginhub lahma/bitbucket-mcp --plugin bitbucket-mcp