Mentor MCP Server

by cyanheads
Verified

code_review

Provides a code review for a given file or code snippet, focusing on potential bugs, style issues, performance bottlenecks, and security vulnerabilities.

Input Schema

NameRequiredDescriptionDefault
code_snippetNoOptional small code snippet for quick reviews (alternative to file_path)
file_pathNoThe full path to the local file containing the code to review
languageNoThe programming language of the code

Input Schema (JSON Schema)

{ "oneOf": [ { "required": [ "file_path", "language" ] }, { "required": [ "code_snippet", "language" ] } ], "properties": { "code_snippet": { "description": "Optional small code snippet for quick reviews (alternative to file_path)", "type": "string" }, "file_path": { "description": "The full path to the local file containing the code to review", "type": "string" }, "language": { "description": "The programming language of the code", "type": "string" } }, "type": "object" }