Skip to main content
Glama

bitbucket_get_file_content

Retrieve raw file content from Bitbucket Data Center repositories to access code, configuration files, or documentation directly for analysis or integration purposes.

Instructions

Get the raw content of a file from a repository.

Returns the full file content as text. Use at to fetch from a specific branch, tag, or commit hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYesThe project key
repository_slugYesThe repository slug
pathYesFile path (e.g. 'src/main/App.java')
atNoBranch, tag, or commit (default: default branch)

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/christopherekfeldt/mcp-bitbucket-dc'

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