Skip to main content
Glama
aashari

Atlassian Bitbucket MCP Server

by aashari

bb_add_pr_comment

Add a comment to a Bitbucket pull request using Markdown. Specify repository, PR ID, and content. Optionally include inline comments with file path and line number or reply to an existing comment using parent ID.

Instructions

Adds a comment to a specific pull request identified by prId within a repository (repoSlug). If workspaceSlug is not provided, the system will use your default workspace. The content parameter accepts Markdown-formatted text for the comment body. To reply to an existing comment, provide its ID in the parentId parameter. For inline code comments, provide both inline.path (file path) and inline.line (line number). Returns a success message as formatted Markdown. Requires Bitbucket credentials with write permissions to be configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe content of the comment to add to the pull request in Markdown format. Bitbucket Cloud natively accepts Markdown - supports headings, lists, code blocks, links, and other standard Markdown syntax.
inlineNoOptional inline location for the comment. If provided, this will create a comment on a specific line in a file.
parentIdNoThe ID of the parent comment to reply to. If not provided, the comment will be a top-level comment.
prIdYesNumeric ID of the pull request to add a comment to as a string. Must be a valid pull request ID in the specified repository. Example: "42"
repoSlugYesRepository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api"
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