Mentor MCP Server
mentor-mcp-server
A Model Context Protocol server providing LLM Agents a second opinion via AI-powered Deepseek-Reasoning (R1) mentorship capabilities, including code review, design critique, writing feedback, and idea brainstorming through the Deepseek API. Set your LLM Agent up for success with expert second opinions and actionable insights.
Model Context Protocol
The Model Context Protocol (MCP) enables communication between:
- Clients: Claude Desktop, IDEs, and other MCP-compatible clients
- Servers: Tools and resources for task management and automation
- LLM Agents: AI models that leverage the server's capabilities
Table of Contents
Features
Code Analysis
- Comprehensive code reviews
- Bug detection and prevention
- Style and best practices evaluation
- Performance optimization suggestions
- Security vulnerability assessment
Design & Architecture
- UI/UX design critiques
- Architectural diagram analysis
- Design pattern recommendations
- Accessibility evaluation
- Consistency checks
Content Enhancement
- Writing feedback and improvement
- Grammar and style analysis
- Documentation review
- Content clarity assessment
- Structural recommendations
Strategic Planning
- Feature enhancement brainstorming
- Second opinions on approaches
- Innovation suggestions
- Feasibility analysis
- User value assessment
Installation
Configuration
Add to your MCP client settings:
Environment Variables
Variable | Required | Default | Description |
---|---|---|---|
DEEPSEEK_API_KEY | Yes | - | Your Deepseek API key |
DEEPSEEK_MODEL | Yes | deepseek-reasoner | Deepseek model name |
DEEPSEEK_MAX_TOKENS | No | 8192 | Maximum tokens per request |
DEEPSEEK_MAX_RETRIES | No | 3 | Number of retry attempts |
DEEPSEEK_TIMEOUT | No | 30000 | Request timeout (ms) |
Tools
Code Review
Design Critique
Writing Feedback
Feature Enhancement
Examples
Detailed examples of each tool's usage and output can be found in the examples directory:
- Second Opinion Example - Analysis of authentication system requirements
- Code Review Example - Detailed TypeScript code review with security and performance insights
- Design Critique Example - Comprehensive UI/UX feedback for a dashboard design
- Writing Feedback Example - Documentation improvement suggestions
- Brainstorm Enhancements Example - Feature ideation with implementation details
Each example includes the request format and sample response, demonstrating the tool's capabilities and output structure.
Development
Project Structure
License
Apache License 2.0. See LICENSE for more information.
<div align="center"> Built with the Model Context Protocol </div>
You must be authenticated.
Provides LLM Agents with AI-powered mentorship for code review, design critique, writing feedback, and brainstorming using the Deepseek API, enabling enhanced output in various development and strategic planning tasks.