Skip to main content
Glama

メンターMCPサーバー

タイプスクリプト モデルコンテキストプロトコルバージョンライセンス状態 GitHub

モデルコンテキストプロトコルサーバーは、AIを活用したDeepseek推論(R1)メンターシップ機能を通じてLLMエージェントにセカンドオピニオンを提供します。これには、コードレビュー、設計批評、ライティングフィードバック、Deepseek APIを介したアイデアブレインストーミングなどが含まれます。専門家によるセカンドオピニオンと実用的な洞察を活用して、LLMエージェントを成功へと導きます。

モデルコンテキストプロトコル

モデル コンテキスト プロトコル (MCP) は、次の間の通信を可能にします。

  • クライアント: Claude Desktop、IDE、およびその他の MCP 互換クライアント

  • サーバー: タスク管理と自動化のためのツールとリソース

  • LLMエージェント:サーバーの機能を活用するAIモデル

Related MCP server: DSH Crew

目次

特徴

コード分析

  • 包括的なコードレビュー

  • バグの検出と防止

  • スタイルとベストプラクティスの評価

  • パフォーマンス最適化の提案

  • セキュリティ脆弱性評価

デザインと建築

  • UI/UXデザイン批評

  • アーキテクチャ図分析

  • デザインパターンの推奨事項

  • アクセシビリティ評価

  • 一貫性チェック

コンテンツの強化

  • ライティングのフィードバックと改善

  • 文法とスタイルの分析

  • ドキュメントレビュー

  • コンテンツの明確さの評価

  • 構造に関する推奨事項

戦略計画

  • 機能強化のブレインストーミング

  • アプローチに関するセカンドオピニオン

  • イノベーションの提案

  • 実現可能性分析

  • ユーザー価値評価

インストール

# 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

構成

MCP クライアント設定に追加:

{
  "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"
      }
    }
  }
}

環境変数

変数

必須

デフォルト

説明

ディープシークAPIキー

はい

-

Deepseek APIキー

ディープシークモデル

はい

ディープシーク推論器

Deepseekモデル名

ディープシーク_最大_トークン

いいえ

8192

リクエストあたりの最大トークン数

ディープシーク_MAX_RETRIES

いいえ

3

再試行回数

ディープシークタイムアウト

いいえ

30000

リクエストタイムアウト(ミリ秒)

ツール

コードレビュー

<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>

デザイン批評

<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>

ライティングフィードバック

<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>

機能強化

<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ディレクトリにあります。

各例には、ツールの機能と出力構造を示すリクエスト形式とサンプル応答が含まれています。

発達

# 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

プロジェクト構造

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

ライセンス

Apache License 2.0。詳細についてはLICENSEを参照してください。


Available Tools

5 tools
brainstorm_enhancementsC

Generates creative ideas for improving a given concept, product, or feature, focusing on innovation, feasibility, and user value.

Inputs: concept (required).

code_reviewC

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

Inputs: file_path, language, code_snippet.

design_critiqueB

Offers a critique of a design document, UI/UX mockup, or architectural diagram, focusing on usability, aesthetics, consistency, accessibility, and potential design flaws.

Inputs: design_document (required), design_type (required).

second_opinionC

Provides a second opinion on a user's request by analyzing it with an LLM and listing critical considerations.

Inputs: user_request (required).

writing_feedbackC

Provides feedback on a piece of writing, such as an essay, article, or technical documentation, focusing on clarity, grammar, style, structure, and overall effectiveness.

Inputs: text (required), writing_type (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting different domains: brainstorming, code review, design critique, second opinions, and writing feedback. There is no overlap in functionality, making it easy for an agent to select the appropriate tool without confusion.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with a clear verb_noun structure (e.g., brainstorm_enhancements, code_review). This predictability enhances usability and aligns with common MCP conventions.

    Tool Count5/5

    With 5 tools, the server is well-scoped for its mentoring/feedback purpose. Each tool serves a unique and valuable function, avoiding bloat while covering key areas like code, design, writing, and idea generation.

    Completeness4/5

    The toolset covers major feedback domains (code, design, writing, brainstorming) and includes a general second_opinion tool. A minor gap is the lack of a tool for project management or strategic planning feedback, but core mentoring workflows are well-supported.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables dispatching tasks from coding hosts such as Claude Code, Codex, Antigravity and Grok to DeepSeek Harness agents that appear as native subagents with live progress, tier/effort policy, escalation, and workspace guardrails. Also lends text-only harnesses vision and image generation through DeepSeek VL models or existing CLIs.
      354 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables coding hosts like Claude Code, Codex, Antigravity and Grok to dispatch work to DeepSeek Harness agents that appear as native subagents with live progress, tier/effort policy, escalation on failure, workspace guardrails and a jobs board. Also lends text-only harnesses vision and image generation via DeepSeek's VL model, the host's existing CLIs, or custom OpenAI-compatible endpoints.
      354 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables hosts like Claude Code, Codex, Antigravity and Grok to dispatch tasks to DeepSeek Harness agents while still showing them as native subagents with live progress, tier/effort presets, escalation, dispatch guardrails and a jobs board. Also lends text-only harnesses vision and image generation through DeepSeek's VL model or existing CLIs and custom OpenAI-compatible endpoints.
      354 npm
      MIT