MCP Azure DevOps Server

by Vortiago
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables repository operations for Azure DevOps Git repositories, supporting features like pull request management (planned).

  • Allows installation of the MCP server package from PyPI, making deployment easier through standard Python package management.

  • Built using Python SDK for MCP implementation, requiring Python 3.9+ for server installation and operation.

MCP Azure DevOps サーバー

AI アシスタントが Azure DevOps サービスと対話できるようにするモデル コンテキスト プロトコル (MCP) サーバー。

概要

このプロジェクトは、AI アシスタント (Claude など) が Azure DevOps と対話できるようにするモデル コンテキスト プロトコル (MCP) サーバーを実装し、自然言語対話と Azure DevOps REST API の間に橋渡しを提供します。

特徴

現在実装されているもの:

作業項目管理

  • 作業項目のクエリ: WIQL クエリを使用して作業項目を検索します
  • 作業項目の詳細を取得: 完全な作業項目情報を表示します
  • 作業項目の作成: 新しいタスク、バグ、ユーザーストーリー、その他の作業項目タイプを追加します
  • 作業項目の更新: 既存の作業項目のフィールドとプロパティを変更します
  • コメントを追加: 作業項目にコメントを投稿する
  • コメントの表示: 作業項目のコメント履歴を取得します
  • 親子関係: 作業項目間の階層を確立する

プロジェクト管理

  • プロジェクトを取得: 組織内のアクセス可能なすべてのプロジェクトを表示します
  • チームを取得: 組織内のすべてのチームを一覧表示します
  • チームメンバー: チームメンバーシップ情報を表示する
  • チームエリアパス: チームに割り当てられたエリアパスを取得します
  • チームイテレーション: チームイテレーション/スプリント構成にアクセスします

計画されている機能:

  • パイプライン操作: パイプラインのステータスを照会し、新しいパイプラインの実行をトリガーする
  • プルリクエストの処理: プルリクエストの作成、更新、レビュー
  • スプリント管理: スプリントとイテレーションの計画と管理
  • ブランチポリシー管理: ブランチポリシーの構成と管理

はじめる

前提条件

  • Python 3.10以上
  • 適切な権限を持つAzure DevOpsアカウント
  • Azure DevOps API アクセスに必要なスコープを持つ個人アクセス トークン (PAT)

インストール

# Clone the repository git clone https://github.com/Vortiago/mcp-azure-devops.git cd mcp-azure-devops # Install in development mode uv pip install -e ".[dev]" # Install from PyPi pip install mcp-azure-devops

構成

次の変数を含む.envファイルをプロジェクト ルートに作成します。

AZURE_DEVOPS_PAT=your_personal_access_token AZURE_DEVOPS_ORGANIZATION_URL=https://your-organization.visualstudio.com or https://dev.azure.com/your-organisation

注: Azure DevOps 組織への完全な URL を必ず提供してください。

サーバーの実行

# Development mode with the MCP Inspector mcp dev src/mcp_azure_devops/server.py # Install in Claude Desktop mcp install src/mcp_azure_devops/server.py --name "Azure DevOps Assistant"

使用例

クエリ作業項目

Show me all active bugs assigned to me in the current sprint

作業項目を作成する

Create a user story in the ProjectX with the title "Implement user authentication" and assign it to john.doe@example.com

作業項目を更新する

Change the status of bug #1234 to "Resolved" and add a comment explaining the fix

チームマネジメント

Show me all the team members in the "Core Development" team in the "ProjectX" project

プロジェクト構造を表示

List all projects in my organization and show me the iterations for the Development team

発達

プロジェクトは機能モジュールに構造化されており、各モジュールは特定の Azure DevOps 機能を実装します。

  • features/work_items : 作業項目管理機能
  • features/projects : プロジェクト管理機能
  • features/teams : チーム管理機能
  • utils : 共通ユーティリティとクライアント初期化

開発の詳細については、 CLAUDE.mdファイルを参照してください。

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

謝辞

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

AI アシスタントが Azure DevOps サービスと対話できるようにするモデル コンテキスト プロトコル サーバー。これにより、ユーザーは、アイテムの作成/更新、パイプラインの管理、プル リクエストの処理、スプリントとブランチ ポリシーの管理をサポートするプランを使用して作業項目を照会できるようになります。

  1. Overview
    1. Features
      1. Work Item Management
      2. Project Management
    2. Getting Started
      1. Prerequisites
      2. Installation
      3. Configuration
      4. Running the Server
    3. Usage Examples
      1. Query Work Items
      2. Create a Work Item
      3. Update a Work Item
      4. Team Management
      5. View Project Structure
    4. Development
      1. Contributing
        1. License
          1. Acknowledgments
            ID: 1t73gvug7p