Integrates Azure DevOps work items with GitHub Copilot Chat, enabling natural language queries for sprint tickets, user stories, and work item details through conversational interface in VS Code.
Azure DevOps MCP Server
A Model Context Protocol (MCP) server that integrates Azure DevOps with GitHub Copilot Chat, allowing you to query work items naturally through conversation
π What is MCP?
Model Context Protocol (MCP) is an open standard that connects AI assistants like GitHub Copilot to external data sources. This tool implements an MCP server that:
π Connects GitHub Copilot to your Azure DevOps project
π¬ Enables natural language queries - just ask Copilot about your tickets
β‘ Provides instant responses from cached data
π Keeps your data local - no third-party services involved
Instead of switching between VS Code and Azure DevOps web portal, you can ask Copilot directly:
"Show my sprint tickets"
"Summarize ticket 13080"
"What tickets are in ACC?"
π― What This Does
This tool helps you:
Instantly view all User Stories where you have verification tasks assigned
Query cached data without API rate limits or permission prompts
Summarize tickets with full details including comments and descriptions
Track your sprint work efficiently
Stay in your IDE - no context switching needed
β¨ Key Features
π MCP Protocol Implementation - Native integration with GitHub Copilot via Model Context Protocol
π Cache-based queries - Instant responses from local cache
π Smart filtering - Automatically finds User Stories with your query
π¬ Full ticket details - Descriptions, comments, state, assignees, tags
π Sprint tracking - Focused on current sprint items only
π€ Natural language interface - Ask Copilot in plain English, no special syntax needed
π οΈ Setup
1. Prerequisites
Node.js installed
Azure DevOps personal access token
2. Configuration
Create a .env file with your credentials:
3. Install Dependencies
π How to Use
Step 1: Refresh Cache (Once per day or when needed)
This fetches all User Stories from the current sprint where you have a "Verify" task assigned. Takes ~10-30 seconds depending on the number of stories.
Output example:
Step 2: Query Your Tickets (Instant, no prompts!)
After caching, you can query instantly using GitHub Copilot Chat in VS Code:
In Copilot Chat, ask:
show all my sprint user storiessummarize ticket 13080show all tickets in status "In ACC"show tickets with tag "HIGHPRIO"
Or use the CLI:
Query Cache Commands
Available commands:
list- List all cached user storiesitem <id>- Show details for a specific ticketby-state <state>- Filter by state (Active, "In ACC", New, etc.)info- Show cache information
π¨ MCP Server Integration with GitHub Copilot
What Makes This Special?
This tool implements the Model Context Protocol (MCP), which means:
π Direct Integration - Copilot can access your Azure DevOps data as if it's a native feature
π¬ Natural Conversation - No special commands or syntax needed
β‘ Real-time Context - Copilot knows about your tickets while you code
π Secure & Local - Your data stays on your machine, accessed via your personal token
How It Works
This tells VS Code to run the MCP server when Copilot needs Azure DevOps data.
π Project Structure
π Typical Workflow
Morning: Run
npm run refreshto get today's sprint dataDuring work: Ask Copilot about tickets - instant responses from cache
Need updates? Run
npm run refreshagain
π― Why This Matters
Before this tool:
Every query required clicking "Allow" button
Interrupts your flow
Slow responses
With this tool:
Cache once, query unlimited times
No permission prompts
Instant responses in Copilot Chat
π Quick Start for Team Members
Clone/copy this folder to your machine
Create with your Azure DevOps credentials
Install dependencies:
npm install && npm run buildRefresh cache:
npm run refreshConfigure VS Code to enable MCP server (see MCP Configuration above)
Start chatting with Copilot about your tickets!
π‘ Pro Tip: Once the MCP server is running, Copilot becomes your Azure DevOps assistant. Just ask questions naturally!
π‘ Tips
Refresh cache at the start of your workday
Cache includes all comments and descriptions
Works offline once cached
Cache file is human-readable JSON (check
cache/work-items.json)
π§ Troubleshooting
"Error: azureClient.getUserStoriesWithMyVerifyTasks is not a function"
Run
npm run buildto recompile TypeScript
"Found 0 user stories"
Check your email in
.envmatches Azure DevOpsVerify you have "Verify" tasks assigned in current sprint
Cache is outdated
Run
npm run refreshto update
π License
ISC
This server cannot be installed