Mentor MCP Server

Integrations

  • The MCP server mentions support for Fig design files in the design critique tool

  • The MCP server supports integration with Git for cloning the repository

  • The MCP server is hosted on GitHub and references GitHub in its badges

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

# Clone the repository git clone git@github.com:cyanheads/mentor-mcp-server.git cd mentor-mcp-server # Install dependencies npm install # Build the project npm run build

Configuration

Add to your MCP client settings:

{ "mcpServers": { "mentor": { "command": "node", "args": ["build/index.js"], "env": { "DEEPSEEK_API_KEY": "your_api_key", "DEEPSEEK_MODEL": "deepseek-reasoner", "DEEPSEEK_MAX_TOKENS": "8192", "DEEPSEEK_MAX_RETRIES": "3", "DEEPSEEK_TIMEOUT": "30000" } } } }

Environment Variables

VariableRequiredDefaultDescription
DEEPSEEK_API_KEYYes-Your Deepseek API key
DEEPSEEK_MODELYesdeepseek-reasonerDeepseek model name
DEEPSEEK_MAX_TOKENSNo8192Maximum tokens per request
DEEPSEEK_MAX_RETRIESNo3Number of retry attempts
DEEPSEEK_TIMEOUTNo30000Request timeout (ms)

Tools

Code Review

<use_mcp_tool> <server_name>mentor-mcp-server</server_name> <tool_name>code_review</tool_name> <arguments> { "file_path": "src/app.ts", "language": "typescript" } </arguments> </use_mcp_tool>

Design Critique

<use_mcp_tool> <server_name>mentor-mcp-server</server_name> <tool_name>design_critique</tool_name> <arguments> { "design_document": "path/to/design.fig", "design_type": "web UI" } </arguments> </use_mcp_tool>

Writing Feedback

<use_mcp_tool> <server_name>mentor-mcp-server</server_name> <tool_name>writing_feedback</tool_name> <arguments> { "text": "Documentation content...", "writing_type": "documentation" } </arguments> </use_mcp_tool>

Feature Enhancement

<use_mcp_tool> <server_name>mentor-mcp-server</server_name> <tool_name>brainstorm_enhancements</tool_name> <arguments> { "concept": "User authentication system" } </arguments> </use_mcp_tool>

Examples

Detailed examples of each tool's usage and output can be found in the examples directory:

Each example includes the request format and sample response, demonstrating the tool's capabilities and output structure.

Development

# Build TypeScript code npm run build # Start the server npm run start # Development with watch mode npm run dev # Clean build artifacts npm run clean

Project Structure

src/ ├── api/ # API integration modules ├── tools/ # Tool implementations │ ├── second-opinion/ │ ├── code-review/ │ ├── design-critique/ │ ├── writing-feedback/ │ └── brainstorm-enhancements/ ├── types/ # TypeScript type definitions ├── utils/ # Utility functions ├── config.ts # Server configuration ├── index.ts # Entry point └── server.ts # Main server implementation

License

Apache License 2.0. See LICENSE for more information.


You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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.

  1. Model Context Protocol
    1. Table of Contents
      1. Features
        1. Code Analysis
        2. Design & Architecture
        3. Content Enhancement
        4. Strategic Planning
      2. Installation
        1. Configuration
          1. Environment Variables
        2. Tools
          1. Code Review
          2. Design Critique
          3. Writing Feedback
          4. Feature Enhancement
        3. Examples
          1. Development
            1. Project Structure
              1. License

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  Provides reasoning content to MCP-enabled AI clients by interfacing with Deepseek's API or a local Ollama server, enabling focused reasoning and thought process visualization.
                  Last updated -
                  1
                  54
                  24
                  JavaScript
                • -
                  security
                  F
                  license
                  -
                  quality
                  Provides code generation and completion capabilities using the DeepSeek API, with support for tool chaining and cost optimization.
                  Last updated -
                  3
                  JavaScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  Chain of Draft Server is a powerful AI-driven tool that helps developers make better decisions through systematic, iterative refinement of thoughts and designs. It integrates seamlessly with popular AI agents and provides a structured approach to reasoning, API design, architecture decisions, code r
                  Last updated -
                  1
                  6
                  7
                  TypeScript
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP-native server that enables intelligent task delegation from advanced AI agents like Claude to more cost-effective LLMs, optimizing for cost while maintaining output quality.
                  Last updated -
                  30
                  Python
                  MIT License

                View all related MCP servers

                ID: fdyf7qsmit