Connect Codex to Bitbucket
Give your Codex agent access to Bitbucket in Melso — 108 tools it can call while it works through a task.
Set it up in Melso
- 1In Melso, open Settings → Agent Apps and hit Connect on Bitbucket.
- 2Finish the OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
- 3Open your Codex agent, go to its Agent Apps tab, and allow Bitbucket.
- 4Give the agent a task. It calls Bitbucket itself when the work needs it.
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
Tools Bitbucket exposes
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.
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.
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.
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.
Create an issue comment
Adds a new comment with markdown support to an existing Bitbucket issue.
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.
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.
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.