Returns DeepSeek reasoning (chain of thought) to MCP clients, from the DeepSeek API or a local Ollama server.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add deepseek-thinker --env API_KEY='<API_KEY>' --env BASE_URL='<BASE_URL>' -- npx -y deepseek-thinker-mcp~/.codex/config.toml
[mcp_servers.deepseek-thinker]
command = "npx"
args = ["-y", "deepseek-thinker-mcp"]
env = { API_KEY = "<API_KEY>", BASE_URL = "<BASE_URL>" }
# codex mcp add deepseek-thinker --env API_KEY='<API_KEY>' --env BASE_URL='<BASE_URL>' -- npx -y deepseek-thinker-mcp~/.cursor/mcp.json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "<API_KEY>",
"BASE_URL": "<BASE_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"deepseek-thinker": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "<API_KEY>",
"BASE_URL": "<BASE_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "<API_KEY>",
"BASE_URL": "<BASE_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "<API_KEY>",
"BASE_URL": "<BASE_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"deepseek-thinker": {
"command": "npx",
"args": [
"-y",
"deepseek-thinker-mcp"
],
"env": {
"API_KEY": "<API_KEY>",
"BASE_URL": "<BASE_URL>"
}
}
}
}Environment variables
API_KEYBASE_URL
Replace the placeholders with your own credentials and keep them out of version control.