DeepSeek MCP 服务器
通过集成 DeepSeek R1 的高级推理引擎,增强 Claude 的推理能力。
快速入门指南
前置条件
- Python 3.12 或更高版本
uv
包管理器- INFINI_API_KEY(在 无问芯穹 注册获取)
安装步骤
-
克隆仓库: git clone https://github.com/moyu6027/deepseek-MCP-server.git cd deepseek-MCP-server
-
设置
uv
:- Windows: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- Mac: curl -LsSf https://astral.sh/uv/install.sh | sh
-
创建虚拟环境: uv venv source .venv/bin/activate
-
安装依赖: uv add "mcp[cli]" httpx
-
配置 API 密钥: echo "INFINI_API_KEY=your_key_here" > .env
-
安装服务器: mcp install server.py -f .env
-
配置服务器: 编辑
claude_desktop_config.json
文件,添加如下内容: { "mcpServers": { "deepseek-mcp": { "command": "uv", "args": [ "--directory", "PATH_TO_DEEPSEEK_MCP_SERVER", "run", "server.py" ] } } } -
启动服务器: uv run server.py