
kamelirzouni/mcp-server-deepseek_r1
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
kamelirzouni/mcp-server-deepseek r1는 MCP 서버 후보가 https://github.com/kamelirzouni/mcp-server-deepseek_r1.에서 수입됩니다
개요
kamelirzouni/mcp-server-deepseek r1는 MCP 서버 후보가 https://github.com/kamelirzouni/mcp-server-deepseek_r1.에서 수입됩니다
개요(AI 번역)
Deepseek R1 언어 모델의 모델 Context Protocol (MCP) 서버 구현. Deepseek R1은 8192 토큰의 컨텍스트 창으로 작업하는 데 최적화 된 강력한 언어 모델입니다.
왜 Node.js? 이 구현은 Node.js/TypeScript를 사용하여 MCP 서버와 가장 안정적인 통합을 제공합니다. Node.js SDK는 Claude 데스크톱과 더 나은 유형의 안전, 오류 처리 및 호환성을 제공합니다.
빠른 시작
수동 설치
필수품
- Node.js (v18 이상)
- 시간
- Claude 데스크탑
- Deepseek API 키
모델 선택
기본적으로 이 서버는 deepseek-R1 모델을 사용합니다. 대신 DeepSeek-V3를 사용하고 싶다면, src/index.ts에서 모델명을 수정하십시오:
프로젝트 구조
구성
-
.env파일 만들기: -
업데이트 Claude 데스크탑 구성:
개발
특징
- Deepseek R1 (8192 토큰 컨텍스트 창)로 고급 텍스트 생성
- 구성 파라미터 (max tokens, 온도)
- 상세한 오류 메시지와 Robust 오류 처리
- Full MCP 프로토콜 지원
- Claude 데스크탑 통합
- DeepSeek-R1 및 DeepSeek-V3 모델 모두 지원
API 사용
온도 모수
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Deepseek R1 MCP Server
A Model Context Protocol (MCP) server implementation for the Deepseek R1 language model. Deepseek R1 is a powerful language model optimized for reasoning tasks with a context window of 8192 tokens.
Why Node.js? This implementation uses Node.js/TypeScript as it provides the most stable integration with MCP servers. The Node.js SDK offers better type safety, error handling, and compatibility with Claude Desktop.
Quick Start
Installing manually
# 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
Prerequisites
- Node.js (v18 or higher)
- npm
- Claude Desktop
- Deepseek API key
Model Selection
By default, this server uses the deepseek-R1 model. If you want to use DeepSeek-V3 instead, modify the model name in src/index.ts:
// For DeepSeek-R1 (default)
model: "deepseek-reasoner"
// For DeepSeek-V3
model: "deepseek-chat"
Project Structure
deepseek-r1-mcp/
├── src/
│ ├── index.ts # Main server implementation
├── build/ # Compiled files
│ ├── index.js
├── LICENSE
├── README.md
├── package.json
├── package-lock.json
└── tsconfig.json
Configuration
- Create a
.envfile:
DEEPSEEK_API_KEY=your-api-key-here
- Update Claude Desktop configuration:
{
"mcpServers": {
"deepseek_r1": {
"command": "node",
"args": ["/path/to/deepseek-r1-mcp/build/index.js"],
"env": {
"DEEPSEEK_API_KEY": "your-api-key"
}
}
}
}
Development
npm run dev # Watch mode
npm run build # Build for production
Features
- Advanced text generation with Deepseek R1 (8192 token context window)
- Configurable parameters (max_tokens, temperature)
- Robust error handling with detailed error messages
- Full MCP protocol support
- Claude Desktop integration
- Support for both DeepSeek-R1 and DeepSeek-V3 models
API Usage
{
"name": "deepseek_r1",
"arguments": {
"prompt": "Your prompt here",
"max_tokens": 8192, // Maximum tokens to generate
"temperature": 0.2 // Controls randomness
}
}
The Temperature Parameter
The default value of temperature is 0.2.
Deepseek recommends setting the temperature according to your specific use case:
| USE CASE | TEMPERATURE | EXAMPLE |
|---|---|---|
| Coding / Math | 0.0 | Code generation, mathematical calculations |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"deepseek_r1": {
"command": "node",
"args": ["/path/to/deepseek-r1-mcp/build/index.js"],
"env": {
"DEEPSEEK_API_KEY": "your-api-key"
}
}
}
}