Skip to main content
Glama

MCP Bitbucket Python

by Kallows

bb_write_file

Write or update files in a Bitbucket repository, specifying workspace, repo slug, path, content, commit message, and branch. Streamline file management within Bitbucket repositories.

Instructions

Write/update a file in a Bitbucket repository

Input Schema

NameRequiredDescriptionDefault
branchNoBranch name (defaults to main/master)main
contentYesContent to write to the file
messageNoCommit messageUpdate file via MCP
pathYesPath where to create/update the file
repo_slugYesRepository slug/name
workspaceNoRepository workspace (defaults to kallows)kallows

Input Schema (JSON Schema)

{ "properties": { "branch": { "default": "main", "description": "Branch name (defaults to main/master)", "type": "string" }, "content": { "description": "Content to write to the file", "type": "string" }, "message": { "default": "Update file via MCP", "description": "Commit message", "type": "string" }, "path": { "description": "Path where to create/update the file", "type": "string" }, "repo_slug": { "description": "Repository slug/name", "type": "string" }, "workspace": { "default": "kallows", "description": "Repository workspace (defaults to kallows)", "type": "string" } }, "required": [ "repo_slug", "path", "content" ], "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/Kallows/mcp-bitbucket'

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