Azure DevOps MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure DevOps MCPlist my open pull requests on Azure DevOps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Azure DevOps PRs for VS Code (MCP)
Review, draft, and check out Azure DevOps pull requests directly in GitHub Copilot Chat and VS Code AI Agents, without personal access tokens or API keys.
See It in Action
Create a Pull Request

Review a Pull Request

Related MCP server: Azure DevOps MCP Server
Key Features
Zero-configuration authentication: Uses your existing VS Code Microsoft sign-in session. No personal access tokens, client IDs, client secrets, or credentials stored on disk.
Interactive pull request reviews: Open a PR as an interactive review card with approvals, branches, changed files, comment counts, review state, and native VS Code actions.
Native diff and comments: Open changed files in VS Code's native diff editor, create line comments, and reply to Azure DevOps discussion threads.
Smart PR drafts: Let an agent prepare a local draft with a title, Markdown description, changed-file list, and reviewers before any remote change is made.
Automatic workspace discovery: Finds Azure DevOps repositories in the open workspace and identifies the active repository when possible.
Branch checkout: Check out a pull request source or target branch from the review card or through an agent.
Shared live state: Review cards and the Activity Bar stay synchronized as files are reviewed, drafts change, or comments are added.
Quick Start
Install the extension from the Visual Studio Marketplace, or run:
code --install-extension aitostack.azure-devops-prs-mcpOpen a folder containing an Azure DevOps Git repository. Keep VS Code's built-in Git extension enabled.
Open GitHub Copilot Chat or another MCP-compatible agent host. VS Code discovers the local
Azure DevOps pull requestsMCP server automatically.The extension reuses your existing Microsoft session. Only if prompted, run Azure DevOps PRs (MCP): Sign In to Azure DevOps from the Command Palette and complete the Microsoft sign-in flow.
Example Prompts
Action | Example prompt |
List PRs |
|
Review a PR |
|
Inspect a diff |
|
Add a comment |
|
Draft a PR |
|
Find work items |
|
Link work items |
|
Check out a branch |
|
MCP Tools
The extension runs a local Model Context Protocol server that gives agents access to these capabilities:
Use get_pull_request only when the user asks to display a pull request: it always opens an interactive review card. Use get_pull_request_summary for quiet inspection, reloads, and verification after a mutation; it returns JSON without opening a card. update_pull_request also returns JSON only, so existing cards refresh through their normal polling cycle rather than opening a duplicate card.
When Azure DevOps authentication is unavailable during background activity, VS Code adds a non-modal sign-in indication to the Accounts menu and shows one actionable sign-in notification every fifteen minutes at most. Agents must ask the user to run Azure DevOps PRs (MCP): Sign In to Azure DevOps once rather than invoking it or retrying it automatically.
Tool | Purpose |
| Discover Azure DevOps repositories in the current workspace. |
| List active, completed, abandoned, or all pull requests. |
| Show a pull request as an interactive review card with changed files. |
| Read a pull request as JSON without opening an interactive card. |
| Open a changed file in VS Code's native diff editor. |
| Open the matching local workspace file. |
| List discussion threads and their file and line locations. |
| Create a general or line-level Azure DevOps comment. |
| Reply to an existing discussion thread. |
| Approve a pull request as the signed-in user. |
| Check out a pull request source or target branch locally. |
| Mark a changed file as reviewed or not reviewed. |
| List work items already linked to a pull request. |
| Query project work items with agent-defined WIQL filters and ordering. |
| Link selected work items to an existing pull request after explicit confirmation. |
| Prepare an editable local pull request draft without creating a remote PR. |
| Create a remote pull request after explicit confirmation, optionally linking work items. |
| Update an active pull request's title, description, or target branch after explicit confirmation, without opening a new card. |
Pull Request Drafts
create_pull_request prepares a local draft instead of publishing immediately. Review and edit its title and description in the interactive card, then explicitly confirm before an agent calls submit_pull_request. Deleting a draft only removes its local shared state; it never deletes an Azure DevOps pull request.
Security and Privacy
Local communication: MCP communication stays on your machine and uses standard input/output.
Existing VS Code authentication: The extension requests Azure DevOps access through VS Code's Microsoft authentication provider rather than storing credentials itself.
Official SDKs: Built with the official MCP TypeScript SDK and
azure-devops-node-api.Session management: Manage or sign out of the Microsoft account through VS Code's Accounts menu. Start a new agent conversation after an expired session is refreshed.
Requirements
VS Code 1.125.0 or later
VS Code built-in Git extension enabled
GitHub Copilot Chat or another MCP-compatible agent host
Access to the relevant Azure DevOps organization and repositories
Development
npm install
npm testRun npm run compile to type-check, lint, and bundle the extension. Press F5 in VS Code to launch an Extension Development Host.
Feedback and Issues
Report bugs or request features in the GitHub repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for JFrog, providing tools for development and artifact management.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.8143-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Azure DevOps services including work items, repositories, pipelines, wikis, and test plans through a local MCP server that provides direct access to Azure DevOps REST APIs from your code editor.82,447MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that enables AI assistants to manage Azure DevOps resources including Work Items, Git repositories, pipelines, and user identities.34MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that provides tools to interact with Azure DevOps, including querying work items, repositories, pull requests, builds, commits, and creating work items via a standardized interface.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/uhvogala/azure-devops-mcp-vscode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server