Skip to main content
Glama
kira4094

DeepSeek Subagent MCP Server

by kira4094

DeepSeek Subagent MCP Server

一个 MCP 服务器,可让 Codex(或任意 MCP 客户端)将子任务委托给 DeepSeek 作为子代理。 单一工具 deepseek_task:给它一个任务(+可选上下文),返回 DeepSeek 的最终回答。

功能

  • 🧠 单一工具 deepseek_task — 委托独立工作(研究/起草/审查/重构/分析)

  • 💰 默认使用 deepseek-v4-flash(高性价比),可通过环境变量切换到 deepseek-v4-pro

  • 🔍 将 reasoning_content(V4 思考模式)以 <thinking> 块形式呈现

  • ⚡ 无非 MCP 依赖,一行 npx 命令即可部署

Related MCP server: deepseek-mcp

要求

安装与运行

cd deepseek-subagent-mcp-server
npm install
npm start

环境变量

变量

必填

默认值

说明

DEEPSEEK_API_KEY

你的 DeepSeek API 密钥。

DEEPSEEK_MODEL

deepseek-v4-flash

模型。也可设为 deepseek-v4-pro

DEEPSEEK_BASE_URL

https://api.deepseek.com

覆盖 API 端点(适用于代理)。

DEEPSEEK_MAX_TOKENS

8192

默认最大输出 token 数。

Codex 配置

添加到 Codex 的 MCP 配置中:

{
  "mcpServers": {
    "deepseek-subagent": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "deepseek-subagent-mcp-server"],
      "env": {
        "DEEPSEEK_API_KEY": "your-deepseek-api-key",
        "DEEPSEEK_MODEL": "deepseek-v4-flash"
      }
    }
  }
}

或从本地 checkout 运行:

{
  "mcpServers": {
    "deepseek-subagent": {
      "command": "node",
      "args": ["D:\\GitHub\\MCP\\deepseek-subagent-mcp-server\\src\\index.js"],
      "env": {
        "DEEPSEEK_API_KEY": "your-key-here"
      }
    }
  }
}

工具:deepseek_task

参数

类型

必填

说明

task

string

交给 DeepSeek 的子任务。请具体说明要做什么以及输出格式。

context

string

可选的上下文资料(代码、笔记、代码片段)。

system

string

可选的自定义系统提示词(默认为子代理身份)。

max_tokens

number

最大输出 token 数。默认 8192。

temperature

number

0-2。省略时使用模型默认值。

使用示例

# Delegate a code review
deepseek_task(task="Review this function for bugs and edge cases", context="<code>...")

# Delegate a research task
deepseek_task(task="Summarize the key risks of a subscription pricing model")

相关项目

许可证

MIT

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

View all MCP Connectors

Latest Blog Posts

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/kira4094/deepseek-subagent-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server