SA

stefanskiasan/azure-devops-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

33 stars 14 forks Качество 71 Тренд 0MIT

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:

Ручная установка

  1. Клонировать это хранилище:

  2. Установить зависимости:

3 Построить сервер:

Примечание: Каталог вывода сборки ([T0]] не включен в управление версиями. Вы должны запустить команду сборки после клонирования хранилища.

Конфигурация

###1. Получить Azure DevOps персональный токен доступа (PAT)

1.Перейти в Azure DevOps и зарегистрироваться 2. Нажмите на изображение вашего профиля в правом верхнем углу 3. Выберите “Безопасность” 4. Нажмите “Новый Токен” 5. Дайте вашему токену имя и выберите необходимые области:

  • Code (read, write) - Для операций Pull Request
  • [[Т2]] - Управление рабочими пунктами
  • [[Т3]] - Для трубопроводных операций
  • Wiki (read, write) - Для операций Wiki Project 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

  1. Clone this repository:
git clone https://github.com/stefanskiasan/azure-devops-mcp-server.git
cd azure-devops-mcp-server
  1. Install dependencies:
npm install
  1. 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)

  1. Go to Azure DevOps and sign in
  2. Click on your profile picture in the top right
  3. Select “Security”
  4. Click “New Token”
  5. Give your token a name and select the required scopes:
    • Code (read, write) - For Pull Request operations
    • Work Items (read, write) - For Work Item management
    • Build (read, execute) - For Pipeline operations
    • Wiki (read, write) - For Wiki operations
    • Project and Team (read) - For Project and Board information
  6. 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 repository
  • your-organization: Your Azure DevOps organization name
  • your-project-name: Your Azure DevOps project name
  • your-personal-access-token: The PAT you generated in step 1

Available Tools

Work Items

  • get_work_item: Get a work item by ID
  • list_work_items: Query work items using WIQL
  • create_work_item: Create a new work item (Bug, Task, User Story)
Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @stefanskiasan/azure-devops-mcp-server --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "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": [] } } }