azure-devops MCP Server
Сервер Azure DevOps MCP
Сервер MCP (Model Context Protocol), обеспечивающий интеграцию с Azure DevOps, позволяющий помощникам на основе ИИ взаимодействовать с рабочими элементами Azure DevOps, запросами на извлечение и вики-ресурсами.
Функции
Управление рабочими элементами (создание, список, получение)
Операции запроса на извлечение (создание, список, получение, комментарий, сравнение)
Управление вики-страницами (создание, редактирование)
Related MCP server: image-reader MCP Server
Настраивать
Установить зависимости:
npm installНастройте переменные среды (создайте файл .env):
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-org
AZURE_DEVOPS_PAT=your-personal-access-token
AZURE_DEVOPS_PROJECT=default-project
AZURE_DEVOPS_REPOSITORY=default-repoСборка сервера:
npm run buildУстановка
Добавьте конфигурацию сервера в настройки MCP:
Для VSCode
На macOS/Linux
Добавьте в ~/.vscode/cline_mcp_settings.json или эквивалент Cursor/Roo:
{
"mcpServers": {
"azure-devops": {
"command": "node",
"args": ["/path/to/azure-devops-mcp/build/index.js"],
"env": {
"AZURE_DEVOPS_ORG_URL": "your-org-url",
"AZURE_DEVOPS_PAT": "your-pat",
"AZURE_DEVOPS_PROJECT": "your-project",
"AZURE_DEVOPS_REPOSITORY": "your-repo"
},
"disabled": false,
"autoApprove": []
}
}
}В Windows
Добавьте в %USERPROFILE%\.vscode\cline_mcp_settings.json или эквивалент Cursor/Roo:
{
"mcpServers": {
"azure-devops": {
"command": "node",
"args": ["C:/path/to/azure-devops-mcp/build/index.js"],
"env": {
"AZURE_DEVOPS_ORG_URL": "your-org-url",
"AZURE_DEVOPS_PAT": "your-pat",
"AZURE_DEVOPS_PROJECT": "your-project",
"AZURE_DEVOPS_REPOSITORY": "your-repo"
},
"disabled": false,
"autoApprove": []
}
}
}Доступные инструменты
Рабочие элементы
список_рабочих_элементов
Перечисляет элементы работы в проекте.
{
"project": string, // Required
"types"?: string[], // Optional: Filter by work item types
"states"?: string[], // Optional: Filter by states
"assignedTo"?: string // Optional: Filter by assigned user
}получить_рабочий_элемент
Получите подробную информацию о конкретном рабочем элементе.
{
"project": string, // Required
"id": number // Required: Work item ID
}создать_рабочий_элемент
Создайте новый рабочий элемент.
{
"project": string, // Required
"type": string, // Required: e.g., "Task", "Bug"
"title": string, // Required
"description"?: string, // Optional
"assignedTo"?: string // Optional
}Запросы на извлечение
список_pull_requests
Перечисление запросов на извлечение в репозитории.
{
"status"?: "active" | "completed" | "abandoned" // Optional
}get_pull_request
Получите подробную информацию о конкретном запросе на включение изменений.
{
"pullRequestId": number // Required
}создать_pull_request
Создайте новый запрос на извлечение.
{
"title": string, // Required
"description": string, // Required
"sourceBranch": string, // Required
"targetBranch": string, // Required
"reviewers"?: string[] // Optional: Array of reviewer email addresses
}создать_pull_request_comment
Добавьте комментарий к запросу на извлечение.
{
"pullRequestId": number, // Required
"content": string, // Required
"threadId"?: number, // Optional: For replies
"filePath"?: string, // Optional: For file comments
"lineNumber"?: number, // Optional: For line comments
"status"?: "active"|"fixed"|"pending"|"wontfix"|"closed" // Optional: Thread status
}get_pull_request_diff
Получите разницу для запроса на извлечение.
{
"pullRequestId": number, // Required
"filePath"?: string, // Optional: Specific file to get diff for
"iterationId"?: number // Optional: Specific iteration to get diff for
}Вики
создать_вики_страницу
Создайте новую вики-страницу.
{
"project": string, // Required
"wiki": string, // Required
"path": string, // Required
"content": string // Required
}редактировать_wiki_страницу
Редактировать существующую вики-страницу.
{
"project": string, // Required
"wiki": string, // Required
"path": string, // Required
"content": string, // Required
"etag": string // Required: For concurrency control
}Разработка
Запустить в режиме разработки с переменными среды:
npm run devПримечание
Если в аргументах инструмента явно не указано иное, параметры project и repository будут использовать значения по умолчанию из конфигурации вашей среды.
Available Tools
12 toolscreate_pull_requestC
Create a new pull request
Inputs: description (required), sourceBranch (required), targetBranch (required), title (required), +1 more.
create_pull_request_commentC
Add a comment to a pull request
Inputs: content (required), pullRequestId (required), filePath, lineNumber, +2 more.
create_wiki_pageC
Create a new wiki page
Inputs: content (required), path (required), project (required), wiki (required).
create_work_itemC
Create a new work item
Inputs: project (required), title (required), type (required), assignedTo, +1 more.
edit_wiki_pageC
Edit an existing wiki page
Inputs: content (required), path (required), project (required), wiki (required), +1 more.
get_projectC
Get details of a specific Azure DevOps project
Inputs: id, name.
get_pull_requestB
Get details of a specific pull request
Inputs: pullRequestId (required).
get_pull_request_diffC
Get the diff for a pull request
Inputs: pullRequestId (required), filePath, iterationId.
get_work_itemC
Get details of a specific work item
Inputs: id (required), project (required).
list_projectsB
List all accessible projects in the Azure DevOps organization
Inputs: no named parameters.
list_pull_requestsC
List pull requests in a repository
Inputs: status.
list_work_itemsC
List work items in a project
Inputs: project (required), assignedTo, states, types.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Every tool has a clearly distinct purpose targeting specific resources and actions in Azure DevOps. For example, create_pull_request vs. create_pull_request_comment vs. get_pull_request_diff are all related to pull requests but handle different operations, with no overlapping functionality that would cause confusion.
All tool names follow a consistent verb_noun pattern with snake_case throughout, such as create_pull_request, list_projects, and get_work_item. The naming is predictable and readable, with no deviations in style or convention.
With 12 tools, this server is well-scoped for Azure DevOps operations, covering core areas like projects, pull requests, work items, and wiki pages. Each tool earns its place without feeling excessive or insufficient for the domain.
The tool set provides strong coverage for key workflows in Azure DevOps, including CRUD operations for pull requests, work items, and wiki pages, plus project listing and details. Minor gaps exist, such as missing update or delete operations for pull requests and work items, but agents can likely work around these with available tools.
Maintenance
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that used to create notes
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple TypeScript-based MCP server that implements a notes system, allowing users to create, list, and generate summaries of text notes via Claude.13-
- FlicenseAqualityNot gradedmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing creation and management of text notes with URIs and metadata.4-
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.23-
- AlicenseAqualityFmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes via URIs and tools.128MIT