@mcp-apps/azure-devops-mcp-server
v1.0.41
Published
A Model Context Protocol (MCP) server for Azure DevOps integration
Maintainers
Readme
Azure DevOps MCP Server
An MCP (Model Context Protocol) server that connects to your Azure DevOps organization, exposing projects, repositories, and work items as resources and providing tools for working with Azure DevOps.
Features
- Connection to Azure DevOps: Securely connects to your Azure DevOps environment using browser-based authentication.
- Project Resources: Exposes projects, repositories, and work items as resources for AI assistants to understand your Azure DevOps structure.
- Work Item Tools: Provides tools for querying and working with work items in your Azure DevOps projects.
- Repository Tools: Tools for interacting with your code repositories and pull requests.
- Project Management Tools: Tools for managing projects and teams in Azure DevOps.
Setup Instructions
Prerequisites
- VS Code (latest version recommended)
- Node.js 18.0 or higher
- npm 8.0 or higher
- Access to an Azure DevOps organization
- Proper authentication credentials for Azure DevOps
Using with GitHub Copilot in VS Code
Installation with GitHub Copilot UI
Ensure you have the GitHub Copilot extension installed in VS Code
- If not, open VS Code Extensions view (Ctrl+Shift+X)
- Search for "GitHub Copilot"
- Click "Install"
Open VS Code and the GitHub Copilot Chat panel
- Use the keyboard shortcut (Ctrl+Shift+I) or
- Click on the Copilot Chat icon in the activity bar
Select "Agent Mode" in the Copilot Chat panel.
Click on the "Tools" icon and select Add More Tools.
Click Add MCP Server tool.
Choose Command (stdio) as the tool type.
Type the following command to install and run the Azure DevOps MCP server:
npx @mcp-apps/azure-devops-mcp-serverFollow the browser authentication prompts to connect to your Azure DevOps resources.
Once authenticated, Copilot will be able to assist with Azure DevOps tasks and queries.
Available Tools
getProjects- Lists all available projects in your Azure DevOps organizationgetRepositories- Gets repositories for a specified projectgetWorkItems- Queries work items based on filters and criteriacreateWorkItem- Creates a new work item in a projectgetPullRequests- Gets pull requests for a repository with filtering options
Security Considerations
- This server only allows operations permitted by your Azure DevOps permissions
- Contains basic security measures to prevent destructive operations
- Uses Azure AD authentication for secure access
- Consider additional security measures depending on your specific requirements
License
ISC
