mcp-operator

📁 poly-mcp/skills 📅 2 days ago
2
总安装量
2
周安装量
#68864
全站排名
安装命令
npx skills add https://github.com/poly-mcp/skills --skill mcp-operator

Agent 安装分布

trae-cn 2
gemini-cli 2
github-copilot 2
codex 2
kimi-cli 2
continue 2

Skill 文档

PolyMCP Operator

Overview

Run structured incident triage for PolyMCP systems and deliver minimal, verifiable remediation.

Quick Triage

Start with this baseline:

polymcp server list --json
polymcp test server http://localhost:8000/mcp
polymcp test tool http://localhost:8000/mcp add --params '{"a":2,"b":3}'

For stdio incidents:

polymcp test stdio npx @playwright/mcp@latest

Incident Flow

  1. Scope impact.
  • Identify affected server(s), transport (http/stdio), tool(s), and user-visible failure.
  1. Check registry.
  • Inspect local and global polymcp_registry.json.
  • Verify server URL and stdio command/args/env.
  1. Reproduce minimally.
  • Run server test first.
  • Run one failing tool invocation with exact payload.
  • Capture raw command outputs.
  1. Apply smallest safe fix.
  • Prefer config or targeted code fix.
  • Avoid broad refactor during active incident.
  1. Verify and close.
  • Re-run same commands.
  • Summarize root cause, fix, evidence, and rollback.

Failure Classes

  • Connectivity: endpoint not reachable or wrong route.
  • Contract: payload schema mismatch or tool name mismatch.
  • Runtime: server exception or dependency error.
  • Auth: missing/invalid secret or header.
  • Registry: stale/incorrect server entry.

Operating Rules

  • Tie every conclusion to command evidence.
  • Make smallest reversible change first.
  • Keep rollback notes explicit.
  • Treat missing secret/token as config issue first.
  • Record any residual risk after fix.