How to set up the Azure DevOps MCP Server in Claude
- Install Node.js and replace {organization} in the command with your Azure DevOps organization name, such as contoso.
- Run the command in your project and check the connection with claude mcp list. On first use, sign in with an account that can access the organization.
claude mcp add --transport stdio azure-devops -- npx -y @azure-devops/mcp {organization}Trace a release across Boards and Pipelines
Azure DevOps MCP links the work item, repository, and build context that otherwise live on separate screens. Start with one ticket ID or run number. It works best when you name the organization and project, especially if several teams reuse similar pipeline names.
Check a failed validation run
Ask Claude for the current state of work item 734 and the result of the pull request’s latest validation run. Request the run ID, the first failed step, and the link to the log. Open that run in Azure Pipelines and compare the reported step and timestamp before treating the failure as diagnosed.
Choose the local or hosted setup
Microsoft documents a local Node.js server with interactive Microsoft sign-in. Its hosted endpoint uses a separate Entra configuration for Claude Code. If a hosted connection fails at sign-in, check that app registration before changing your local Azure DevOps credentials.