Azure Boards

Azure DevOps Marketplace extension.

BranchDeploy / Docs / AI Assistant Integration (MCP)

AI Assistant Integration (MCP)

Deploy Azure DevOps branches from your AI coding assistant using the Model Context Protocol.

Supported Clients

BranchDeploy exposes a standard remote MCP server (Streamable HTTP), so it works with any MCP-compatible client. Setup below is provided for the main ones:

Prerequisites

Setup

Step 1: Connect Azure DevOps

In your BranchDeploy account at branch-deploy.dev/account, open the Credentials tab and add an Azure DevOps PAT with Work Items (Read), Code (Read), and Build (Read & Execute) scopes (Execute lets the MCP server queue a pipeline run). If you already saved a PAT for the Teams bot, verify it includes Build (Read & Execute) before using MCP deployments.

Step 2: Generate an MCP API key

In your account page, open the Credentials tab, find MCP API Key, and click Generate key. Copy the key — it is shown once only.

Step 3: Add to your AI client

BranchDeploy is a remote HTTP MCP server at https://mcp.branch-deploy.dev/mcp, authenticated with your MCP API key as a bearer token. Configure whichever client you use below — replace your-mcp-api-key with the key from Step 2.

Claude Desktop's config file only accepts local (stdio) servers, so a remote server like BranchDeploy connects through the mcp-remote bridge (needs Node.js for npx).

  1. Open Settings → Developer → Edit Config, or edit the file directly: ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows.
  2. Merge the snippet below into the file, keeping any servers you already have.
  3. Fully quit Claude (⌘Q on macOS, tray icon → Quit on Windows) and reopen it — closing the window is not enough.
  4. Open the tools menu in the composer; branchdeploy should be listed.
{
  "mcpServers": {
    "branchdeploy": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.branch-deploy.dev/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer your-mcp-api-key"
      }
    }
  }
}

Put the token in env (not inline after --header) so the space in Bearer … isn't split into a separate argument. Claude Desktop's built-in Add custom connector only supports OAuth sign-in, not the static API key BranchDeploy uses, so the mcp-remote bridge is how you connect — on every plan.

Step 4: Try it

Ask your AI assistant:

You only give the ticket number. The AI shows you the work item, resolved branch, and target environment, and always asks for confirmation before anything is queued.

Available Tools

Tool What it does
preview_deploy Resolves the work item, branch, environment, and branch rules without queueing anything.
deploy Queues the configured Azure Pipeline after validation and explicit confirmation.
list_environments Lists the deployment environments configured for a project.
get_deployment_status Checks a deployment by the deployment ID returned from deploy.
get_deployment_history Lists recent deployments for a project, optionally filtered by work item ID.

How It Works

Deploying through the assistant does exactly what the deploy button on the work item does — nothing more. The AI can't pick an arbitrary branch or pipeline; BranchDeploy resolves and validates everything server-side:

  1. You say "deploy ticket 2372"
  2. BranchDeploy looks up the work item, its project, and the branch linked to it
  3. It selects the project's environment (or asks which, if there is more than one)
  4. It checks the linked branch is permitted by that environment's branch rules — and refuses if not
  5. The AI shows you the plan and asks you to confirm
  6. After you confirm, BranchDeploy queues the environment's configured pipeline on that branch

Because the branch, pipeline, and rules all come from your project configuration — never from the assistant — an AI (or a prompt) cannot deploy a branch that isn't linked to the ticket or one your environment doesn't allow.

Troubleshooting

"Invalid MCP API key"
Regenerate the key in your account settings and update your client config.

"No Azure DevOps PAT configured"
Add a PAT in your account, on the Credentials tab.

"Work item not found"
Check the ticket number and ensure the PAT has access to that project.

"No environments configured"
Open the project's Project Settings → BranchDeploy in the extension and click Save — this syncs its environments to the cloud automatically.

Install Free forever for one project.

Ready to deploy?

Install BranchDeploy from the Marketplace, open Project Settings, add your pipeline ID, and deploy from a work item in minutes.

$ az devops extension install --extension-id branchdeploy --publisher-id PixelFunnelLtd
Install free
Requirements
  • Azure Repos + Azure Pipelines.
  • Permission to queue the pipeline.
  • No BranchDeploy account needed (Free).
Setup
  • Install the extension.
  • Open Project Settings → BranchDeploy.
  • Enter your pipeline ID and save.
Free tier
  • One project, one environment.
  • Queues as your Azure DevOps session.
  • Completely free, forever.
Pro
BranchDeploy // © 2026 Pixel Funnel Ltd // Azure DevOps Marketplace extension // No clipboard. No tab switching. No branch-name guesswork.