Skip to main content
Glama

Bitbucket MCP Server

by pdogra1299

add_comment

Enhance pull request reviews by adding comments, including inline feedback on specific code lines, directly within Bitbucket repositories using the Bitbucket MCP Server.

Instructions

Add a comment to a pull request (general or inline on specific code)

Input Schema

NameRequiredDescriptionDefault
comment_textYesComment text
file_pathNoFile path for inline comment (optional, e.g., "src/main.js")
line_numberNoLine number for inline comment (optional, required with file_path)
line_typeNoType of line for inline comment: ADDED, REMOVED, or CONTEXT (optional, default: CONTEXT)
parent_comment_idNoParent comment ID for replies (optional)
pull_request_idYesPull request ID
repositoryYesRepository slug (e.g., "my-repo")
workspaceYesBitbucket workspace/project key (e.g., "PROJ")

Input Schema (JSON Schema)

{ "properties": { "comment_text": { "description": "Comment text", "type": "string" }, "file_path": { "description": "File path for inline comment (optional, e.g., \"src/main.js\")", "type": "string" }, "line_number": { "description": "Line number for inline comment (optional, required with file_path)", "type": "number" }, "line_type": { "description": "Type of line for inline comment: ADDED, REMOVED, or CONTEXT (optional, default: CONTEXT)", "enum": [ "ADDED", "REMOVED", "CONTEXT" ], "type": "string" }, "parent_comment_id": { "description": "Parent comment ID for replies (optional)", "type": "number" }, "pull_request_id": { "description": "Pull request ID", "type": "number" }, "repository": { "description": "Repository slug (e.g., \"my-repo\")", "type": "string" }, "workspace": { "description": "Bitbucket workspace/project key (e.g., \"PROJ\")", "type": "string" } }, "required": [ "workspace", "repository", "pull_request_id", "comment_text" ], "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