Skip to main content

Setting up Azure DevOps MCP server for StudioAssist

This document explains how to set up a proxy Azure DevOps MCP server to integrate with Katalon Studio's StudioAssist agent.

requirements

Set up and connect Azure DevOps MCP server to StudioAssist​

Step summary:

  1. Install mcp-proxy.
  2. Install required packages for Azure DevOps MCP server globally or locally.
  3. Create and setup a Personal Access Token (PAT) to authenticate with Azure DevOps.
  4. Host your Azure DevOps MCP server.
  5. Connect to the server in Katalon's StudioAssist MCP server settings.

Refer to these steps below for more details.

Install mcp-proxy​

Run the following command in your terminal to install mcp-proxy. You can choose either UV:

uv tool install mcp-proxy

or pipx:

pipx install mcp-proxy

Install required packages for Azure DevOps MCP server​

Run the following command in your terminal to install required packages for Azure DevOps MCP server.

You can install the required packages globally:

npm install -g mcp-proxy @azure-devops/mcp

Or install for your project only (local install):

npm install mcp-proxy @azure-devops/mcp

Create and setup a Personal Access Token (PAT)​

You need a Personal Access Token (PAT) to authenticate with Azure DevOps. Follow these steps:

  1. Go to Azure DevOps: <https://dev.azure.com/{YourOrganization}>
  2. Click on User Settings (top right) > Personal Access Tokens.
button to create a new personal access token in azure devops
  1. Click + New Token.
  2. Configure:
    • Name: Give it a descriptive name (e.g., "MCP Bridge")
    • Organization: Select your organization (e.g., "Katalon")
    • Expiration: Set expiration date
    • Scopes: Select the permissions you need:
      • Work Items: Read & Write
      • Code: Read
      • Build: Read
      • Or select Full Access for all permissions
create a new access token for azure devops
  1. Click Create

  2. Copy the token - you won't be able to see it again.

  3. Set up the PAT as an environment variable:

    For Windows (PowerShell):

    $env:AZURE_DEVOPS_PAT = "your-pat-token-here"

    For Windows (CMD):

    set AZURE_DEVOPS_PAT=your-pat-token-here

    For macOS/Linux:

    export AZURE_DEVOPS_PAT="your-pat-token-here"

    For macOS/Linux (Permanent setup):

    Add to your ~/.zshrc or ~/.bashrc:

    echo 'export AZURE_DEVOPS_PAT="your-pat-token-here"' >> ~/.zshrc source ~/.zshrc

Host your Azure DevOps MCP Bridge server​

In your terminal, run the MCP proxy server with your Azure DevOps organization:

mcp-proxy --port 3000 --host 127.0.0.1 --stateless --allow-origin '*' npx @azure-devops/mcp "Katalon"

Replace "Katalon" with your Azure DevOps organization name.

ParameterDescription
--port 3000Server port (customize as needed)
--host 127.0.0.1Server host (localhost)
--statelessEnable stateless mode
--allow-origin '*'Allow all CORS origins (use specific origin in production)
"Katalon"Your Azure DevOps organization name

Connect to the server in StudioAssist​

Once the server is running, add it to StudioAssist:

  1. Server URL: <http://127.0.0.1:3000/mcp>
  2. TransportType: HTTP
katalon studio adding a azure devops mcp server to studioassist

Result

You can see the tool list in the added MCP server for Azure DevOps:

azure devops mcp server tool list

Troubleshoot​

  • If you encounter "Port already in use" error, it's likely you're already using port 3000 for another task. Change --port 3000 to another port (e.g., --port 3001).

  • If you encounter "Connection fails" error, double check to ensure mcp-proxy is running in the terminal.

  • If you encounter CORS errors, double-check to make sure --allow-origin "*" is in the command

Was this page helpful?