Skip to main content
Glama
sepal7
by sepal7

MCP Server for Azure DevOps

A comprehensive Model Context Protocol (MCP) server that provides AI assistants with full access to Azure DevOps services.

License: MIT Node.js

πŸš€ Quick Install

# Clone the repository git clone https://github.com/sepal7/mcp-ado.git cd mcp-ado # Install dependencies npm install # Create .env file cp .env.example .env # Edit .env with your Azure DevOps credentials # Test the connection npm run test-connection

Then configure your IDE (see Installation section below).

πŸ“¦ Available Tools (25+)

Wiki (3 tools)

  • get_wiki_page - Retrieve wiki page by ID or path

  • list_wiki_pages - List all wiki pages in a project

  • search_wiki_pages - Search wiki pages by content or title

Repositories (5 tools)

  • list_repos - List all repositories

  • get_repo - Get repository details

  • get_repo_file - Get file content from repository

  • list_repo_branches - List branches in a repository

  • search_code - Search code across repositories

Work Items (5 tools)

  • get_work_item - Get work item by ID

  • get_work_items - Get multiple work items

  • query_work_items - Query work items using WIQL

  • create_work_item - Create new work item

  • update_work_item - Update existing work item

Pull Requests (3 tools)

  • list_pull_requests - List pull requests

  • get_pull_request - Get pull request details

  • get_pr_comments - Get PR review comments

Builds & Pipelines (4 tools)

  • list_builds - List recent builds

  • get_build - Get build details

  • list_pipelines - List pipelines

  • get_pipeline_run - Get pipeline run details

Releases (2 tools)

  • list_releases - List releases

  • get_release - Get release details

Test Plans (2 tools)

  • list_test_plans - List test plans

  • get_test_plan - Get test plan details

Generic (1 tool)

  • ado_api_call - Make any Azure DevOps REST API call

🌟 Comparison with Similar Projects

Feature

This Project

Other MCP ADO Servers

Total Tools

25+

5-15

Wiki Support

βœ… Yes (3 tools)

❌ Limited/None

Multi-Project

βœ… Built-in

❌ Single project

WIQL Queries

βœ… Yes

❌ No

Generic API Tool

βœ… Yes

❌ No

Helper Scripts

βœ… PAT management

❌ No

Documentation

βœ… Comprehensive

⚠️ Basic

Key Differentiators:

  • Most comprehensive tool coverage (25+ vs 5-15)

  • Multi-project support without reconfiguration

  • Advanced features (WIQL queries, generic API tool)

  • Better developer experience (helper scripts, comprehensive docs)

✨ Features

  • 25+ MCP Tools covering all major Azure DevOps services

  • Multi-Project Support - Access any project in your organization without reconfiguration

  • WIQL Query Support - Advanced work item querying using Work Item Query Language

  • Generic API Tool - Make any Azure DevOps REST API call for future-proof extensibility

  • Helper Scripts - Automated PAT token management and connection testing

  • Comprehensive Documentation - Step-by-step guides for Cursor, VS Code, and deployment

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ installed

  • Azure DevOps Personal Access Token (PAT) with appropriate permissions

  • VS Code with GitHub Copilot Chat extension, VS Code Insiders, or Cursor IDE

Installation

πŸ“¦ Install from Source

# Clone the repository git clone https://github.com/sepal7/mcp-ado.git cd mcp-ado # Install dependencies npm install # Create .env file cp .env.example .env # Edit .env with your values: # AZURE_DEVOPS_ORG=YourOrganization # AZURE_DEVOPS_PROJECT=YourProject # AZURE_DEVOPS_PAT=your_pat_token_here # Test the connection npm run test-connection

Then configure manually (see detailed guides below).

For detailed setup instructions, see:

🎯 Usage Examples

Once configured, use natural language to interact with Azure DevOps:

Default Project:

  • "List all repositories"

  • "Get work item #12345"

  • "Show me pull requests"

Other Projects:

  • "List repositories in the [ProjectName] project"

  • "Get work items from the [ProjectName] project"

All tools support an optional project parameter to access any project in your organization.

βš™οΈ Configuration

Environment Variables

Variable

Required

Description

AZURE_DEVOPS_ORG

Yes

Your Azure DevOps organization name

AZURE_DEVOPS_PROJECT

Yes

Default project name

AZURE_DEVOPS_PAT

Yes

Personal Access Token

APPLICATIONINSIGHTS_CONNECTION_STRING

No

Optional telemetry connection string

Multi-Project Support

All MCP tools support an optional project parameter. When using Cursor or VS Code, mention the project name in your request:

"List repositories in the [ProjectName] project"

The AI assistant automatically extracts the project name and passes it to the MCP tool.

πŸ“ Project Structure

mcp-ado/ β”œβ”€β”€ server.js # Main MCP server implementation β”œβ”€β”€ package.json # Node.js dependencies and scripts β”œβ”€β”€ .env.example # Environment variables template β”œβ”€β”€ README.md # This file β”‚ β”œβ”€β”€ docs/ # Documentation β”‚ β”œβ”€β”€ 01-SETUP.md # General setup guide β”‚ β”œβ”€β”€ 02-CURSOR-SETUP.md # Cursor IDE setup β”‚ β”œβ”€β”€ 03-VSCODE-SETUP.md # VS Code setup β”‚ β”œβ”€β”€ 04-PAT-MANAGEMENT.md # PAT token management β”‚ β”œβ”€β”€ 05-RESTART-SERVER.md # How to restart server β”‚ β”œβ”€β”€ 07-CHANGELOG.md # Version history β”‚ └── 08-ONPREMISE-WINDOWS-IIS.md # On-premise deployment β”‚ β”œβ”€β”€ scripts/ # Utility scripts β”‚ β”œβ”€β”€ test.js # Basic server tests β”‚ β”œβ”€β”€ test-connection.js # Azure DevOps connection tester β”‚ └── update-pat.ps1 # PAT token updater script β”‚ └── azure/ # Azure deployment files β”œβ”€β”€ README.md # Azure deployment guide β”œβ”€β”€ Dockerfile # Container image definition └── azure-deploy.bicep # Infrastructure as code

πŸ“š Documentation

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

MIT License - see LICENSE file for details

πŸ™ Credits


Made with ❀️ for the MCP community

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sepal7/mcp-ado'

If you have feedback or need assistance with the MCP directory API, please join our Discord server