Dsh Ops Mcp logo

Dsh Ops Mcp

Community
01men
dsh-ops-mcp

管理和排查 MCP 服务部署、健康状态与调用。

Overview

Publisher01men
Repositoryybkkasi
Skill namedsh-ops-mcp
Stars
62
Forks
0
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by 01men on GitHub. Read the source before you install it.

Installation

Install the Dsh Ops Mcp AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/01men/ybkkasi/tree/main/skills/dsh-ops-mcp
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/01men/ybkkasi.git /tmp/ybkkasi
mkdir -p .claude/skills
cp -r /tmp/ybkkasi/skills/dsh-ops-mcp .claude/skills/dsh-ops-mcp
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dsh Ops Mcp in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dsh Ops Mcp on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dsh Ops Mcp is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: dsh-ops-mcp

何时使用

任何涉及「MCP 服务」的提问或操作——包括浏览型问题(有哪些 MCP 服务、健康状态如何、某个服务什么版本、灰度到多少了)和操作型任务(部署、灰度发布、回滚、下线、调用网关验证、熔断告警处置)。 回答任何 MCP 现状问题前必须先调用工具查询,禁止凭记忆或通用知识描述服务清单。

调用方式(工具优先)

平台已把运维能力注册为 dsh 工具,优先直接调用(无需 CLI、无需令牌,权限由平台侧管控):

意图工具
列出所有 MCP 服务及健康状态mcp_service_list(可按 status 过滤:draft/verifying/online/gray/unhealthy/offline)
单服务探活mcp_health_check
错误率/延迟/Token 指标mcp_metrics
灰度/全量部署(支持 dryRun 影响面预览)mcp_deploy
调用网关验证某工具可用性mcp_invoke
下线服务(L4,自动生成审批单)mcp_offline

dshctl mcp ... CLI 仅在「平台独立部署 + HTTP API 运维」场景作为备选(需 DSHCTL_TOKEN/DSHCTL_USER)。

操作手册

场景 0:浏览/盘点(如「列出所有 MCP 服务和健康状态」)

  1. mcp_service_list → 返回 total + services[](id/name/status/version/grayPercent/health/tools)
  2. 用户关注异常时按 status=unhealthy 再过滤一次,逐个 mcp_health_check 复核

场景 1:处理 MCP 熔断告警(audit alerts 出现 mcp_unhealthy)

  1. mcp_service_list { status: "unhealthy" } → 定位服务
  2. mcp_health_check { serviceId } → 手动探测确认(连续失败≥3 触发熔断)
  3. mcp_metrics { serviceId } → 查看错误率与延迟序列定位时段
  4. 恢复策略:
    • 配置/版本问题:mcp_deploy { serviceId, grayPercent: <上一稳定版参数>, dryRun: false } 或回滚说明
    • 无法恢复:mcp_offline { serviceId, reason, requesterId, requesterName }(生成 L4 审批单)
  5. audit_logs { resourceId: serviceId } 验证处置留痕

场景 2:灰度发布新版本

  1. mcp_deploy { serviceId, dryRun: true } → 影响面预览(dependents)
  2. mcp_deploy { serviceId, grayPercent: 10, changelog: "<说明>" }
  3. mcp_metrics { serviceId } 观察 10-30 分钟错误率
  4. 全量:mcp_deploy { serviceId, grayPercent: 100 }
  5. 异常回滚:mcp_deploy 指定上一稳定版本参数

场景 3:调用网关验证工具可用性

mcp_invoke { serviceId, tool: "<工具名>", args: {"query":"连通性验证"} } 返回 denied 时先检查权限组是否覆盖该调用方;rate_limited 说明触发了限流。

场景 4:下线 MCP(L4)

  1. mcp_deploy { serviceId, dryRun: true } → 查看依赖影响面
  2. mcp_offline { serviceId, reason: "<业务原因>", requesterId, requesterName } → 生成审批单
  3. 通知第二管理员:approval_decide { approvalId, decision: "approve", opinion: "<意见>" }
  4. 验证:mcp_service_list 中该服务状态 offline,调用方令牌吊销

护栏

  • offline 必须给 reason;生产环境灰度比例建议 ≤20% 起步
  • 熔断开启时网关自动拒绝调用(breaker_open),不要绕过网关直连 endpoint

Frequently asked questions

What does the Dsh Ops Mcp AI skill do?

管理和排查 MCP 服务部署、健康状态与调用。

Why use Dsh Ops Mcp on TypingMind?

Because you install it once and use it with any model. Dsh Ops Mcp is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dsh Ops Mcp in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/01men/ybkkasi/tree/main/skills/dsh-ops-mcp. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dsh Ops Mcp?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dsh Ops Mcp?

As many as you like. As long as a model supports skills, you can use Dsh Ops Mcp with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dsh Ops Mcp AI skill free?

Yes. It is published on GitHub by 01men under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇