Azure DevOps MCP Server
The Azure DevOps MCP Server enables AI models to interact with Azure DevOps, providing capabilities for managing work items, pull requests, pipelines, and more.
Overview
The Azure DevOps MCP Server brings Azure DevOps context to your agents, enabling AI models to interact with your Azure DevOps environment. It allows for managing work items, pull requests, test plans, builds, releases, and wiki pages directly from your code editor or AI assistant.
Official Server:
Developed and maintained by Microsoft
Key Features
Work Item Management
Create, update, query, and manage work items like bugs, tasks, and user stories.
Pull Request Operations
List, create, and update pull requests, and manage their comments and threads.
Pipeline & Build Interaction
Query pipeline status and trigger new pipeline runs.
Wiki Management
Create, update, and retrieve content from wiki pages.
Available Tools
Quick Reference
| Tool | Purpose | Category |
|---|---|---|
core_list_projects | List projects in your organization | Core |
wit_my_work_items | Retrieve work items for the authenticated user | Work Items |
wit_create_work_item | Create a new work item | Work Items |
repo_list_repos_by_project | List repositories for a given project | Repositories |
repo_create_pull_request | Create a new pull request | Repositories |
wiki_create_wiki_page | Create a new wiki page | Wiki |
Detailed Usage
core_list_projects▶
Retrieve a list of projects in your Azure DevOps organization.
use_mcp_tool({
server_name: "azure-devops",
tool_name: "core_list_projects",
arguments: {}
});
wit_create_work_item▶
Create a new work item in a specified project and work item type.
use_mcp_tool({
server_name: "azure-devops",
tool_name: "wit_create_work_item",
arguments: {
project: "MyProject",
type: "Bug",
title: "Fix authentication issue",
description: "Users are unable to log in."
}
});
repo_create_pull_request▶
Create a new pull request.
use_mcp_tool({
server_name: "azure-devops",
tool_name: "repo_create_pull_request",
arguments: {
repositoryId: "my-repo-id",
sourceRefName: "refs/heads/feature/new-feature",
targetRefName: "refs/heads/main",
title: "New Feature Implementation"
}
});
wiki_create_wiki_page▶
Create a new wiki page with specified content.
use_mcp_tool({
server_name: "azure-devops",
tool_name: "wiki_create_wiki_page",
arguments: {
project: "MyProject",
wikiIdentifier: "MyWiki",
path: "/NewPage",
content: "# My New Wiki Page\nThis is the content of my new wiki page."
}
});
Installation
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": [
"-y",
"@microsoft/azure-devops-mcp"
],
"env": {
"AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
"AZURE_DEVOPS_AUTH_METHOD": "pat",
"AZURE_DEVOPS_PAT": "<YOUR_PAT>",
"AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
}
}
}
}
Sources
Related Articles
Model Context Protocol (MCP): Open Standard for AI Integration
The Model Context Protocol (MCP) is an open standard enabling AI systems to connect with diverse data sources, tools, and services, eliminating custom integrations for seamless interaction.
Analytics & Data MCP Servers: AI Integration & Insights
Explore MCP servers for analytics and data processing, providing standardized interfaces for AI models to interact with analytics platforms and data visualization tools.
Zendesk MCP Server
Manage Zendesk tickets, comments, and help center articles through AI assistants using the Zendesk MCP Server for customer support automation.