Skip to content
Claude Code plugin The MZPanel plugin for Claude Code: one install connects the MCP server and adds four skills (deploy, diagnose, backup-check, onboard) that run your fleet from your own machine.

Claude Code plugin

The plugin connects Claude Code to your fleet (https://mcp.mzpanel.com) and adds four skills built on the playbooks. Claude uses them on its own when you describe the task, or you call them directly:

SkillWhat it does
/mzpanel:deploy [app] [server]Deploys this folder (or a Git repo) as a Docker app with an HTTPS URL; reads the failure, fixes and redeploys (up to three tries)
/mzpanel:diagnose [domain | app | server]Read-only diagnosis (state, services, logs, resources, certificates, disk), then one fix at a time with your approval
/mzpanel:backup-check [server]Backup coverage of every server and the gaps, ordered by risk; never restores without you asking
/mzpanel:onboard [server]Adds a new VPS: install one-liner, waits for the agent, provisions the base stack, verifies

Everything runs on your machine with your own Claude subscription; MZPanel only executes the operations your token allows.

  1. Create a token on Developer → AI access in the dashboard (tokens and scopes). Operate is enough for deploy and diagnose; onboarding needs the servers:enroll scope.

  2. Export it in the shell you start Claude Code from (never commit it):

    Terminal window
    export MZPANEL_TOKEN=mzmcp_...
  3. Install the plugin in Claude Code:

    /plugin marketplace add mz-space/mzpanel
    /plugin install mzpanel@mzpanel

    Or from a shell: claude plugin marketplace add mz-space/mzpanel, then claude plugin install mzpanel@mzpanel. Run /mcp to check that mzpanel is connected.

Availability: the plugin lives in the MZPanel repository, which is private for now, so the install above works for accounts with access to it (Claude Code uses your machine’s git credentials, for example after gh auth login). A public plugin repository is planned. Until then, connect MCP directly and use the playbooks.

  • The token is read from MZPANEL_TOKEN; the plugin’s .mcp.json only holds Bearer ${MZPANEL_TOKEN}.
  • The skills read first and ask before any change; destructive steps (restores, deletes) are never run without an explicit request.
  • The owner can stop every AI change at once with Pause AI writes on the Developer page; the skills stop and report when they meet 423 ai_paused.
  • Secret values in job output are masked for tokens unless the token has secrets:read.

Copy the four skills/* folders of integrations/claude-code into ~/.claude/skills/ (all projects) or a project’s .claude/skills/, and add the MCP server from its .mcp.json to your own .mcp.json. The skills are then called /deploy, /diagnose, /backup-check and /onboard.

SymptomFix
/mcp shows mzpanel failed or 401MZPANEL_TOKEN is not set in the shell Claude Code started from, or the token was revoked
A skill says a tool is missingIt is found with tools_search; if it is still missing, the token’s level or scopes do not allow it
Every change answers ai_pausedAI writes are paused; resume them on the Developer page