Skip to main content
Glama
aashari

Atlassian Bitbucket MCP Server

by aashari

bb_get_file

Retrieve raw file content from a Bitbucket repository by specifying workspace, repository, file path, and optional revision. Use this tool to access files directly for integration or analysis purposes.

Instructions

Retrieves the content of a file from a Bitbucket repository identified by workspaceSlug and repoSlug. Specify the file to retrieve using the filePath parameter. Optionally, you can specify a revision (branch name, tag, or commit hash) to retrieve the file from - if omitted, the repository's default branch is used. Returns the raw content of the file as text. Requires Bitbucket credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath to the file within the repository. Example: "README.md" or "src/main.js"
repoSlugYesRepository slug containing the file. Example: "project-api"
revisionNoOptional branch name, tag, or commit hash to retrieve the file from. If omitted, uses the default branch.
workspaceSlugNoWorkspace slug containing the repository. If not provided, the system will use your default workspace. Example: "myteam"

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/aashari/mcp-server-atlassian-bitbucket'

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