Skip to main content
Glama
Acendas

Bitbucket MCP Server

by Acendas

get_file_contents

Retrieve file contents from a Bitbucket repository at a specific branch, tag, or commit to access code and configuration files.

Instructions

Get the contents of a file from a repository at a specific branch/commit.

Args: repo_slug: Repository slug (name) file_path: Path to the file in the repository ref: Branch name, tag, or commit hash (default: main) workspace: Bitbucket workspace (optional if configured)

Returns: File contents as text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_slugYes
file_pathYes
refNomain
workspaceNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Acendas/bitbucket-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server