Claude Code plugin
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
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:
| Skill | What 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.
Install
Section titled “Install”-
Create a token on Developer → AI access in the dashboard (tokens and scopes). Operate is enough for deploy and diagnose; onboarding needs the
servers:enrollscope. -
Export it in the shell you start Claude Code from (never commit it):
Terminal window export MZPANEL_TOKEN=mzmcp_... -
Install the plugin in Claude Code:
/plugin marketplace add mz-space/mzpanel/plugin install mzpanel@mzpanelOr from a shell:
claude plugin marketplace add mz-space/mzpanel, thenclaude plugin install mzpanel@mzpanel. Run/mcpto check thatmzpanelis 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.
How it stays safe
Section titled “How it stays safe”- The token is read from
MZPANEL_TOKEN; the plugin’s.mcp.jsononly holdsBearer ${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.
Without the plugin
Section titled “Without the plugin”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.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Fix |
|---|---|
/mcp shows mzpanel failed or 401 | MZPANEL_TOKEN is not set in the shell Claude Code started from, or the token was revoked |
| A skill says a tool is missing | It is found with tools_search; if it is still missing, the token’s level or scopes do not allow it |
Every change answers ai_paused | AI writes are paused; resume them on the Developer page |