Skip to main content
Glama

bitbucket_repositories

Manage Bitbucket repositories by listing, creating, deleting, forking, and accessing files to organize and control your codebase.

Instructions

Manage Bitbucket repositories. Actions:

  • list: List repositories in a workspace

  • get: Get repository details

  • create: Create a new repository

  • delete: Delete a repository

  • fork: Fork a repository

  • get_file: Get file content from a repository

  • list_source: List files/directories in a repository path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
workspaceYesWorkspace slug
repo_slugNoRepository slug (required for most actions except list)
qNoQuery string to filter repositories
sortNoSort field (e.g., "-updated_on" for newest first)
roleNoFilter by role
nameNoRepository display name (for create)
descriptionNoRepository description (for create)
is_privateNoWhether repository is private (for create)
project_keyNoProject key to associate with (for create)
new_nameNoName for the forked repository
target_workspaceNoTarget workspace for the fork
pathNoFile or directory path in the repository
refNoGit ref (branch, tag, or commit hash)HEAD
pageNoPage number for pagination
pagelenNoResults per page (max 100)
formatNoOutput format: json (full), toon (compact tokens), compact (essential fields only)

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/icy-r/bitbucket-mcp'

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