Deepseek R1 MCP 服务器

Deepseek R1 MCP 服务器

Deepseek R1 模型的 MCP 服务器实现,支持推理任务和 Claude Desktop 集成。

快速开始

使用 Smithery 安装

运行以下命令自动安装: npx -y @smithery/cli install @66julienmartin/mcp-server-deepseek_r1 --client claude

手动安装

  1. 克隆仓库并安装依赖: git clone https://github.com/66julienmartin/MCP-server-Deepseek_R1.git cd deepseek-r1-mcp npm install
  2. 设置环境变量: cp .env.example .env 编辑 .env 文件,添加 Deepseek API 密钥。
  3. 构建并运行: npm run build node build/index.js

配置

在 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 启动开发模式。 使用 npm run build 构建生产版本。