Azure DevOps MCP Server

Interact with Azure DevOps for managing projects, pipelines, and repositories.

Documentation

Project Icon mcpserver.azuredevops

A Stdio MCP server as dotnet tool to access Azure DevOps.

๐Ÿ“ฆ NuGet

NuGet Badge

dnx

dnx mcpserver.azuredevops.stdio --yes

dotnet tool

Installation

dotnet tool install --global mcpserver.azuredevops.stdio

๐Ÿ› ๏ธ Supported Tools

Core Navigation Tools

  • GetProjects: List all accessible projects
  • GetRepositories: List all repositories in a project

Project Tools

  • GetProject: Get details of a specific project

Repository Tools

  • GetRepository: Get repository details

Search Tools

  • SearchCode: Search for code across repositories in a project

GetCommit Tools

  • GetCommit: Retrieve a particular commit details
  • GetCommits: Retrieve git commits

๐Ÿšง Work Item Tools ๐Ÿšง

  • get_work_item: Retrieve a work item by ID
  • create_work_item: Create a new work item
  • update_work_item: Update an existing work item
  • list_work_items: List work items in a project
  • manage_work_item_link: Add, remove, or update links between work items

๐Ÿšง Boards ๐Ÿšง

  • get_boards: Get available boards in the project

๐Ÿšง Pipelines ๐Ÿšง

  • list_pipelines: List all pipelines in the project
  • trigger_pipeline: Execute a pipeline

๐Ÿšง Pull Requests ๐Ÿšง

  • list_pull_requests: List pull requests
  • create_pull_request: Create a new pull request
  • update_pull_request: Update a pull request
  • get_pull_request: Get pull request details

๐Ÿšง Wiki ๐Ÿšง

  • get_wikis: List all wikis in the project
  • get_wiki_page: Get a wiki page
  • create_wiki: Create a new wiki
  • update_wiki_page: Create or update a wiki page

๐Ÿ’ก LLM Examples

Semantic Kernel

This MCP Server can be used in ModelContextProtocol-SemanticKernel.

Question

Get 5 commits from the repository '. . .'

Answer

Here are the 3 most recent commits from the '. . .' repository:

1. **Commit ID:** [. . .](https://dev.azure.com/. . ./. . ./_git/. . ./commit/. . .)
   - **Author:** Stef Heyenrath
   - **Date:** 2021-12-17
   - **Comment:** Merged PR 378: Updated mindmap-certifications.json

2. **Commit ID:** [. . .](https://dev.azure.com/. . ./. . ./_git/. . ./commit/. . .)
   - **Author:** Stef Heyenrath
   - **Date:** 2021-12-17
   - **Comment:** Merge pull request 378 from stef-update-az104 into master

3. **Commit ID:** [. . .](https://dev.azure.com/. . ./. . ./_git/. . ./commit/. . .)
   - **Author:** Stef Heyenrath
   - **Date:** 2021-12-17
   - **Comment:** 103

If you need more details about any specific commit, feel free to ask!

Claude Desktop

This MCP Server can also be used in Claude Desktop.

Config

{
    "mcpServers": {
        "azureDevOpsDotNet": {
            "command": "mcpserver.azuredevops.stdio",
            "args": [ ],
            "env": {
                "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/. . .",
                "AZURE_DEVOPS_AUTH_METHOD": "pat",
                "AZURE_DEVOPS_PAT": ". . .",
                "AZURE_DEVOPS_DEFAULT_PROJECT": "AzureExampleProjects"
            }
        }
    }
}

Question

Get 2 commits from the azure devops repository '. . .'.

Answer

Claude Desktop-01


๐Ÿ“– Links

Certified

Sponsors

Entity Framework Extensions and Dapper Plus are major sponsors and proud to contribute to the development of mcpserver.azuredevops.stdio.

Entity Framework Extensions

Dapper Plus