loading…
Search for a command to run...
loading…
A Model Context Protocol (MCP) server that provides access to DeepSeek-R1's reasoning capabilities, allowing non-reasoning models to generate better responses w
A Model Context Protocol (MCP) server that provides access to DeepSeek-R1's reasoning capabilities, allowing non-reasoning models to generate better responses with enhanced thinking.
A Model Context Protocol (MCP) server that provides access to DeepSeek-R1's reasoning capabilities, allowing non-reasoning models to generate better responses with enhanced thinking.
This server acts as a bridge between LLM applications and DeepSeek's reasoning capabilities. It exposes DeepSeek-R1's reasoning content through an MCP tool, which can be used by any MCP-compatible client.
The server is particularly useful for:
<thinking> formatClone the repository:
git clone https://github.com/yourusername/mcp-server-deepseek.git
cd mcp-server-deepseek
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install the package:
pip install -e .
Create a .env file with your DeepSeek API credentials:
cp .env.example .env
Edit the .env file with your API key and model details:
MCP_SERVER_DEEPSEEK_MODEL_NAME=deepseek-reasoner
MCP_SERVER_DEEPSEEK_API_KEY=your_api_key_here
MCP_SERVER_DEEPSEEK_API_BASE_URL=https://api.deepseek.com
You can run the server directly:
mcp-server-deepseek
Or use the development mode with the MCP Inspector:
make dev
The server exposes a single tool:
think_with_deepseek_r1This tool sends a prompt to DeepSeek-R1 and returns its reasoning content.
Arguments:
prompt (string): The full user prompt to processReturns:
<thinking> tagsWhen used with Claude or another LLM that supports MCP, you can trigger the thinking process by calling the tool:
Please use the think_with_deepseek_r1 tool with the following prompt:
"How can I optimize a neural network for time series forecasting?"
For development and testing, use the MCP Inspector:
npx @modelcontextprotocol/inspector uv run mcp-server-deepseek
Logs are stored in ~/.cache/mcp-server-deepseek/server.log
The log level can be configured using the LOG_LEVEL environment variable (defaults to DEBUG).
.env fileCheck the logs for detailed error messages:
cat ~/.cache/mcp-server-deepseek/server.log
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
Выполни в терминале:
claude mcp add mcp-server-deepseek -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.