mcp-azure-devops-client-demo

kimtth/mcp-azure-devops-client-demo

3.3

If you are the rightful owner of mcp-azure-devops-client-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a comprehensive overview of the Azure DevOps MCP Server, detailing its features, tools, resources, and usage across different platforms.

Tools
1
Resources
0
Prompts
0

Azure DevOps ♾️ Azure DevOps MCP Demo πŸ’¬

Minimal demo of interacting with Azure DevOps via an Azure DevOps MCP Server (projects, work items, repos, wiki).

Quick Start

  1. uv sync
  2. Set env vars (see the .env.examples): AZURE_DEVOPS_ORG (e.g., contoso), AZURE_DEVOPS_PAT (Azure DevOps Personal Access Token)

[!NOTE] The sample shows how to authenticate with an Azure DevOps Personal Access Token (PAT). To use Azure CLI instead, simply omit the ADO_MCP_AUTH_TOKEN environment variable.

Usage

Examples:

  • "List projects"
  • "Get work item 10001 in DemoProject"
  • "Create a task (preview) to update docs in DemoProject"
  • "List open pull requests in DemoProject"
Sample MCP Interaction Outputs

1. List Projects

Prompt:

Get list of all projects in my Azure DevOps organization

Response:

Here are all projects in your Azure DevOps organization:

  • DemoProject (ID: proj-001) β€” state: wellFormed β€” visibility: Private β€” last update: 2025-01-15T10:30:00Z
  • WebApp (ID: proj-002) β€” state: wellFormed β€” visibility: Public β€” last update: 2025-01-10T14:20:00Z
  • MobileApp (ID: proj-003) β€” state: wellFormed β€” visibility: Private β€” last update: 2024-12-20T08:15:00Z

2. Get My Work Items

Prompt:

Get my work items for project DemoProject

Response:

I found 15 work items assigned to you in project DemoProject. Here they are (ID β€” URL):

Would you like any of these opened for full details (title, state, assignee, description), filtered (by state/type), exported (CSV), or do something else with them?


3. List Teams

Prompt:

Get list of teams for project DemoProject

Response:

I found 8 teams in project "DemoProject":

  1. Core Team β€” team-001
  2. DevOps Team β€” team-002
  3. Frontend Team β€” team-003
  4. Backend Team β€” team-004
  5. QA Team β€” team-005
  6. Security Team β€” team-006
  7. Design Team β€” team-007
  8. Platform Team β€” team-008

Would you like any of these expanded with description, URL, or team membership?


4. Get Work Item Details

Prompt:

Get work item 10001 and show me the fields: ID, Type, State, Title, Assigned To, and Priority

Response:

Work Item 10001

  • Type: Task
  • State: Active
  • Title: Update API documentation
  • Assigned To: [REDACTED]
  • Priority: 2

5. Create Work Item

Prompt:

Create a new Task in project DemoProject with title 'Update documentation' and description 'Need to update API documentation with latest changes'

Response:

βœ“ Successfully created Task 10015 in project DemoProject

Details:


6. Update Work Item

Prompt:

Update work item 10001: set State to 'Active', Priority to 2, and add a comment 'Working on this now'

Response:

βœ“ Successfully updated work item 10001

Changes applied:

  • State: New β†’ Active
  • Priority: 3 β†’ 2
  • Added comment: "Working on this now"

Current revision: 5


7. List Pull Requests

Prompt:

List all active pull requests for project DemoProject and repository webapp-frontend

Response:

Found 2 active pull requests in repository webapp-frontend:

  1. PR #301 - Add user authentication feature

    • Status: Active
    • Source: feature/auth β†’ main
    • Created by: [REDACTED]
  2. PR #302 - Fix navigation bug

    • Status: Active
    • Source: bugfix/nav β†’ develop
    • Created by: [REDACTED]

8. List Wikis

Prompt:

Get list of wikis in project DemoProject

Response:

Found 2 wikis in project DemoProject:

  1. Name: DemoProject.wiki

  2. Name: Team Documentation

Would you like the pages for either wiki or the content of a specific page?


9. Complex Query - Triage Bugs

Prompt:

For project DemoProject and team Core Team:
1. Get the current iteration
2. List all unassigned bugs with priority 1 or 2
3. Show me the top 5 by creation date

Response:

Current Iteration: Sprint 12

Found 12 unassigned bugs with priority 1 or 2. Here are the top 5 by creation date:

  1. Bug 10101 - Critical: Database connection timeout

    • Priority: 1
    • State: New
    • Created: 2025-01-15T09:23:00Z
  2. Bug 10099 - Memory leak in background service

    • Priority: 1
    • State: Active
    • Created: 2025-01-14T16:45:00Z
  3. Bug 10087 - UI rendering issue on mobile

    • Priority: 2
    • State: New
    • Created: 2025-01-13T11:30:00Z
  4. Bug 10085 - API timeout on large requests

    • Priority: 2
    • State: New
    • Created: 2025-01-12T14:20:00Z
  5. Bug 10082 - Login redirect fails intermittently

    • Priority: 1
    • State: Active
    • Created: 2025-01-11T10:15:00Z

Would you like to assign any of these or see more details?

Resources πŸ“š