---
title: "Connect Bitbucket and Vercel - APIANT.ai"
description: "When \"New pull request\" fires in Bitbucket, your agent runs \"Create Project\" in Vercel."
canonical: "https://apiant.ai/connect/bitbucket-to-vercel"
---

# Connect Bitbucket and Vercel

When **New pull request** fires in [Bitbucket](https://apiant.ai/connections/bitbucket), your agent runs **Create Project** in [Vercel](https://apiant.ai/connections/vercel), or **New Deployment** in Vercel to **Add pull request comment** in Bitbucket. Describe the whole flow and it is built, tested on every scenario and kept running.

Bitbucket **1** trigger Bitbucket **9** actions Vercel **2** triggers Vercel **3** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want Bitbucket and Vercel to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Bitbucket holds the branches and pull requests; Vercel builds and hosts what those branches produce. Connecting them lets a new pull request start a Vercel deployment and send the result back as a pull request comment, and lets a new Vercel project or deployment create the matching Bitbucket repository or note. Both apps stay in step with the work being reviewed.

Example flows

## What Bitbucket and Vercel can do together

### From Bitbucket to Vercel

- When **New pull request** in Bitbucket then **Create Project** in Vercel
- When **New pull request** in Bitbucket then **Find Project** in Vercel

### From Vercel to Bitbucket

- When **New Deployment** in Vercel then **Add pull request comment** in Bitbucket
- When **New Project** in Vercel then **Add repository** in Bitbucket

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with Bitbucket and Vercel

## Triggers and actions 3 triggers · 12 actions

- Trigger

**New pull request**

- Action

**Add branch**

/2.0/repositories/{workspace}/{repo_slug}/refs/branches

- Action

**Add pull request**

/2.0/repositories/{workspace}/{repo_slug}/pullrequests

- Action

**Add pull request comment**

/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{id}/comments

- Action

**Add repository**

/2.0/repositories/{workspace}/{repo_slug}

- Action

**Get pull request**

/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{id}

- Action

**List branches**

/2.0/repositories/{workspace}/{repo_slug}/refs/branches

- Action

**List pull requests**

/2.0/repositories/{workspace}/{repo_slug}/pullrequests

- Action

**List repositories**

/2.0/repositories/{workspace}

- Action

**Update pull request**

/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{id}

- Trigger

**New Deployment**

Triggers when a new deployment is created in Vercel.

- Trigger

**New Project**

Triggers when a new project is created in Vercel.

- Action

**Create Deployment**

Creates a new deployment in Vercel from a Git source.

- Action

**Create Project**

Creates a new project in Vercel.

- Action

**Find Project**

Searches for a project by name.

## Each app on its own

- [ **Bitbucket** Git repository hosting platform with pull request code review and built-in CI/CD pipelines, integrated with...](https://apiant.ai/connections/bitbucket)
- [ **Vercel** Vercel is a platform for building, deploying, and scaling fast, modern web applications effortlessly.](https://apiant.ai/connections/vercel)

Reviews

## What our customers say

## More from Bitbucket

- [ **Bitbucket to change.photos** change.photos is an API for streamlined image transformations - resize, compress, sharpen, blur, and rotate...](https://apiant.ai/connect/bitbucket-to-change-photos)
- [ **Bitbucket to Football Charts** Tables, results, model probabilities and Monte Carlo season projections for 93 leagues](https://apiant.ai/connect/bitbucket-to-football-charts)
- [ **Bitbucket to Fruityvice** Fruityvice is a reference service for fruit data including botanical classification and nutrition.](https://apiant.ai/connect/bitbucket-to-fruityvice)
- [ **Bitbucket to Geneea Natural Language Processing**](https://apiant.ai/connect/bitbucket-to-geneea-natural-language-processing)
- [ **Bitbucket to Tempo** Project, portfolio, and resource management add-on for Jira, including time tracking and budget planning.](https://apiant.ai/connect/bitbucket-to-tempo)
- [ **Bitbucket to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/bitbucket-to-hubspot)

## More into Vercel

- [ **Discord to Vercel** Discord is an all-in-one voice and text chat for gamers.](https://apiant.ai/connect/discord-to-vercel)
- [ **Buy Me a Coffee to Vercel** A free, fast, and beautiful way to fund your creativity.](https://apiant.ai/connect/buy-me-a-coffee-to-vercel)
- [ **CallRail to Vercel** CallRail is an analytics platform designed for those who rely on quality calls and inbound leads to measure...](https://apiant.ai/connect/callrail-to-vercel)
- [ **CRUSH to Vercel** CRUSH is an AI powered second brain helping you collect a thought, organize it and take action.](https://apiant.ai/connect/crush-to-vercel)
- [ **Erpnext to Vercel** Open-source ERP system for accounting, inventory, manufacturing, sales, projects, and CRM.](https://apiant.ai/connect/erpnext-to-vercel)
- [ **FreshBooks to Vercel** FreshBooks is a cloud accounting software designed exclusively for self-employed professionals and their...](https://apiant.ai/connect/freshbooks-to-vercel)

Questions

## Bitbucket and Vercel, answered

###

### Can a preview deployment start on its own when someone opens a pull request?

Yes. The new pull request trigger in Bitbucket can find the matching project in Vercel and create a deployment from the branch, then add a comment on the pull request with the result. The agent tests every scenario before it runs on real pull requests.

###

### What happens if there is no Vercel project for the repository yet?

You can have the agent check with Find Project first and only deploy when a project exists, or use Create Project in Vercel named after the Bitbucket repository. Both arrangements rest on the listed Vercel actions, and the agent tests each scenario.

###

### What can start an automation from Bitbucket?

Any of Bitbucket's 1 trigger in the catalog, including New pull request. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Vercel when something happens in Bitbucket?

Any of Vercel's 3 actions, including Create Deployment, Create Project and Find Project. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Vercel to Bitbucket?

Yes. When something happens in Vercel, your agent can act in Bitbucket too. This page covers both directions: Vercel's triggers and Bitbucket's actions are listed here as well.

###

### Do I have to build a connector for Bitbucket or Vercel?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### Can my AI client use Bitbucket and Vercel without building an automation?

Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
