Home / MCP / Azure DevOps MCP Server for Cline
Provides an MCP server that integrates Azure DevOps with Cline to manage work items, pipelines, pull requests, and more.
Configuration
View docs{
"mcpServers": {
"azure_devops": {
"command": "node",
"args": [
"/absolute/path/to/azure-devops-server/build/index.js"
],
"env": {
"AZURE_DEVOPS_ORG": "your-organization",
"AZURE_DEVOPS_PAT": "your-personal-access-token",
"AZURE_DEVOPS_PROJECT": "your-project-name"
}
}
}
}This MCP Server connects Azure DevOps with your Cline setup, enabling you to manage work items, pipelines, pull requests, wikis, and more directly from your MCP client. It streamlines automations and cross-tool workflows by exposing Azure DevOps actions through a consistent MCP interface.
You interact with Azure DevOps through your MCP client by invoking the available actions. Use the Work Items tools to query, create, or update items; Boards to inspect project boards; Pipelines to list or trigger pipelines; Pull Requests to manage PRs; Wiki to read or write pages; and Projects to enumerate organization projects. Each action runs against your Azure DevOps project and returns structured results you can feed into your workflows. Start by enabling the Azure DevOps MCP Server in your client’s MCP explorer, then choose the action you want to perform and provide the required inputs (such as item IDs, project names, or pipeline identifiers). When you need to read or modify data, supply the necessary identifiers and payloads, and let the MCP server handle the Azure DevOps API calls on your behalf.
Prerequisites: Node.js v20 LTS or higher, npm (comes with Node.js), a Cline installation, and an Azure DevOps account with access tokens.
Install Azure DevOps MCP Server for Claude Desktop automatically via Smithery.
npx -y @smithery/cli install @stefanskiasan/azure-devops-mcp-server --client claudeManual Installation steps to run locally.
git clone https://github.com/stefanskiasan/azure-devops-mcp-server.git
cd azure-devops-mcp-servernpm installnpm run buildNote: The build output (build/ directory) is not included in version control. You must run the build command after cloning the repository.
Get an Azure DevOps Personal Access Token (PAT) with the required scopes.
Configure Cline MCP Settings by adding the server configuration to your MCP settings file.
{
"mcpServers": {
"azure-devops": {
"command": "node",
"args": ["/absolute/path/to/azure-devops-server/build/index.js"],
"env": {
"AZURE_DEVOPS_ORG": "your-organization",
"AZURE_DEVOPS_PAT": "your-personal-access-token",
"AZURE_DEVOPS_PROJECT": "your-project-name"
},
"disabled": false,
"autoApprove": []
}
}
}Replace values with your actual paths and credentials.
Restart Cline (or the Claude desktop app) after adding the configuration. The Azure DevOps MCP server should now be listed in Cline's capabilities. You can verify the installation using the MCP Inspector.
npm run inspectorIf the server isn’t connecting, verify that the path in your MCP settings is correct, confirm your Azure DevOps credentials, and check the Cline logs for any error messages.
If authentication errors occur, ensure your PAT hasn’t expired, that it has all necessary scopes, and that you’ve specified the correct organization and project names.
For other issues, run the inspector tool to verify the server is working correctly and review the server logs for error messages.
To modify or extend the server, make changes in the src directory, run npm run watch for development, build with npm run build when ready, and test using the inspector with npm run inspector.
Retrieve a work item by ID from the specified Azure DevOps project.
Query and list work items using WIQL (work item query language).
Create a new work item such as Bug, Task, or User Story in a project.
Update properties of an existing work item.
Fetch available boards within the Azure DevOps project.
List all pipelines in the project.
Trigger a pipeline execution.
List pull requests for a repository.
Create a new pull request.
Update an existing pull request.
Get details of a pull request.
List all wikis in the project.
Read a specific wiki page.
Create a new wiki entry.
Create or update a wiki page.
List all projects in the Azure DevOps organization.