Mesrai integrates with Azure DevOps via webhooks. Once configured, every pull request gets reviewed automatically.
Steps
- Create an account at mesrai.com
- Connect Azure DevOps — authorize during setup and configure your Personal Access Token
- Configure webhooks — follow the guided setup to enable pull request events
- Select repositories — choose which Azure DevOps repositories Mesrai should review
- Open a pull request — Mesrai reviews it automatically
What you get
- Automated reviews on every PR
- Comments posted directly in the pull request
- Customizable rules and suggestion controls
- Business logic validation against linked work items
Custom configuration
Drop a mesrai-config.yml in your repo root to customize behavior per repository. The file overrides web settings automatically.
Using a Personal Access Token
Azure DevOps requires a PAT for Mesrai to access your repositories and post review comments. Make sure the token has the appropriate scopes for code read and PR comment access.
For the full setup guide, see Azure DevOps Webhooks and Azure DevOps PAT.