MCP server exposing DeepSeek V4-Pro / V4-Flash with all 10 protocol guards on. Drop into Claude Desktop / Cursor / Cline / ChatWise / Cherry Studio.
This MCP server exposes 4 tools for DeepSeek V4-Pro/Flash interaction with strong domain focus on contract enforcement and cache optimization. Tool naming is clear and verb-oriented (deepseek_chat, deepseek_chat_stream, validate_message_history, estimate_cache_hit). Descriptions are detailed and context-rich (averaging 180-280 chars), explaining the problem solved and relevant quirks. All 4 tools have input schemas with JSON Schema structure. However, critical gaps exist: (1) Parameter descriptions are sparse or missing in several cases, 'messages' arrays lack documentation of expected format/structure; (2) Output schemas are NOT documented in the tool definitions, while the descriptions mention return types, there are no formal schema definitions for response objects; (3) Error handling guidance is absent, no examples of what errors look like or how to recover; (4) Tool annotations (readOnlyHint, destructiveHint, idempotentHint) are missing despite the spec supporting them; (5) No pagination or result-limiting patterns visible for tools that return structured data. Per-tool analysis: deepseek_chat and deepseek_chat_stream have identical parameter sets but lack descriptions for most fields (model, temperature, tools, tool_choice all undescribed). estimate_cache_hit has no documentation for the 'previous_prefix' parameter or the response fields (common_prefix_tokens, eligible_cached_tokens, estimated_hit_rate, explanation). The server shows strong domain expertise but weak MCP-level tool definition maturity.
Call DeepSeek V4-Pro / V4-Flash with all 10 protocol contract rules enforced. Use this instead of raw OpenAI client to avoid the 16 documented quirks (reasoning_content lifecycle, tool-call leakage, max_tokens runaway, etc.). Returns the assistant message PLUS reasoning_content (if thinking was on) so the caller can re-send it in a multi-turn loop without 400.
Streaming variant of deepseek_chat. Aggregates stream events server-side and returns ONE final assistant message + final usage block. Recommended for long-output scenarios where the calling agent does not want to handle SSE chunking.
Approximate how many tokens of `messages` will hit DeepSeek's prefix cache compared to `previous_prefix`. No API call, uses a local tokenizer approximation. Returns {common_prefix_tokens, eligible_cached_tokens, estimated_hit_rate, explanation}. Granularity is rounded to 256-token blocks per spec §4.
Pre-flight audit. Checks a messages.json against the 5 most common contract violations. Returns {ok, violations[]} without calling the API. Useful when an agent constructs a history manually and wants to know if DeepSeek will 400 before paying for a request.
Output schemas completely undocumented. Tool descriptions mention return types (e.g., 'Returns the assistant message PLUS reasoning_content', '{common_prefix_tokens, eligible_cached_tokens, ...}') but no formal JSON Schema response definitions are provided. LLMs cannot plan downstream tool calls or extract specific fields without knowing response structure.
Parameter descriptions mostly missing or generic. 'messages' parameter (required in all tools) lacks description of expected format, whether it accepts multimodal content, role constraints, etc. 'model', 'temperature', 'tools', 'tool_choice' in deepseek_chat/deepseek_chat_stream have no descriptions. 'previous_prefix' in estimate_cache_hit undescribed. Rubric requires every parameter to have a non-empty description explaining what it controls.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | 2026-07-28+ | v2 |
No error handling guidance provided. Tool descriptions do not indicate what errors are possible (e.g., invalid model, rate limit, malformed messages), whether they are retryable, or what the LLM should do next.
Tool annotations missing. The schema does not include readOnlyHint, destructiveHint, or idempotentHint despite all tools being read-only (validated via Risk: READ_ONLY in metadata). Adding these annotations helps agents reason about retry safety and side effects.
deepseek_chat and deepseek_chat_stream differ in streaming behavior but tool descriptions do not clearly distinguish when to use each. The description says deepseek_chat_stream is 'Recommended for long-output scenarios' but provides no guidance on token limits, latency implications, or decision criteria.
Parameter 'tool_choice' in deepseek_chat/deepseek_chat_stream has type 'object' but description says 'auto | none | {type:function,function:{name:\'X\'}}', this is informal and does not match JSON Schema. Should be either a string enum ('auto', 'none') with separate object variant, or a oneOf schema. Rubric requires formal constraints to prevent LLM hallucination.
estimate_cache_hit parameter 'previous_prefix' marked optional but no guidance on what happens when omitted. Does the tool return 0% hit rate? Does it skip comparison? Rubric requires descriptions for optional params to explain the default/fallback behavior.