24 actions ready for your AI

Connect Bitbucket to your AI

Add your Bitbucket key once and every AI you use can get repositories, get repositories permissions and get workspaces permissions through it.

Needs your API keyWorks today: paste the key from this app and your AI can use it. One-click sign-in is not built yet.

Not verified by us yet. Its actions come from Bitbucket's own documented API, and we have not run them here yet.

Use your own Bitbucket account. Credentials stay encrypted in ahel.

Tell me when ahel has verified Bitbucket

What your AI can do with Bitbucket

Choose a task and ask your AI.

Repository

  • Get repositoriesGET

    List public repositories

    after
    Filter the results to include only repositories created on or after this ISO-8601 timestamp.
    role
    Filters the result based on the authenticated user's role on each repository.
    q
    Query string to narrow down the response as per filtering and sorting.
    sort
    Field by which the results should be sorted as per filtering and sorting.
  • Get repositories permissions config usersGET

    List explicit user permissions for a repository

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
  • Get repository pipeline configGET

    Get configuration

    workspacerequired
    The account.
    repo_slugrequired
    The repository.
  • Put repositories permissions config usersPUT

    Update an explicit user permission for a repository

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    selected_user_idrequired
    This can either be the UUID of the account, surrounded by curly-braces, for example: {account UUID}, OR an Atlassian Account ID.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
  • Post repositoriesPOST

    Create a repository

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    typerequired
    fork_policy
    Controls the rules for forking this repository.
  • Get repositories pullrequestsGET

    List pull requests

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    state
    Only return pull requests that are in this state.
  • Post repositories pullrequestsPOST

    Create a pull request

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    typerequired
    close_source_branch
    A boolean flag indicating if merging the pull request closes the source branch.
  • Get repository pipeline cachesGET

    List caches

    workspacerequired
    The account.
    repo_slugrequired
    The repository.
  • Get repository pipeline schedulesGET

    List schedules

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
  • Create repository pipeline schedulePOST

    Create a schedule

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
    typerequired
    created_on
    The timestamp when the schedule was created.
  • Get repository pipeline variablesGET

    List variables for a repository

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
  • Create repository pipeline variablePOST

    Create a variable for a repository

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
    typerequired
    key
    The unique name of the variable.
  • Get repositories branch restrictionsGET

    List branch restrictions

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    kind
    Branch restrictions of this type
    pattern
    Branch restrictions applied to branches of this pattern
  • Post repositories branch restrictionsPOST

    Create a branch restriction rule

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    typerequired
  • Get repositories branching modelGET

    Get the branching model for a repository

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
  • Get repositories commitsGET

    List commits

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
  • Post repositories commitsPOST

    List commits with include/exclude

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
  • Get repositories componentsGET

    List components

    repo_slugrequired
    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.
    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

Environment

  • Get environments for repositoryGET

    List environments

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
  • Create environmentPOST

    Create an environment

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
    typerequired
    name
    The name of the environment.

Workspace

  • Get workspaces permissions repositoriesGET

    List all repository permissions for a workspace

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.
    q
    Query string to narrow down the response as per filtering and sorting.
    sort
    Name of a response property sort the result by as per filtering and sorting.
  • Get workspacesGET

    List workspaces for user

    role
    Filters the workspaces based on the authenticated user's role on each workspace.
    q
    Query string to narrow down the response.
    sort
    Name of a response property to sort results.

Deployment

  • Get deployments for repositoryGET

    List deployments

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.
Show 1 more group

Pipeline

  • Get pipelines for repositoryGET

    List pipelines

    workspacerequired
    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
    repo_slugrequired
    The repository.

Ask your AI

Try one of these requests with a connected AI.

  • Show me the repository in Bitbucket
  • Show me the repository permission config in Bitbucket
  • Show me the workspace permission repository in Bitbucket
  • Show me the workspace in Bitbucket
  • Show me the deployment repository in Bitbucket
  • Show me the environment repository in Bitbucket

Bitbucket MCP server, hosted by ahel

One hosted endpoint serves Bitbucket. There is nothing to install and no local server to run.

Connect Bitbucket to Claude, Claude Code, Cursor or Codex

  1. Add your Bitbucket key. ahel stores it encrypted.
  2. Paste one link into your AI: https://mcp.ahel.ai (once, for every app).
  3. Ask for the work. Your AI picks the action and ahel runs it with your key.

Documentation

About Bitbucket

Bitbucket is a developer tools service. Connect your own key and your AI can get repositories, get repositories permissions and get workspaces permissions.

Bitbucket over MCP: ahel serves Bitbucket to Claude, Claude Code, Cursor and Codex as one hosted MCP endpoint. There is no local server to run. Add your Bitbucket key once, paste one link into your AI, and the actions above are there.

Developer tools

Questions

Is my Bitbucket key safe?

Your Bitbucket key is sealed in ahel and added to the request server-side when your AI calls Bitbucket. It never crosses the MCP link, no tool can read it back, and you can turn the app off or remove the key at any time.

Which AIs can use Bitbucket through ahel?

Any MCP-capable AI: Claude, Claude Code, Codex, Cursor, VS Code and others. Paste one link, https://mcp.ahel.ai, into the AI once and everything in your gateway arrives through it.

What can my AI do with Bitbucket?

24 actions today, covering repositories, environments and workspaces. Ask in plain language; your AI picks the action and ahel runs it with your key.

Does connecting Bitbucket cost anything?

Connecting apps is free during ahel's early access. Free, Pro and Team all cost nothing today, and the pricing page lists what each one includes. Bitbucket may bill you for API use under its own terms.