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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ragingtortoise/devops-extended-mcp

v0.2.0

Published

Azure DevOps Extended MCP Server - Extended work item management with PAT authentication

Readme

Azure DevOps Extended

A Python package and Model Context Protocol (MCP) server for managing Azure DevOps work items — designed to go beyond Microsoft’s official implementation.

Integrate it with AI assistants like Claude, Cline, and GitHub Copilot via MCP, or use it as a CLI tool, or as Python API.


License: MIT Python


At a Glance

| Interface | Supported | Description | |------------|------------|-------------| | 💻 CLI Tool | ✅ | Automate DevOps work items from terminal | | 🐍 Python API | ✅ | Use in scripts and AI workflows | | 🤖 MCP Server | ✅ | Integrate with Claude, Cline, Copilot, VS Code |


🎯 Why This Exists

This repository originated as an individual tool designed to fill the functional gaps in the official Azure DevOps MCP Server. Over time, it evolved into its current state, incorporating broader capabilities and improved maintainability.

Azure DevOps Extended fills those gaps with:

  • ✅ PAT Authentication support
  • ✅ Dynamic metadata discovery for all process templates (Agile, Scrum, CMMI, Basic, or custom)
  • ✅ Validated state transitions
  • ✅ Hybrid architecture (MCP + CLI + Python API)

🚀 Features

🧩 Core Features

  • Full work item CRUD support (PBIs, Bugs, Tasks, Features, Epics)
  • PAT-based authentication
  • Hierarchical linking (parent-child)
  • Commenting and assignment
  • Multi-team support with auto-assignment
  • Real-time state tracking for AI agents

🧠 MCP Features

  • 17 available MCP tools (creation, updates, queries, metadata), many more on the way
  • Domain filtering (-d flag) — load only the tools you need
  • Dynamic metadata and schema discovery
  • Process template agnostic
  • Works seamlessly with Claude, Cline, GitHub Copilot, and VS Code

👨‍💻 Developer Features

  • CLI and Python API
  • Type-safe with complete type hints
  • Environment-based configuration
  • Smart caching with TTL
  • Integrated validation tools and tests
  • Extensible architecture for new MCP tools

⚙️ Installation

# Clone repository
git clone https://github.com/ragingtortoise/azure_devops_mcp_extended
cd azure_devops_mcp_extended

# Install dependencies
pip install -r requirements.txt

# Or install as package
pip install -e .

🔧 Configuration

Environment Variables

Set the following or create a .env file:

AZDO_ORGANIZATION=your-organization
AZDO_PROJECT=your-project
AZDO_PAT=your-personal-access-token

To get a PAT:

  1. Go to https://dev.azure.com/YOUR_ORG/_usersSettings/tokens
  2. Create a token with Work Items (Read, Write) scope
  3. Copy it and set AZDO_PAT

⚡ Quick Start

Get started in under 5 minutes:
See QUICKSTART.md for complete MCP + CLI setup.

Example (minimal MCP config for VS Code)

{
  "servers": {
    "devops-extended": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "devops_extended.mcp"],
      "env": {
        "AZDO_ORGANIZATION": "your-org",
        "AZDO_PROJECT": "your-project",
        "AZDO_PAT": "your-token"
      }
    }
  }
}

Claude Desktop Configuration

Add to:

  • macOS → ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows → %APPDATA%\\Claude\\claude_desktop_config.json
{
  "mcpServers": {
    "devops-extended": {
      "command": "python",
      "args": ["-m", "devops_extended.mcp"],
      "env": {
        "AZDO_ORGANIZATION": "your-org",
        "AZDO_PROJECT": "your-project",
        "AZDO_PAT": "your-pat"
      }
    }
  }
}

🧩 MCP Tools Overview

| Domain | Tools | Description | |---------|-------|-------------| | creation | 5 | Create PBIs, Bugs, Tasks, Features, Epics | | updates | 5 | Update titles, assign, add comments, transition, link | | queries | 2 | Get or delete work items | | metadata | 5 | Work item types, fields, states, schemas | | core | 4 | Minimal loadout for fast startup | | work-items | 12 | All creation + update + query tools |

Example domain filtering:

{
  "args": ["-m", "devops_extended.mcp", "-d", "creation", "metadata"]
}

See examples/mcp-with-domain-filtering.json for more.


🧪 Testing & Validation

Basic Setup Validation

python validate_setup.py

Checks:

  • Imports, environment, dependencies, and CLI module.

Integration Tests

python integration_tests.py

Validates:

  • Work item creation and linking
  • Field updates & state transitions
  • Advanced scenarios (bulk ops, reparenting)

⚠️ Creates real work items. Cleanup commands included.

Optional test configuration:

export TEST_TEAM=MyTeam
export [email protected]

💻 Command-Line Usage

python -m devops_extended <command> [options]
# or
devops-extended <command> [options]

Examples

# Create PBI
python -m devops_extended create-pbi "Implement OAuth2" -d "Add login flow" -p 1 -e 5 -t "auth,security"

# Create Bug
python -m devops_extended create-bug "Login button unresponsive" -r "Steps..." --severity 2 -p 1

# Update & assign
python -m devops_extended update-title 123 "New title"
python -m devops_extended assign 123 "[email protected]"
python -m devops_extended comment 123 "Work in progress"

# Change state
python -m devops_extended state 123 active

🐍 Programmatic Usage

from devops_extended import create_work_item, update_work_item, transition_state, add_comment

# Create any type of work item
bug = create_work_item("Bug", "Login fails", severity="1", priority=1, repro_steps="Click login")
story = create_work_item("User Story", "Add search", effort=5, priority=1, value_area="Business")
task = create_work_item("Task", "Write tests", activity="Testing", remaining_work=4)
custom = create_work_item("Custom Type", "My item", custom_fields={"Custom.Field": "value"})

# Update and transition
transition_state(bug['id'], "Active")
add_comment(bug['id'], "Started investigation")
update_work_item(bug['id'], {"System.Title": "Updated title"})

🤖 AI Assistant Integration

Add to .github/copilot-instructions.md:

## Azure DevOps Integration

When asked to manage Azure DevOps work items:
- Use the `devops_extended` package
- Run commands via `python -m devops_extended`
- Check for matching MCP tools before manual steps

🧭 Roadmap

  • [ ] WIQL query support
  • [ ] Pull request / repository operations
  • [ ] Work item analytics and summaries
  • [ ] AI-assisted work item ideation
  • [ ] Optional REST API layer

⚙️ Development

pip install -e .
pytest
mypy devops_extended

📚 Documentation


🧑‍💻 Author

RagingTortoise 🐢
Creator and maintainer of Azure DevOps Extended

Bringing full-featured Azure DevOps control to your terminal, scripts, and AI assistants — built for real use, ready for production.


🪪 License

MIT License © RagingTortoise