ND

newideas99/deepseek-thinking-claude-3.5-sonnet-cline-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

115 stars 31 forks 品質 72 トレンド 0MIT

newideas99/deepseek-thinking-claude-3.5-sonnet-cline-mcp は、https://github.com/newideas99/deepseek-thinking-claude-3.5-sonnet-cline-mcp. からインポートされたMCPサーバー候補です。

概要

newideas99/deepseek-thinking-claude-3.5-sonnet-cline-mcp は、https://github.com/newideas99/deepseek-thinking-claude-3.5-sonnet-cline-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

DeepSeek R1の推論機能とClaude 3.5 SonnetのOpenRouterを通じたレスポンス生成を組み合わせたモデルコンテキストプロトコル(MCP)サーバーです。この実装は2段階のプロセスを用いており、DeepSeekは構造化された推論を提供し、それをClaudeのレスポンス生成に組み込みます。

特徴

  • 二段階処理:

  • 初期推論にDeepSeek R1を使用(50,000文字のコンテキスト)

  • 最終応答にClaude 3.5 Sonnetを使用(60万文字の文脈)

  • 両モデルともOpenRouterの統一APIを通じてアクセス可能

  • DeepSeekの推論トークンをクロードの文脈に注入する

  • スマートな会話管理:

  • ファイル編集時間を使って進行中の会話を検出

  • 複数の同時会話を処理

  • 終了した会話を自動的にフィルタリングする

  • 必要に応じてコンテキストクリアリングをサポート

  • 最適化パラメータ:

  • モデル固有のコンテキスト制限:

  • DeepSeek:集中した推論のための50,000文字
  • クロード:包括的な回答には60万文字
  • 推奨設定:
  • 温度:0.7 でバランスの取れた創造性
  • top_p:全確率分布は1.0
  • repetition_penalty:重複防止のため1.0

設置

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP

A Model Context Protocol (MCP) server that combines DeepSeek R1’s reasoning capabilities with Claude 3.5 Sonnet’s response generation through OpenRouter. This implementation uses a two-stage process where DeepSeek provides structured reasoning which is then incorporated into Claude’s response generation.

Features

  • Two-Stage Processing:

    • Uses DeepSeek R1 for initial reasoning (50k character context)
    • Uses Claude 3.5 Sonnet for final response (600k character context)
    • Both models accessed through OpenRouter’s unified API
    • Injects DeepSeek’s reasoning tokens into Claude’s context
  • Smart Conversation Management:

    • Detects active conversations using file modification times
    • Handles multiple concurrent conversations
    • Filters out ended conversations automatically
    • Supports context clearing when needed
  • Optimized Parameters:

    • Model-specific context limits:
      • DeepSeek: 50,000 characters for focused reasoning
      • Claude: 600,000 characters for comprehensive responses
    • Recommended settings:
      • temperature: 0.7 for balanced creativity
      • top_p: 1.0 for full probability distribution
      • repetition_penalty: 1.0 to prevent repetition

Installation

Installing via Smithery

To install DeepSeek Thinking with Claude 3.5 Sonnet for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP --client claude

Manual Installation

  1. Clone the repository:
git clone https://github.com/yourusername/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP.git
cd Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP
  1. Install dependencies:
npm install
  1. Create a .env file with your OpenRouter API key:
# Required: OpenRouter API key for both DeepSeek and Claude models
OPENROUTER_API_KEY=your_openrouter_api_key_here

# Optional: Model configuration (defaults shown below)
DEEPSEEK_MODEL=deepseek/deepseek-r1  # DeepSeek model for reasoning
CLAUDE_MODEL=anthropic/claude-3.5-sonnet:beta  # Claude model for responses
  1. Build the server:
npm run build

Usage with Cline

Add to your Cline MCP settings (usually in ~/.vscode/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{
  "mcpServers": {
    "deepseek-claude": {
      "command": "/path/to/node",
      "args": ["/path/to/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP/build/index.js"],
      "env": {
        "OPENROUTER_API_KEY": "your_key_here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Tool Usage

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "deepseek-claude": { "command": "/path/to/node", "args": ["/path/to/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP/build/index.js"], "env": { "OPENROUTER_API_KEY": "your_key_here" }, "disabled": false, "autoApprove": [] } } }