@veracity/mcp-server-azure-devops

2.0.0 • Public • Published

Azure DevOps MCP server

Quick and simple? This is an MCP server designed to connect to an Azure DevOps instance.

The HTML retrieved from Azure DevOps is sanitized before being converted to Markdown.

By default, this tool connects to dnvgl-one.visualstudio.com and uses the organization Veracity. However, this can be changed using command-line arguments and environment variables. Documentation for this feature is not yet available.

It exposes two prompts, one resources and two tools but GitHub Copilot only cares about tools for now 😔.

Get a Azure DevOps Personal Access Token (PAT)

You need a PAT to use this MCP server, cf. Use personal access tokens.

Usage in VS Code Insiders

Configure it by hand (recommended)

Add a .vscode/mcp.json file in your project with the following code:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "azureDevopsPAT",
      "description": "Personal Access Token for Azure DevOps"
    }
  ],
  "servers": {
    "mcp-azure-devops": {
      "type": "stdio",
      "command": "npx",
      "args": ["@veracity/mcp-server-azure-devops"],
      "env": {
        "AZURE_DEVOPS_PAT": "${input:azureDevopsPAT}"
      }
    }
  }
}

Configure it using the GUI

First step

Second step

Third step

After saying Yes a few more times, choose "Workspace Settings".

Fourth step

It will invite your to add paste the PAT, but better use the JSON code above so that it asks your for the PAT the first time and then keep is securely.

Using it

Make sure you are in agent mode and have enable this MCP server:

Enable agent mode

Enable MCP

And finally:

Use MCP

Testing it locally

Create a .env file with the following content:

AZURE_DEVOPS_PAT="..."

Use the inspector like this (yes the / are correct for the file path despite even when running it on Windows):

npm run build
npx --yes @modelcontextprotocol/inspector@latest node ./dist/index.js

Then click on Connect > List Tools > fetchWorkItem > {any valid work item ID you have access to} > Run Tool

Inspector

Readme

Keywords

none

Package Sidebar

Install

npm i @veracity/mcp-server-azure-devops

Weekly Downloads

5

Version

2.0.0

License

ISC

Unpacked Size

669 kB

Total Files

14

Last publish

Collaborators

  • oana.botezat
  • brandnv
  • zoeyxue
  • derek_wm
  • aritor
  • tomasz.boczarski.dnv
  • sergii.sokurenko
  • roshanmha
  • andreassovik
  • francispaulin_dnv
  • thobas
  • frankveracity
  • gunskednv
  • alicjajelinska
  • denpokdnv
  • lieliu
  • oddtk
  • emilmuellerdnvcom
  • bartlomiej.gross
  • andrzej-zaniewski
  • steven.mark.alford
  • mdog_dnv
  • eriktorv
  • sacjam
  • sarchr
  • sheggem-dnv
  • ronaldwu
  • dnvhaakon
  • marszwdnv
  • mwojcik-dnv
  • adrianlippa
  • max_g
  • rongling
  • jakubdzien
  • hfjukstad
  • tongxg
  • p.jedryszczak.dnv
  • arilar
  • madanya
  • hersete
  • johnlauvd
  • hanslb
  • melo1523
  • janpochmara
  • sakshi_minocha
  • leifwalkergrant
  • pawelllr
  • lailakristine
  • ola.czerwinska
  • oyvind.mokal.luras
  • anushka.subedi.dnv
  • aditya.pandya
  • marlon.polomelo.dnv
  • abdullah.dnv
  • vinodbhoye
  • waqash13
  • leszek.lewandowski.dnv
  • patryk.szczypka
  • markdnv
  • dnv_mathis
  • dafi-dnv