
stefanskiasan/azure-devops-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
stefanskiasan/azure-devops-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/stefanskiasan/azure-devops-mcp-server.
Обзор
stefanskiasan/azure-devops-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/stefanskiasan/azure-devops-mcp-server.
Обзор (машинный перевод)
Сервер MCP обеспечивает интеграцию с Azure DevOps, позволяя Cline взаимодействовать со службами Azure DevOps.
Предпосылки
Node.js (v20 LTS или выше)
- npm (приходит с Node.js)
- Установка Cline Учетная запись Azure DevOps с токенами доступа
##Установка
###Установка через Smithery
Для автоматической установки Azure DevOps Server для Claude Desktop через Smithery:
Ручная установка
-
Клонировать это хранилище:
-
Установить зависимости:
3 Построить сервер:
Примечание: Каталог вывода сборки ([T0]] не включен в управление версиями. Вы должны запустить команду сборки после клонирования хранилища.
Конфигурация
###1. Получить Azure DevOps персональный токен доступа (PAT)
1.Перейти в Azure DevOps и зарегистрироваться 2. Нажмите на изображение вашего профиля в правом верхнем углу 3. Выберите “Безопасность” 4. Нажмите “Новый Токен” 5. Дайте вашему токену имя и выберите необходимые области:
Code (read, write)- Для операций Pull Request- [[Т2]] - Управление рабочими пунктами
- [[Т3]] - Для трубопроводных операций
Wiki (read, write)- Для операций WikiProject and Team (read)- Информация о проекте и совете директоров
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Azure DevOps MCP Server for Cline
This Model Context Protocol (MCP) server provides integration with Azure DevOps, allowing Cline to interact with Azure DevOps services.
Prerequisites
- Node.js (v20 LTS or higher)
- npm (comes with Node.js)
- A Cline installation
- Azure DevOps account with access tokens
Installation
Installing via Smithery
To install Azure DevOps Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @stefanskiasan/azure-devops-mcp-server --client claude
Manual Installation
- Clone this repository:
git clone https://github.com/stefanskiasan/azure-devops-mcp-server.git
cd azure-devops-mcp-server
- Install dependencies:
npm install
- Build the server:
npm run build
Note: The build output (build/ directory) is not included in version control. You must run the build command after cloning the repository.
Configuration
1. Get Azure DevOps Personal Access Token (PAT)
- Go to Azure DevOps and sign in
- Click on your profile picture in the top right
- Select “Security”
- Click “New Token”
- Give your token a name and select the required scopes:
Code (read, write)- For Pull Request operationsWork Items (read, write)- For Work Item managementBuild (read, execute)- For Pipeline operationsWiki (read, write)- For Wiki operationsProject and Team (read)- For Project and Board information
- Copy the generated token
2. Configure Cline MCP Settings
Add the server configuration to your Cline MCP settings file:
- For VSCode extension:
%APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json - For Claude desktop app:
%LOCALAPPDATA%/Claude/claude_desktop_config.json
Add the following configuration to the mcpServers object:
{
"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 the following values:
/absolute/path/to/azure-devops-server: The absolute path to where you cloned this repositoryyour-organization: Your Azure DevOps organization nameyour-project-name: Your Azure DevOps project nameyour-personal-access-token: The PAT you generated in step 1
Available Tools
Work Items
get_work_item: Get a work item by IDlist_work_items: Query work items using WIQLcreate_work_item: Create a new work item (Bug, Task, User Story)
Установка
npx -y @smithery/cli install @stefanskiasan/azure-devops-mcp-server --client claudeКонфигурация
{
"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": []
}
}
}