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 😔.
You need a PAT to use this MCP server, cf. Use personal access tokens.
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}"
}
}
}
}
After saying Yes a few more times, choose "Workspace Settings".
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.
Make sure you are in agent mode and have enable this MCP server:
And finally:
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