DeepSeek MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DeepSeek MCP ServerRun a code task to implement user authentication with tests in ~/myapp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DeepSeek MCP Server & Agent Harness
Hệ thống MCP Server tích hợp DeepSeek-Flash (V4.1) với Native Agent Harness, hỗ trợ Thinking Mode (CoT) linh hoạt, TDD test runner tự động và cơ chế phản biện gắt Doubt-Driven Development.
Vị trí cài đặt
Mã nguồn Server:
~/.local/share/deepseek-mcp/server.pyMôi trường ảo (venv):
~/.local/share/deepseek-mcp/venv/Cấu hình API Key:
~/.local/share/deepseek-mcp/.envCấu hình Antigravity MCP:
~/.gemini/config/mcp_config.json
Related MCP server: MCP ToolHub
Danh sách công cụ (MCP Tools)
1. deepseek_ask
Truy vấn trực tiếp DeepSeek-Flash:
prompt(string, required): Câu hỏi hoặc yêu cầu.thinking(bool, defaultTrue): Bật/tắt suy luận CoT.effort(string:'low','high','max', default'high'): Mức độ suy luận.system_prompt(string, optional): Chỉ dẫn hệ thống tĩnh để tối ưu KV Cache.
2. deepseek_code_task
Agent Harness tự chủ thực hiện chu trình: Lập Spec (Architect CoT) -> Sửa file & chạy test (Coder ReAct) -> Tự phản biện (Doubt Gate):
workspace_dir(string, required): Đường dẫn tuyệt đối thư mục dự án.task(string, required): Mô tả bài toán cần làm.test_cmd(string, optional): Lệnh chạy test tự động (ví dụ:pytest tests/test_perf.py).thinking(bool, defaultTrue): Dùng thinking mode cho Architect và Reviewer.effort(string, default'high'): Mức độ suy luận CoT.run_adversarial_review(bool, defaultTrue): Tự động thẩm định git diff sau khi test xanh.max_turns(int, default12): Số lượt ReAct tối đa.
3. deepseek_adversarial_review
Persona phản biện độc lập (Doubt-Driven) mang tâm thế "bác bỏ, tìm cách phá hỏng code":
code_or_diff(string, required): Đoạn code hoặc git diff cần audit.context_spec(string, optional): Tài liệu yêu cầu / hợp đồng chức năng.effort(string:'high'hoặc'max', default'high').
4. deepseek_health
Kiểm tra tình trạng kết nối tới DeepSeek API, đo latency và kiểm tra token.
Chốt chặn an toàn (Guardrails)
Workspace Boundary: Chặn path traversal ra ngoài
workspace_dir.Command Blacklist: Chặn các lệnh nguy hiểm (
rm -rf /,rm -rf *,mkfs,dd,git push --force...).Git Safety Net: Tự động tạo branch tạm
deepseek/task-<timestamp>trước khi sửa mã nguồn.
Kiểm thử
Chạy toàn bộ 11 bài unit & live integration tests:
~/.local/share/deepseek-mcp/venv/bin/pytest ~/.local/share/deepseek-mcp/tests/ -vThis server cannot be deployed
Maintenance
Related MCP Connectors
Discover flat-rate DeepSeek plans, model limits, API-key instructions, and coding-client setup.
Lets coding agents check their own code for leaked secrets, risky dependencies and AI-code mistakes
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides code generation and completion capabilities using the DeepSeek API, with support for tool chaining and cost optimization.31 npm5MIT
- FlicenseAqualityAmaintenanceEnables coding agents to perform workspace-confined file operations, read-only Git inspection, and structured shell commands, while requiring out-of-band human approval for mutations and external executions and maintaining an audit trail.143-
- AlicenseNot gradedqualityBmaintenanceEnables users to delegate coding tasks in a chosen project to the official Codex and Claude CLI agents from within an existing chat, then convene a council of configured models to gather independent opinions and review the resulting files and test runs. It also manages multi-provider API connections, model catalogs, and per-task token, time, and cost limits.MIT
- AlicenseNot gradedqualityCmaintenanceLets any MCP-capable AI coding harness route code reviews and codebase questions through DeepSeek's web chat, exposing review, ask, and status tools with read-only repository access by default.MIT