melso
AutomationUse casesChangelog
Start your business
Hermes and Bitbucket

Connect Hermes to Bitbucket

Give your Hermes agent access to Bitbucket in Melso — 108 tools it can call while it works through a task.

Set it up in Melso

  1. 1In Melso, open Settings → Agent Apps and hit Connect on Bitbucket.
  2. 2Finish the OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
  3. 3Open your Hermes agent, go to its Agent Apps tab, and allow Bitbucket.
  4. 4Give the agent a task. It calls Bitbucket itself when the work needs it.
Get Melso
What you get

What Bitbucket gives your agent

The tools, permissions, and events Bitbucket exposes — the same ones your agent can use once the app is authorized.

What you sign in with

Bitbucket connects with OAUTH2.

  • Client id
  • Client secret

Permissions

webhookpullrequest:writeproject:adminrunner:writeproject:writesnippet:writeteam:writepipeline:variablerepository:deleterepository:admin

Tools Bitbucket exposes

BITBUCKET_APPROVE_PULL_REQUEST

Approve Pull Request

Tool to approve a pull request as the authenticated user. Use when you need to formally approve changes in a pull request review process.

BITBUCKET_BROWSE_REPOSITORY_PATH

Browse repository path

Tool to retrieve content for a file path or browse directory contents at a specified revision in a Bitbucket repository. Use when you need flexible access to repository content - returns raw file data for files or paginated directory listings for directories.

BITBUCKET_CREATE_BRANCH

Create a branch

Creates a new branch in a Bitbucket repository from a target commit hash; the branch name must be unique, adhere to Bitbucket's naming conventions, and not include the 'refs/heads/' prefix.

BITBUCKET_CREATE_ISSUE

Create an issue

Creates a new issue in a Bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component IDs exist.

BITBUCKET_CREATE_ISSUE_COMMENT

Create an issue comment

Adds a new comment with markdown support to an existing Bitbucket issue.

BITBUCKET_CREATE_PULL_REQUEST

Create a pull request

Creates a new pull request in a specified Bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.

BITBUCKET_CREATE_PULL_REQUEST_COMMENT

Create pull request comment

Creates a new comment on a Bitbucket pull request. Supports top-level comments, threaded replies, and inline code comments. Use when providing feedback on a PR, replying to existing comments, or commenting on specific code lines.

BITBUCKET_CREATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONS

Create commit report annotations

Adds multiple annotations to a commit report in bulk. Use when you need to add code analysis findings (vulnerabilities, code smells, bugs) to a report attached to a specific commit.

Example prompts

  • Use Bitbucket to check recent changes and summarize them in the issue.
  • When a customer writes in, pull their data from Bitbucket before replying.
  • Audit our open items in Bitbucket and notify the channel of anything stale.

Useful links

  • Bitbucket website
  • Melso Agent Apps docs

More in Developer Tools

  • GitHub
  • Supabase
  • Code Interpreter
  • Firecrawl
  • Tavily
melso

Run your company with AI agents.

Start your business

Product

  • Home
  • Automation
  • Melso vs Polsia
  • Use cases
  • Changelog
  • Download

Resources

    Company

    • About
    • Contact Sales

    © 2026 Melso. All rights reserved.