Skip to main content
Glama

Deepseek R1 MCP Server

Deepseek R1 MCP サーバー

Deepseek R1言語モデル用のモデルコンテキストプロトコル(MCP)サーバー実装。Deepseek R1は、8192トークンのコンテキストウィンドウを持つ推論タスクに最適化された強力な言語モデルです。

なぜNode.jsなのか?この実装では、MCPサーバーとの最も安定した統合を実現するNode.js/TypeScriptを使用しています。Node.js SDKは、より優れた型安全性、エラー処理、そしてClaude Desktopとの互換性を提供します。

クイックスタート

手動でインストールする

# Clone and install git clone https://github.com/66julienmartin/MCP-server-Deepseek_R1.git cd deepseek-r1-mcp npm install # Set up environment cp .env.example .env # Then add your API key # Build and run npm run build

前提条件

  • Node.js (v18以上)
  • npm
  • クロードデスクトップ
  • Deepseek APIキー

モデル選択

デフォルトでは、このサーバーはdeepseek-R1モデルを使用します。代わりにDeepSeek-V3を使用する場合は、 src/index.tsのモデル名を変更してください。

// For DeepSeek-R1 (default) model: "deepseek-reasoner" // For DeepSeek-V3 model: "deepseek-chat"

プロジェクト構造

deepseek-r1-mcp/ ├── src/ │ ├── index.ts # Main server implementation ├── build/ # Compiled files │ ├── index.js ├── LICENSE ├── README.md ├── package.json ├── package-lock.json └── tsconfig.json

構成

  1. .envファイルを作成します。
DEEPSEEK_API_KEY=your-api-key-here
  1. Claude Desktop の構成を更新します。
{ "mcpServers": { "deepseek_r1": { "command": "node", "args": ["/path/to/deepseek-r1-mcp/build/index.js"], "env": { "DEEPSEEK_API_KEY": "your-api-key" } } } }

発達

npm run dev # Watch mode npm run build # Build for production

特徴

  • Deepseek R1 による高度なテキスト生成 (8192 トークン コンテキスト ウィンドウ)
  • 設定可能なパラメータ(max_tokens、温度)
  • 詳細なエラーメッセージによる堅牢なエラー処理
  • 完全なMCPプロトコルサポート
  • クロードデスクトップ統合
  • DeepSeek-R1とDeepSeek-V3の両方のモデルをサポート

APIの使用

{ "name": "deepseek_r1", "arguments": { "prompt": "Your prompt here", "max_tokens": 8192, // Maximum tokens to generate "temperature": 0.2 // Controls randomness } }

温度パラメータ

temperatureのデフォルト値は 0.2 です。

Deepseek では、特定の使用例に応じてtemperatureを設定することをお勧めします。

使用事例温度
コーディング/数学0.0コード生成、数学的計算
データクリーニング/データ分析1.0データ処理タスク
一般的な会話1.3チャットと対話
翻訳1.3言語翻訳
創作 / 詩1.5物語の執筆、詩の創作

エラー処理

サーバーは、一般的な問題に関する詳細なエラー メッセージを提供します。

  • API認証エラー
  • 無効なパラメータ
  • レート制限
  • ネットワークの問題

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

マサチューセッツ工科大学

You must be authenticated.

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Deepseek R1 言語モデル用のモデル コンテキスト プロトコル サーバーの Node.js/TypeScript 実装。大きなコンテキスト ウィンドウを使用した推論タスク用に最適化されており、Claude Desktop と完全に統合されています。

  1. クイックスタート
    1. 手動でインストールする
  2. 前提条件
    1. モデル選択
      1. プロジェクト構造
        1. 構成
          1. 発達
            1. 特徴
              1. APIの使用
                1. 温度パラメータ
                  1. エラー処理
                    1. 貢献
                      1. ライセンス

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          Node.js server implementing Model Context Protocol that enables interaction with TaskWarrior through natural language to view, filter, add, and complete tasks.
                          Last updated -
                          3
                          13
                          1
                          JavaScript
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.
                          Last updated -
                          6
                          TypeScript
                          MIT License
                        • A
                          security
                          A
                          license
                          A
                          quality
                          A Model Context Protocol server that combines DeepSeek R1's reasoning capabilities with Claude 3.5 Sonnet's response generation, enabling two-stage AI processing where DeepSeek's structured reasoning enhances Claude's final outputs.
                          Last updated -
                          2
                          JavaScript
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          A Model Context Protocol server that provides DeepL translation capabilities, allowing AI assistants to translate text between supported languages via the DeepL API.
                          Last updated -
                          1
                          JavaScript
                          MIT License
                          • Apple

                        View all related MCP servers

                        MCP directory API

                        We provide all the information about MCP servers via our MCP API.

                        curl -X GET 'https://glama.ai/api/mcp/v1/servers/66julienmartin/MCP-server-Deepseek_R1'

                        If you have feedback or need assistance with the MCP directory API, please join our Discord server