A MCP server for get deepseek COT
npm install deepseek-thinker-mcpAn MCP (Model Context Protocol) based Deepseek reasoning server that supports get reasoning content from Deepseek api (OpenAI Mode) or Ollama Server, providing reasoning results to MCP-enabled AI Clients, like Claude Desktop.
- 🤖 Dual Mode Support
- OpenAI API mode support
- Ollama local mode support
- 🎯 Focused Reasoning
- Captures Deepseek's thinking process
- Provides reasoning output
originPrompt (string): User's original promptbash
API_KEY=
BASE_URL=
`$3
Set the following environment variable:
`bash
USE_OLLAMA=true
`Usage
$3
Add the following configuration to your claude_desktop_config.json:`json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "",
"BASE_URL": ""
}
}
}
}
`$3
`json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"USE_OLLAMA": "true"
}
}
}
}
`
$3
`json
{
"mcpServers": {
"deepseek-thinker": {
"command": "node",
"args": [
"/your-path/deepseek-thinker-mcp/build/index.js"
],
"env": {
"API_KEY": "",
"BASE_URL": ""
}
}
}
}
`Development Setup
`bash
Install dependencies
npm installBuild project
npm run buildRun service
node build/index.js
``- TypeScript
- @modelcontextprotocol/sdk
- OpenAI API
- Ollama
- Zod (parameter validation)
This project is licensed under the MIT License. See the LICENSE file for details.