hoangsonww/Claude-Code-Agent-Monitor / .claude/skills/mcp-operations
mcp-operations
VerifiedOperate 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.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.2 KB |
| references/host-config.md | markdown | 408 B |
| references/runbook.md | markdown | 1.1 KB |
| references/tool-domain-map.md | markdown | 1.2 KB |
references/runbook.md
View on GitHub# MCP Runbook
## Read-only daily mode
- Keep both mutation flags false.
- Use read tools for observability and reporting.
## Admin mode
- Set `MCP_DASHBOARD_ALLOW_MUTATIONS=true`.
- Run maintenance/pricing operations.
- Reset mutation flag to false after completion.
## Destructive mode
- Set both mutation and destructive flags true.
- Execute destructive command only with explicit confirmation token.
- Immediately disable destructive flag after operation.
## Process and session lifecycle
- A stdio server exits on its own when its host dies (stdin end/close, or re-parenting away from the ppid it started with). Seeing `shutting down orphaned stdio server` in stderr with a `reason` is expected, not a fault.
- HTTP sessions end on `DELETE /mcp`, on SSE disconnect, or via the idle sweep at `MCP_HTTP_SESSION_TIMEOUT_MS` (default 30 min, `0` disables).
- `curl -s http://127.0.0.1:8819/health` reports `activeSessions`; a count that only ever climbs means clients are dropping without terminating.
## Verification commands
- `npm run mcp:typecheck`
- `npm run mcp:build`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |