Skip to main content
Glama

bitbucket_browse

Browse repository file trees and access file contents in Bitbucket Data Center. List directories or view specific files at any branch, tag, or commit.

Instructions

Browse the file tree of a repository.

Lists files and directories at the given path. If path points to a file, returns its content instead. Use at to browse a specific branch or commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYesThe project key
repository_slugYesThe repository slug
pathNoPath to browse (e.g. 'src/main/java'). Leave empty for root.
atNoBranch, tag, or commit to browse at (default: default branch)
startNoPagination start index
limitNoMax results (1-1000)

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