npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mcp-packages/azure-devops-server

v0.2.0

Published

MCP server for self-hosted Azure DevOps Server instances — code search and repository browsing via the Model Context Protocol

Readme

Azure DevOps MCP Server

MCP server for self-hosted Azure DevOps Server instances. Provides code search, repository browsing, pull request management, and pipeline tools for AI assistants like Cursor and Claude Code.

Prerequisites

  • Node.js 18+
  • A self-hosted Azure DevOps Server 2019+ instance
  • A Personal Access Token (PAT) with Code (Read/Write) and Build (Read/Execute) scopes
  • The Code Search extension installed on your Azure DevOps instance (required for search_code)

Quick Start

No cloning or building required. Add the server directly to your AI tool's MCP configuration:

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "azure-devops": {
      "command": "npx",
      "args": ["-y", "@mcp-packages/azure-devops-server"],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://devops.company.com/DefaultCollection",
        "AZURE_DEVOPS_PAT": "your-pat-here"
      }
    }
  }
}

Claude Code

{
  "mcpServers": {
    "azure-devops": {
      "command": "npx",
      "args": ["-y", "@mcp-packages/azure-devops-server"],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://devops.company.com/DefaultCollection",
        "AZURE_DEVOPS_PAT": "your-pat-here"
      }
    }
  }
}

Global Install (alternative)

If you prefer a persistent install over npx:

npm install -g @mcp-packages/azure-devops-server

Then use "command": "azure-devops-mcp" instead of the npx command in your MCP config.

Environment Variables

| Variable | Required | Description | |---|---|---| | AZURE_DEVOPS_ORG_URL | Yes | Collection URL (e.g., https://devops.company.com/DefaultCollection) | | AZURE_DEVOPS_PAT | Yes | Personal Access Token with Code (Read/Write) and Build (Read/Execute) scopes |

Available Tools

Code & Repository Browsing

| Tool | Description | |---|---| | search_code | Full-text code search across repositories | | list_projects | List all accessible projects | | list_repositories | List repositories in a project | | get_file_content | Read file contents from a repository | | get_directory_tree | Browse directory structure | | list_branches | List branches for a repository |

Pull Request Management

| Tool | Description | |---|---| | list_pull_requests | List PRs with filters for status, creator, reviewer | | get_pull_request | Get full PR details (description, reviewers, merge status, labels) | | create_pull_request | Create a new PR with title, branches, description, and reviewers | | update_pull_request | Update PR title, description, or status (active/abandoned/completed) | | get_pr_threads | Get all comment threads on a PR with file context | | create_pr_comment | Create a comment thread or reply to an existing thread |

Pipelines & Builds

| Tool | Description | |---|---| | list_pipelines | List pipeline definitions in a project | | list_pipeline_runs | List recent builds with status/result filters | | get_pipeline_run | Get build details with full stage/job/task timeline | | get_build_log | Get build log output (defaults to last 200 lines) | | trigger_pipeline | Queue a new build for a pipeline definition |

Development

If you want to contribute or run from source:

git clone <repo-url>
cd mcp-servers
npm install
npm run build -w @mcp-packages/azure-devops-server

Then point your MCP config to the local build:

{
  "command": "node",
  "args": ["<path-to-repo>/packages/azure-devops-server/dist/index.js"]
}