Bitbucket Pipelines MCP Server
About
Bitbucket Pipelines MCP is a Model Context Protocol (MCP) server that provides tools for interacting with Bitbucket Pipelines. This server implements the MCP standard, enabling language models like Claude to manage Bitbucket Pipelines through a standardized interface.
Details
- License
- MIT
Explore
- List pipelines with pagination support
- Trigger new pipelines on branches or tags
- Get status of a specific pipeline
- Stop a running pipeline
- Integration with Cursor IDE via mcp.json
- Implements standard MCP tool format
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Bitbucket Pipelines MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
3. Inicie o servidor:
bash
docker-compose up -d
4. Para verificar o status do servidor:
bash
Para usar o Bitbucket Pipelines MCP diretamente no Cursor IDE, siga estas etapas:
1. Certifique-se de que o servidor Docker MCP está rodando:
npm run docker:up
2. Crie um arquivo mcp.config.json na raiz do projeto com o seguinte conteúdo:
{
"name": "bitbucket-pipelines-mcp",
"description": "Bitbucket Pipelines MCP Server para interagir com o Bitbucket Pipelines",
"version": "1.0.0",
"command": {
"binary": "docker",
"args": ["exec", "-i", "bitbucket-pipelines-mcp_mcp-server_1", "node", "dist/index.js"]
},
"tools": [
{
"name": "mcp_bitbucket_list_pipelines",
"description": "Lista pipelines com suporte a paginação"
},
{
"name": "mcp_bitbucket_trigger_pipeline",
"description": "Dispara um novo pipeline"
},
{
"name": "mcp_bitbucket_get_pipeline_status",
"description": "Obtém o status de um pipeline específico"
},
{
"name": "mcp_bitbucket_stop_pipeline",
"description": "Para a execução de um pipeline"
}
]
}
3. Copie este arquivo para o diretório de configuração do Cursor:
```bash
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"bitbucket pipelines mcp server": {
"mcp_bitbucket_pipelines": {
"command": "node",
"args": [
"docker-mcp-test.js"
]
}
}
}
}
McpServers
{
"mcp_bitbucket_pipelines": {
"command": "node",
"args": [
"docker-mcp-test.js"
]
}
}
Um servidor MCP (Model Context Protocol) que fornece tools para interagir com o Bitbucket Pipelines. Este servidor implementa o padrão MCP e pode ser usado por modelos de linguagem como o Claude para gerenciar pipelines do Bitbucket.
Tools Disponíveis
1. mcp_bitbucket_list_pipelines
Lista pipelines com suporte a paginação.
Parâmetros:
{
page?: number; // Número da página (default: 1)
pagelen?: number; // Itens por página (default: 10)
}
2. mcp_bitbucket_trigger_pipeline
Dispara um novo pipeline.
Parâmetros:
{
target: {
ref_type: string; // Tipo de referência (ex: "branch", "tag")
type: string; // Tipo do alvo
ref_name: string; // Nome da referência (ex: "main", "develop")
selector?: { // Opcional
type: string;
pattern: string;
}
},
variables?: Array<{ // Opcional
key: string;
value: string;
secured?: boolean;
}>
}
3. mcp_bitbucket_get_pipeline_status
Obtém o status de um pipeline específico.
Parâmetros:
{
uuid: string; // UUID do pipeline
}
4. mcp_bitbucket_stop_pipeline
Para a execução de um pipeline.
Parâmetros:
{
uuid: string; // UUID do pipeline
}
Configuração
Variáveis de Ambiente
Crie um arquivo.env com as seguintes variáveis:
```env
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



