Deepseek MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTP_PORT | No | HTTP server port (when TRANSPORT=http) | 3000 |
| TRANSPORT | No | Transport mode: stdio or http | stdio |
| MAX_RETRIES | No | Maximum retry count for failed requests | 2 |
| MAX_SESSIONS | No | Maximum number of concurrent sessions | 100 |
| DEFAULT_MODEL | No | Default model for requests | deepseek-chat |
| SHOW_COST_INFO | No | Show cost info in responses | true |
| REQUEST_TIMEOUT | No | Request timeout in milliseconds | 60000 |
| DEEPSEEK_API_KEY | Yes | Your DeepSeek API key | |
| FALLBACK_ENABLED | No | Enable automatic model fallback on errors | true |
| DEEPSEEK_BASE_URL | No | Custom API endpoint | https://api.deepseek.com |
| ENABLE_MULTIMODAL | No | Enable multimodal (image) input support | false |
| MAX_MESSAGE_LENGTH | No | Maximum message content length (characters) | 100000 |
| SESSION_TTL_MINUTES | No | Session time-to-live in minutes | 30 |
| MAX_SESSION_MESSAGES | No | Max messages per session (sliding window) | 200 |
| SKIP_CONNECTION_TEST | No | Skip startup API connection test | false |
| CIRCUIT_BREAKER_THRESHOLD | No | Consecutive failures before circuit opens | 5 |
| CIRCUIT_BREAKER_RESET_TIMEOUT | No | Milliseconds before circuit half-opens | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| deepseek_chatA | Chat with DeepSeek V4 models. deepseek-v4-flash (fast, economical) and deepseek-v4-pro (most capable), both 1M context with optional chain-of-thought thinking mode. deepseek-chat and deepseek-reasoner are accepted as backward-compatible aliases (resolve to v4-flash). Features: multi-turn sessions (session_id), function calling (tools parameter), thinking mode, JSON output mode, multimodal input (when enabled), automatic cost tracking, and model fallback with circuit breaker resilience. |
| deepseek_fimA | Fill-in-the-Middle (FIM) completion with DeepSeek V4. Provide a prompt (prefix) and an optional suffix; the model completes the text in between. Ideal for code completion and content infilling. Runs in non-thinking mode on the Beta endpoint; output is capped at 4K tokens. Aliases deepseek-chat and deepseek-reasoner resolve to deepseek-v4-flash (FIM has no thinking mode). Includes automatic cost tracking and model fallback with circuit breaker resilience. |
| deepseek_sessionsA | Manage multi-turn conversation sessions. List active sessions, delete a specific session, or clear all sessions. Sessions store conversation history for use with the session_id parameter in deepseek_chat. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| debug_with_reasoning | Debug code issues using DeepSeek R1 reasoning model with step-by-step analysis |
| code_review_deep | Comprehensive code review analyzing quality, security, performance, and best practices |
| research_synthesis | Research a topic and synthesize information into a structured report |
| strategic_planning | Analyze options and create strategic plans with reasoning for each decision |
| explain_like_im_five | Explain complex topics in simple terms using analogies and reasoning |
| mathematical_proof | Prove mathematical statements with rigorous step-by-step reasoning |
| argument_validation | Analyze arguments for logical fallacies and reasoning errors |
| creative_ideation | Generate creative ideas with reasoning for feasibility and value |
| cost_comparison | Compare costs of different LLMs for a task and show savings with DeepSeek |
| pair_programming | Interactive coding assistant that explains reasoning for code decisions |
| function_call_debug | Debug function calling issues with DeepSeek models |
| create_function_schema | Generate JSON Schema for function calling from natural language description |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| models | List of available DeepSeek models with capabilities, context limits, and pricing information |
| config | Current server configuration including base URL, timeouts, session settings, and fallback status. API key is masked for security. |
| usage | Real-time usage statistics including total requests, token consumption, costs, active sessions, and cache hit ratio. Updated on every read. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arikusi/deepseek-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server