MCP Server for Azure DevOps

MCP Server for Azure DevOps

Provides AI assistants with comprehensive access to Azure DevOps services including work items, repositories, pull requests, wikis, builds, pipelines, and test plans through 25+ MCP tools with multi-project support.

Category
Visit Server

README

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured