bitbucket mcp for VS Code
io.github.lahma/bitbucket-mcp
Bitbucket Cloud pull requests and Pipelines: review, comment, merge, and diagnose failed builds.
client:VS Code
transport:stdio
runtime:nuget
Install bitbucket mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "bitbucket-oauth-key",
"description": "BITBUCKET_OAUTH_KEY",
"password": true
},
{
"type": "promptString",
"id": "bitbucket-oauth-secret",
"description": "BITBUCKET_OAUTH_SECRET",
"password": true
},
{
"type": "promptString",
"id": "bitbucket-access-token",
"description": "BITBUCKET_ACCESS_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "bitbucket-email",
"description": "BITBUCKET_EMAIL",
"password": true
},
{
"type": "promptString",
"id": "bitbucket-api-token",
"description": "BITBUCKET_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "bitbucket-default-workspace",
"description": "BITBUCKET_DEFAULT_WORKSPACE",
"password": true
}
],
"servers": {
"bitbucket-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"bitbucket-mcp",
"--yes"
],
"env": {
"BITBUCKET_OAUTH_KEY": "${input:bitbucket-oauth-key}",
"BITBUCKET_OAUTH_SECRET": "${input:bitbucket-oauth-secret}",
"BITBUCKET_ACCESS_TOKEN": "${input:bitbucket-access-token}",
"BITBUCKET_EMAIL": "${input:bitbucket-email}",
"BITBUCKET_API_TOKEN": "${input:bitbucket-api-token}",
"BITBUCKET_DEFAULT_WORKSPACE": "${input:bitbucket-default-workspace}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs