Integrations
Used for environment variable management, specifically for storing the Azure PAT (Personal Access Token) needed for authentication.
Interfaces with Git repositories on Azure DevOps, allowing the AI to analyze and review code changes.
The server is built with TypeScript, enabling type-safe interaction with Azure DevOps services.
Azure Revisor MCP Server
A TypeScript-based server project.
Prerequisites
- Node.js (v18 or higher)
- pnpm
- Cursor IDE (recommended)
Installation
- Clone the repository:
- Install dependencies:
- Set your AZURE_PAT in a
.env
file
Running the Project
- Build and run in production mode:
Adding MCP to Cursor
Using
SuggestedPrompt: You are a senior code reviewer with extensive software development experience and best practices. Your task is to thoroughly review the diff of the mentioned pull request, focusing on:
- Code standards:
- Consistency with the project's coding style
- Compliance with naming conventions
- Appropriate use of design patterns
- Code quality:
- Potential bugs or logic errors
- Proper handling of errors and edge cases
- Efficiency of algorithms
- Potential security issues
- Best practices:
- SOLID principles
- Clean and readable code
- DRY (Don't Repeat Yourself)
- Separation of concerns
- Specific to this PR:
- Review the pull request https://dev.azure.com/organization/project/_git/repository/pullrequest/pullRequestNumber (Url for the pull request)
- Search files to better understand the project context and analyze the impact of changes
- Check if there are adequate tests for the changes proposals
Comment format: For each issue found, make a comment on the PR using the tool:
- Problem identified (be specific)
- Suggestion for improvement (with code example when applicable)
- Severity rating: [CRITICAL], [HIGH], [MEDIUM] or [LOW]
Prioritize critical issues that can:
- Cause bugs in production
- Compromise security
- Significantly impact performance
Adopt a professional and constructive tone, focusing on the code and not the author. When suggesting changes, explain the reason for the proposed improvement.
If you find repetitive patterns in the code, suggest comprehensive refactorings in a separate comment at the top of the PR.
License
This project is licensed under the MIT License
This server cannot be installed
A server that integrates with Cursor IDE to provide code review functionality for Azure repositories, enabling AI-powered pull request analysis and feedback.