Skip to main content
Glama

Bitbucket MCP Server

by pdogra1299

list_directory_content

Retrieve files and directories from a specified path in a Bitbucket repository. Input workspace, repository, optional path, and branch to generate a structured content list.

Instructions

List files and directories in a repository path

Input Schema

NameRequiredDescriptionDefault
branchNoBranch name (optional, defaults to default branch)
pathNoDirectory path (optional, defaults to root, e.g., "src/components")
repositoryYesRepository slug (e.g., "my-repo")
workspaceYesBitbucket workspace/project key (e.g., "PROJ")

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Branch name (optional, defaults to default branch)", "type": "string" }, "path": { "description": "Directory path (optional, defaults to root, e.g., \"src/components\")", "type": "string" }, "repository": { "description": "Repository slug (e.g., \"my-repo\")", "type": "string" }, "workspace": { "description": "Bitbucket workspace/project key (e.g., \"PROJ\")", "type": "string" } }, "required": [ "workspace", "repository" ], "type": "object" }

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

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