界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

mcp-operations

mcp-operations

【开发与工程】Operate and maintain the local MCP server for this project. Use when creating MCP host config, troubleshooting tool connectivity, modifying tool domains, or adjusting safety policy flags.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: mcp-operations description: Operate and maintain the local MCP server for this project. Use when creating MCP host config, troubleshooting tool connectivity, modifying tool domains, or adjusting safety policy flags.

MCP Operations

Use this skill whenever work touches mcp/ behavior or MCP host integration.

Core workflow

  • Confirm dashboard API is running (/api/health).
  • Confirm MCP server build status.
  • Validate env flags for mutation/destructive modes.
  • Verify host configuration path and command.

Safe operations policy

  • Default to read-only mode (MCP_DASHBOARD_ALLOW_MUTATIONS=false).
  • Enable mutations only for explicit admin tasks.
  • Enable destructive mode only transiently and require explicit confirmation token.

Required verification for code changes

  • npm run mcp:typecheck
  • npm run test:mcp
  • npm run mcp:build

Catalog invariant

  • Add tools only through mcp/src/tools/domains/ and registerAllTools.
  • Protocol transports and REPL must use the same declarations and schemas.
  • Update .agents/skills/mcp-maintainer/references/tool-domain-map.md when a domain changes.

References

  • Host config examples: references/host-config.md
  • Operations runbook: references/runbook.md
我的收藏