Skip to main content
Glama
MCP Azure DevOps Server
by Vortiago

MCP Azure DevOps サーバー

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

概要

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

Related MCP server: Azure DevOps MCP Server

特徴

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

作業項目管理

  • 作業項目のクエリ: 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ファイルを参照してください。

謝辞

Available Tools

21 tools
add_work_item_commentA
    Adds a new comment to a work item.

    Use this tool when you need to:
    - Provide feedback or clarification on a work item
    - Document decisions made about the work
    - Add context without changing the work item's fields
    - Communicate with team members about specific tasks
    
    IMPORTANT: Comments in Azure DevOps become part of the permanent work
    item history and cannot be edited or deleted after they are added. The
    comment will be attributed to the user associated with the Personal
    Access Token used for authentication.
    
    Args:
        id: The work item ID
        text: The text of the comment (supports markdown formatting)
        project: Optional project name. If not provided, will be 
            determined from the work item.
        
    Returns:
        Formatted string containing confirmation and the added comment with
        author information and timestamp
    

Inputs: id (required), text (required), project.

create_work_itemA
    Creates a new work item in Azure DevOps.
    
    Use this tool when you need to:
    - Add a new task, user story, bug, or other work item to a project
    - Create work items with specific field values and metadata
    - Establish work hierarchies by setting parent relationships
    - Track new requirements, features, or issues in your project
    
    IMPORTANT: The work item will be created immediately and visible to all
    users with access to the specified project. It will also trigger any
    configured notifications or automation rules.
    
    Args:
        title: The title of the work item
        project: The project name or ID where the work item will be created
        work_item_type: Type of work item (e.g., "User Story", "Bug", 
            "Task")
        fields: Optional dictionary of additional field name/value pairs 
            to set
        description: Optional description of the work item
        state: Optional initial state for the work item
        assigned_to: Optional user email to assign the work item to
        parent_id: Optional ID of parent work item for hierarchy
        iteration_path: Optional iteration path for the work item
        area_path: Optional area path for the work item
        story_points: Optional story points value
        priority: Optional priority value
        tags: Optional tags as comma-separated string
        
    Returns:
        Formatted string containing the created work item details including
        ID, title, type, state, and all other specified fields, formatted
        as markdown
    

Inputs: title (required), project (required), work_item_type (required), fields, +9 more.

get_all_teamsA
    Retrieves all teams in the Azure DevOps organization.
    
    Use this tool when you need to:
    - Get an overview of all teams across projects
    - Find team IDs for use in other operations
    - Determine which teams exist in the organization
    - Locate specific teams by name
    
    Args:
        user_is_member_of: If true, return only teams where the current 
            user is a member. Otherwise return all teams the user 
            has read access to.
        top: Maximum number of teams to return
        skip: Number of teams to skip
            
    Returns:
        Formatted string containing team information including names,
        IDs, descriptions, and associated projects, formatted as
        markdown with each team clearly separated
    

Inputs: user_is_member_of, top, skip.

get_process_detailsA
    Gets detailed information about a specific process.
    
    Use this tool when you need to:
    - View process properties and configuration
    - Get a list of work item types defined in a process
    - Check if a process is the default for the organization
    
    Args:
        process_id: The ID of the process
        
    Returns:
        Detailed information about the process including properties and
        available work item types
    

Inputs: process_id (required).

get_project_process_idA
    Gets the process ID associated with a project.
    
    Use this tool when you need to:
    - Find out which process a project is using
    - Get the process ID for use in other process-related operations
    - Verify process information for a project
    
    Args:
        project: Project ID or project name
        
    Returns:
        Formatted information about the process including name and ID
    

Inputs: project (required).

get_projectsA
    Retrieves all projects accessible to the authenticated user 
    in the Azure DevOps organization.
    
    Use this tool when you need to:
    - Get an overview of all available projects
    - Find project IDs for use in other operations
    - Check project states and visibility settings
    - Locate specific projects by name
    
    Args:
        state_filter: Filter on team projects in a specific state 
            (e.g., "WellFormed", "Deleting")
        top: Maximum number of projects to return
            
    Returns:
        Formatted string containing project information including names,
        IDs, descriptions, states, and visibility settings, formatted as
        markdown with each project clearly separated
    

Inputs: state_filter, top.

get_team_area_pathsA
    Retrieves the area paths assigned to a specific team.
    
    Use this tool when you need to:
    - Understand a team's areas of responsibility
    - Check default area path assignments
    - Determine how work is classified and routed to teams
    - Set up board and backlog configurations
    
    IMPORTANT: Area paths in Azure DevOps determine which work items appear
    on a team's backlogs and boards. The default area path is used when
    creating new work items through a team's interface.
    
    Args:
        project_name_or_id: The name or ID of the team project
        team_name_or_id: The name or ID of the team
            
    Returns:
        Formatted string containing team area path information including
        the default area path and all assigned paths, with indicators for
        paths that include sub-areas
    

Inputs: project_name_or_id (required), team_name_or_id (required).

get_team_iterationsA
    Retrieves the iterations (sprints) assigned to a specific team.
    
    Use this tool when you need to:
    - View a team's sprint schedule
    - Find date ranges for iterations
    - Determine which iteration is currently active
    - Plan work based on team's iteration calendar
    
    IMPORTANT: Iterations in Azure DevOps define time periods for planning
    and tracking work. They determine sprint dates and are used for
    capacity planning, burndown charts, and velocity calculations.
    
    Args:
        project_name_or_id: The name or ID of the team project
        team_name_or_id: The name or ID of the team
        current: If True, return only the current iteration
            
    Returns:
        Formatted string containing team iteration information including
        names, date ranges, and time frames (past/current/future),
        formatted as markdown
    

Inputs: project_name_or_id (required), team_name_or_id (required), current.

get_team_membersA
    Retrieves the membership roster for a specific team.
    
    Use this tool when you need to:
    - See who belongs to a particular team
    - Find team administrators
    - Check user assignments across teams
    - Determine team size and composition
    
    Args:
        project_id: The name or ID (GUID) of the team project the team 
            belongs to
        team_id: The name or ID (GUID) of the team
        top: Maximum number of members to return
        skip: Number of members to skip
            
    Returns:
        Formatted string containing team members information including
        display names, emails, IDs, and administrator status, formatted
        as markdown with each member clearly separated
    

Inputs: project_id (required), team_id (required), top, skip.

get_work_itemA
    Retrieves detailed information about one or multiple work items.
    
    Use this tool when you need to:
    - View the complete details of a specific work item
    - Examine the current state, assigned user, and other properties
    - Get information about multiple work items at once
    - Access the full description and custom fields of work items
    
    Args:
        id: The work item ID or a list of work item IDs
        
    Returns:
        Formatted string containing comprehensive information for the
        requested work item(s), including all system and custom fields,
        formatted as markdown with clear section headings
    

Inputs: id (required).

get_work_item_commentsA
    Retrieves all comments associated with a specific work item.

    Use this tool when you need to:
    - Review discussion history about a work item
    - See feedback or notes left by team members
    - Check if specific questions have been answered
    - Understand the context and evolution of a work item
    
    Args:
        id: The work item ID
        project: Optional project name. If not provided, will be 
            determined from the work item.
        
    Returns:
        Formatted string containing all comments on the work item, 
        including author names, timestamps, and content, organized 
        chronologically and formatted as markdown
    

Inputs: id (required), project.

get_work_item_templateA
    Gets detailed information about a specific work item template.
    
    Use this tool when you need to:
    - View default field values in a template
    - Understand what a template pre-populates in a work item
    - Get complete details about a template
    
    Args:
        team_context: Dictionary containing team information with keys:
            project: Project name (Optional if project_id is provided)
            project_id: Project ID (Optional if project is provided)
            team: Team name (Optional if team_id is provided)
            team_id: Team ID (Optional if team is provided)
        template_id: The ID of the template
        
    Returns:
        Detailed information about the template including default field 
        values
    

Inputs: team_context (required), template_id (required).

get_work_item_templatesA
    Gets a list of all work item templates for a team.
    
    Use this tool when you need to:
    - Find available templates for creating work items
    - Get template IDs for use in other operations
    - Filter templates by work item type
    
    Args:
        team_context: Dictionary containing team information with keys:
            project: Project name (Optional if project_id is provided)
            project_id: Project ID (Optional if project is provided)
            team: Team name (Optional if team_id is provided)
            team_id: Team ID (Optional if team is provided)
        work_item_type: Optional work item type name to filter templates
        
    Returns:
        A formatted table of all templates with names, work item types,
        and descriptions
    

Inputs: team_context (required), work_item_type (required).

get_work_item_typeA
    Gets detailed information about a specific work item type.
    
    Use this tool when you need to:
    - Get complete details about a work item type
    - Understand the states and transitions for a work item type
    - Learn about the color and icon for a work item type
    
    Args:
        project: Project ID or project name
        type_name: The name of the work item type
        
    Returns:
        Detailed information about the work item type including states,
        color, icon, and reference name
    

Inputs: project (required), type_name (required).

get_work_item_type_fieldA
    Gets detailed information about a specific field in a work item type.
    
    Use this tool when you need to:
    - Get complete details about a work item field
    - Check allowed values for a field
    - Verify if a field is required or read-only
    
    Args:
        project: Project ID or project name
        type_name: The name of the work item type
        field_name: The reference name or display name of the field
        
    Returns:
        Detailed information about the field including type, allowed 
        values, and constraints
    

Inputs: project (required), type_name (required), field_name (required).

get_work_item_type_fieldsA
    Gets a list of all fields for a specific work item type.
    
    Use this tool when you need to:
    - See what fields are available for a work item type
    - Find required fields for creating work items of a specific type
    - Get reference names for fields to use in queries or updates
    
    Args:
        project: Project ID or project name
        type_name: The name of the work item type
        
    Returns:
        A formatted table of all fields with names, reference names,
        types, and required/read-only status
    

Inputs: project (required), type_name (required).

get_work_item_typesA
    Gets a list of all work item types in a project.
    
    Use this tool when you need to:
    - See what work item types are available in a project
    - Get reference names for work item types to use in other operations
    - Plan work item creation by understanding available types
    
    Args:
        project: Project ID or project name
        
    Returns:
        A formatted table of all work item types with names, reference
        names, and descriptions
    

Inputs: project (required).

list_processesA
    Lists all available processes in the organization.
    
    Use this tool when you need to:
    - See what processes are available in your Azure DevOps organization
    - Find process IDs for project creation or configuration
    - Check which process is set as the default
    
    Returns:
        A formatted table of all processes with names, IDs, and 
        descriptions
    

Inputs: no named parameters.

query_work_itemsA
    Searches for work items using Work Item Query Language (WIQL).
    
    Use this tool when you need to:
    - Find work items matching specific criteria
    - Search across projects for related tasks or bugs
    - Create dynamic reports based on work item attributes
    - Identify work items assigned to specific team members
    
    IMPORTANT: WIQL syntax is similar to SQL and allows you to query
    work items based on their fields. The query must follow Azure DevOps
    WIQL syntax rules, with proper SELECT, FROM, and WHERE clauses.
    
    Args:
        query: The WIQL query string (e.g., "SELECT * FROM workitems 
            WHERE [System.State] = 'Active'")
        top: Maximum number of results to return (default: 30)
            
    Returns:
        Formatted string containing detailed information for each matching
        work item, with all fields and values formatted as markdown
    

Inputs: query (required), top.

update_work_itemA
    Modifies an existing work item's fields and properties.
    
    Use this tool when you need to:
    - Change the status or state of a work item
    - Reassign work to a different team member
    - Update the description or details of a requirement
    - Modify effort estimates or priority levels
    - Add or change classification (area/iteration)
    - Update any field supported by the work item type
    
    IMPORTANT: This tool updates the work item directly in Azure DevOps.
    Changes will be immediately visible to all users with access to the
    work item and will trigger any configured notifications or workflows.
    You must specify at least one field to update.
    
    Args:
        id: The ID of the work item to update
        fields: Optional dictionary of field name/value pairs to update
        project: Optional project name or ID
        title: Optional new title for the work item
        description: Optional new description
        state: Optional new state
        assigned_to: Optional user email to assign to
        iteration_path: Optional new iteration path
        area_path: Optional new area path
        story_points: Optional new story points value
        priority: Optional new priority value
        tags: Optional new tags as comma-separated string
        
    Returns:
        Formatted string containing the updated work item details with
        all current field values, formatted as markdown
    

Inputs: id (required), fields, project, title, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 21 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, such as create_work_item vs. update_work_item or get_work_item vs. query_work_items. However, there is some potential overlap between get_work_item_comments and add_work_item_comment, as both deal with comments, but their distinct actions (retrieve vs. add) help differentiate them. The tools generally target specific resources and actions, reducing confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as create_work_item, get_work_item, and update_work_item. The naming is predictable and readable throughout, with no deviations or mixed conventions, making it easy for agents to understand the tool's purpose from its name.

    Tool Count4/5

    With 21 tools, the count is slightly high but reasonable for the Azure DevOps domain, which involves managing projects, teams, processes, and work items. It covers a broad scope without being excessive, though it might feel heavy compared to simpler servers. Each tool appears to serve a specific function, justifying its inclusion.

    Completeness5/5

    The tool set provides comprehensive coverage for Azure DevOps operations, including CRUD for work items (create, get, update, query), project and team management, process and template handling, and comment functionality. There are no obvious gaps; it supports full lifecycle management and essential workflows, ensuring agents can perform typical tasks without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      This server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOps
      58 npm
      60
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A reference server implementation for the Model Context Protocol that enables AI assistants to interact with Azure DevOps resources and perform operations such as project management, work item tracking, repository operations, and code search programmatically.
      7
      -
    • F
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to interact with Azure DevOps services, providing capabilities for work item management, project management, and team collaboration through natural language.
      21
      -