nekojackie/dsh-mcp-manager ↗★ 0
dsh-mcp-manager
Manage MCP servers from inside DeepSeek Harness: add, enable/disable, remove, reconnect, authorize with OAuth 2.1, renew tokens on a schedule whose policy is editable in the UI, renew after expiry, and browse every MCP tool with its description. 适合需要便捷配置、监控和授权MCP服务器工具的用户。
Other repositories with this package name
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nekojackie/dsh-mcp-managerREADME
Read the full README ↗使用
设置界面
设置 → 插件 → MCP 服务器(与 "全部" 页签并列):
- 每张卡片:名称、传输方式、命令或 URL、状态点、工具数、启用开关、刷新 / 重连 / 编辑 / 移除;
- 展开卡片:该服务器的每个工具 + 描述 + 入参;
- 自动续期设置(可折叠):启用开关、检查间隔(秒)、提前续期(秒)、"过期后仍自动续期"、保存 / 恢复默认;
- 授权成功后卡片会自己跟上:已授权 → 正在连接… → 工具数量,不需要手点刷新。
直接改配置
清单与续期策略都保存在本插件这一行的 config 里:
- id: mcp-manager
name: dsh-mcp-manager
config:
refreshIntervalMs: 300000 # 检查周期,0 = 关闭,默认 5 分钟
refreshLeadMs: 600000 # 提前多久续期,默认 10 分钟
refreshOnExpiry: true # 过期后仍自动续期(默认开)
servers:
- name: demo # ^[A-Za-z0-9_-]{1,32}$,同时是工具前缀
enabled: true
transport: stdio
command: npx
args: ['-y', '@modelcontextprotocol/server-everything']
env: {}
cwd: ''
toolCallTimeoutMs: 60000
failOnStartupError: false
- name: docs
enabled: true
transport: streamable-http
url: http://127.0.0.1:3000/mcp
headers: {}
oauth:
enabled: true # 需要 OAuth 时
scopes: [] # 留空 = 用服务器元数据里的 required_scopes
clientId: '' # 留空 = 动态客户端注册
服务器字段:name enabled transport command args env cwd url headers
toolCallTimeoutMs failOnStartupError oauth{enabled,scopes,clientId,clientSecret,resourceMetadataUrl,authorizationServer}。
直接改配置
清单与续期策略都保存在本插件这一行的 config 里:
- id: mcp-manager
name: dsh-mcp-manager
config:
refreshIntervalMs: 300000 # 检查周期,0 = 关闭,默认 5 分钟
refreshLeadMs: 600000 # 提前多久续期,默认 10 分钟
refreshOnExpiry: true # 过期后仍自动续期(默认开)
servers:
- name: demo # ^[A-Za-z0-9_-]{1,32}$,同时是工具前缀
enabled: true
transport: stdio
command: npx
args: ['-y', '@modelcontextprotocol/server-everything']
env: {}
cwd: ''
toolCallTimeoutMs: 60000
failOnStartupError: false
- name: docs
enabled: true
transport: streamable-http
url: http://127.0.0.1:3000/mcp
headers: {}
oauth:
enabled: true # 需要 OAuth 时
scopes: [] # 留空 = 用服务器元数据里的 required_scopes
clientId: '' # 留空 = 动态客户端注册
服务器字段:name enabled transport command args env cwd url headers
toolCallTimeoutMs failOnStartupError oauth{enabled,scopes,clientId,clientSecret,resourceMetadataUrl,authorizationServer}。