Official DeepSeek MCP server for chat, completion, model listing, and balance endpoints.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by DeepSeek MCP Server.
chat_completiontext or visual Chat Completions, thinking controls,
create_responsestateless Responses API calls with text/images, reasoning
completionFIM completion through `/beta/completions`.
list_modelslive model discovery.
get_user_balanceaccount availability and balances.
upload_fileupload base64 JPEG, PNG, GIF, or WebP data and receive a
An MCP server for DeepSeek's current V4.1 Flash API: text and visual chat, the Responses API, FIM completion, Files API lifecycle operations, model discovery, balance checks, and bounded in-memory conversations.
Version 1.0.1 uses the stable MCP TypeScript SDK v2 and serves both the 2026-07-28 protocol and stateless legacy clients.
As of September 10, 2026:
deepseek-flash, currently DeepSeek V4.1 Flash.deepseek-v4-flash and deepseek-v4-flash-vision-exp are temporary aliases
for deepseek-flash.deepseek-v4-pro will begin serving V4.1 Flash on
September 14 until V4.1 Pro is released.deepseek-flash.“Multimodal” here means image understanding. This server does not generate images, video, or audio.
The server exposes eleven tools:
chat_completion: text or visual Chat Completions, thinking controls,
function tools, JSON output, streaming aggregation, and optional
conversation_id memory.create_response: stateless Responses API calls with text/images, reasoning
controls, function/custom tools, web search, structured output, and semantic
streaming aggregation.completion: FIM completion through /beta/completions.list_models: live model discovery.get_user_balance: account availability and balances.upload_file: upload base64 JPEG, PNG, GIF, or WebP data and receive a
reusable DeepSeek file_id.list_files: list uploaded files with cursor, order, and purpose filters.retrieve_file: retrieve metadata for one file_id.delete_file: delete one uploaded file.reset_conversation: clear one local in-memory conversation.list_conversations: list local in-memory conversation IDs.Every tool declares an MCP output schema and behavior annotations. Full
provider payloads remain opt-in through include_raw_response=true.
Node.js 20 or newer is required.
Run directly over stdio:
Codex CLI:
Claude Code:
Example MCP client configuration:
chat_completion accepts image URLs:
It also accepts a supported base64 data URL without first uploading it:
For reuse, call upload_file, then pass its returned ID:
The same uploaded file can be used with create_response:
Supported image formats are JPEG, PNG, GIF, and WebP. Detail may be low,
high, original, or auto.
upload_file accepts raw base64 or a supported image data URL. It deliberately
does not accept local file paths and does not fetch arbitrary URLs on the
server. Decoded uploads are limited to 64 MiB, and the bytes are
signature-checked before upload. Uploaded data is stored by DeepSeek under your
account; use an expiry or delete_file when it should not persist. Expiry must
be between 3,600 and 2,592,000 seconds.
Run a local HTTP endpoint:
The endpoint defaults to http://127.0.0.1:3001/mcp.
For browser clients, set an exact comma-separated origin allowlist:
Requests that include an Origin header are rejected with 403 unless the
origin is allowlisted. Native clients that omit Origin are unaffected.
A separately deployed endpoint is available at
https://deepseek-mcp.ragweld.com/mcp using
Authorization: Bearer <token>. The hosted deployment has its own release
cycle and may lag the npm/GitHub release; inspect tools/list before relying
on a newly added tool.
Required:
Optional:
CONVERSATION_MAX_MESSAGES bounds the total messages retained in the
process-local conversation store. Restarting the process clears this store.
@modelcontextprotocol/server, @modelcontextprotocol/node, and
@modelcontextprotocol/client 2.0.conversation_id memory is application state and works independently
of transport session state.deepseek-v4-flash to deepseek-flash.MCP_HTTP_STATEFUL_SESSION was removed. HTTP protocol handling is now
per-request/stateless; use conversation_id for retained chat context.include_raw_response behavior remain compatible.Credentialed smoke tests:
The live smoke covers model listing, balance, text chat, thinking streaming, Responses, FIM, visual input, and a Files upload/retrieve/list/delete lifecycle with cleanup.
io.github.DMontgomery40/deepseekdeepseek-mcp-server@1.0.1docker.io/dmontgomery40/deepseek-mcp-server:0.5.0 is the last
published image and does not contain the 1.0.1 feature set.MIT
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/deepseek-mcp-server)<a href="https://allmcps.com/mcp/deepseek-mcp-server"><img src="https://allmcps.com/api/badge/deepseek-mcp-server?style=directory" alt="DeepSeek MCP Server on AllMCPs" /></a>