DeepSeek MCP Server

DeepSeek MCP Server

Model Context Protocol server integrating DeepSeek's advanced language models, in addition to other useful API endpoints

283
Stars
37
Forks
1
Releases

Overview

A Model Context Protocol (MCP) server for the DeepSeek API, enabling seamless integration of DeepSeek's advanced language models with MCP-compatible applications such as Claude Desktop. The server supports anonymous usage by routing requests through a proxy, so only a proxy is seen on the far side. It can be installed via Smithery or npm and configured for Claude Desktop, including an example claude_desktop_config.json snippet. It exposes resources to discover available models and configurations, and to retrieve or modify settings such as custom model selection, temperature, max tokens, Top P, presence penalty, and frequency penalty. Automatic model fallback is provided: if the primary model (deepseek-reasoner / R1) is down, the server automatically falls back to the secondary model (deepseek-chat / V3), with easy switch prompts to alternate between them. Enhanced multi-turn conversation support preserves complete history and settings for long-running interactions, training/fine-tuning data generation, and complex dialogues. Local testing is supported via MCP Inspector (build, run, test chat completions, debug, monitor). By default, the server uses the DeepSeek R1 model for reasoning and general tasks while providing access to model/config resources.

Details

Owner
DMontgomery40
Language
JavaScript
License
MIT License
Updated
2025-12-07

Features

Natural language to MCP actions

Maps user natural language requests to configuration changes and exposes model lists and settings via MCP resources (e.g., models and model-config).

Automatic model fallback

If the primary model (deepseek-reasoner / R1) is down, automatically falls back to the secondary model (deepseek-chat / V3); users can switch explicitly via prompts.

Resource discovery and configuration

Supports discovery of available models and configuration options, including custom model selection and parameters like temperature, max tokens, Top P, presence penalty, and frequency penalty.

Enhanced multi-turn conversation

Maintains complete history and context across exchanges, preserving configuration settings for long-running dialogues and complex interaction flows.

Anonymous/proxy-based usage

Allows anonymous use of the DeepSeek API by routing through a proxy, ensuring client-side visibility is minimized.

Claude Desktop integration

Configured to work with Claude Desktop via claude_desktop_config.json and compatible installation methods (e.g., Smithery).

MCP Inspector testing workflow

Includes guidance to build, run, and test the server locally with MCP Inspector for debugging and performance monitoring.

Audience

MCP developersBuild MCP-compatible apps or integrations that leverage DeepSeek LMs via the MCP server.
Claude Desktop usersIntegrate DeepSeek models with Claude Desktop through MCP server configuration.
AI/ML teamsUtilize multi-turn capabilities and configuration discovery for complex interactions and experiments.

Tags

MCPDeepSeekClaude Desktoplanguage modelproxymulti-turnmodel discoveryconfigTop Ptemperaturepresence_penaltyfrequency_penaltyMCP Inspector