Bitbucket Pipelines MCP Server
@ygorpinto
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.
Overview
What is Bitbucket Pipelines MCP Server?
A Model Context Protocol server that provides tools to interact with Bitbucket Pipelines. It implements the MCP standard and can be used by language models like Claude to manage Bitbucket pipelines.
How to use Bitbucket Pipelines MCP Server?
Configure environment variables (BITBUCKET_ACCESS_TOKEN, BITBUCKET_WORKSPACE, BITBUCKET_REPO_SLUG) and run the server via Docker (recommended) or local installation. Invoke the defined tools (e.g., mcp_bitbucket_list_pipelines) through any MCP client.
Key features of Bitbucket Pipelines MCP Server
- 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
Use cases of Bitbucket Pipelines MCP Server
- List recent pipelines to monitor CI/CD activity
- Trigger a deployment pipeline on a specific branch
- Check the status of a pipeline after a commit
- Stop a stuck or failed pipeline via an LLM interface
- Integrate Bitbucket pipeline management into a Cursor-based AI assistant
FAQ from Bitbucket Pipelines MCP Server
What dependencies are required?
The server requires Node.js, npm, and optionally Docker. It also needs a Bitbucket access token, workspace name, and repository slug.
How does the server communicate?
It uses the StdioServerTransport from the MCP SDK, communicating via stdin/stdout.
Can I use it with Cursor?
Yes, the README provides two methods: editing the main mcp.json file or creating a separate mcp.config.json file in the Cursor configuration directory.
Are there any known limits?
The README does not mention any specific limits. Pagination is supported with configurable page and item count.
What authentication is required?
A Bitbucket access token (BITBUCKET_ACCESS_TOKEN) is required, set as an environment variable.