Azure Revisor MCP Server

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

  1. Clone the repository:
git clone git@github.com:mikhael-abdallah/mcp-revisor-server.git cd mcp-revisor-server
  1. Install dependencies:
pnpm install
  1. Set your AZURE_PAT in a .env file

Running the Project

  1. Build and run in production mode:
pnpm run build pnpm start

Adding MCP to Cursor

{ "mcpServers": { "azure-revisor": { "url": "http://localhost:3000/sse" } } }

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:

  1. Code standards:
  • Consistency with the project's coding style
  • Compliance with naming conventions
  • Appropriate use of design patterns
  1. Code quality:
  • Potential bugs or logic errors
  • Proper handling of errors and edge cases
  • Efficiency of algorithms
  • Potential security issues
  1. Best practices:
  • SOLID principles
  • Clean and readable code
  • DRY (Don't Repeat Yourself)
  • Separation of concerns
  1. Specific to this PR:

Comment format: For each issue found, make a comment on the PR using the tool:

  1. Problem identified (be specific)
  2. Suggestion for improvement (with code example when applicable)
  3. 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

-
security - not tested
F
license - not found
-
quality - not tested

A server that integrates with Cursor IDE to provide code review functionality for Azure repositories, enabling AI-powered pull request analysis and feedback.

  1. Prerequisites
    1. Installation
      1. Running the Project
        1. Adding MCP to Cursor
          1. Using
            1. License
              ID: v9fzib5rzx