Blog / AI

Connect Claude Code to your whole server fleet with MCP

Point your own AI assistant at mcp.mzpanel.com with an API token and it can read, and with your confirmation operate, every server you connect.

AIGuide

MZPanel runs a remote Model Context Protocol server at https://mcp.mzpanel.com. Connect Claude Code, Claude Desktop, Cursor or VS Code to it and your assistant can work across your fleet using your own AI subscription. It is available on every plan, Free included.

1. Create an API token

In the dashboard open Developer & API keys and create a token. Choose its scope carefully:

  • Access level — read, operate or full.
  • Servers — the whole fleet, one server, or an allowlist.
  • Expiry — optional, but a good habit.

A token never exceeds the permissions of the person who created it.

2. Add the server to your client

For Claude Code:

Terminal window
claude mcp add --transport http mzpanel https://mcp.mzpanel.com \
--header "Authorization: Bearer <token>"

For Cursor, VS Code and other clients, add it to mcp.json:

{
"mcpServers": {
"mzpanel": {
"type": "http",
"url": "https://mcp.mzpanel.com",
"headers": { "Authorization": "Bearer <token>" }
}
}
}

Not sure you have the right address? Open https://mcp.mzpanel.com in a browser: it shows these same instructions.

3. Ask it to do real work

Some prompts that work well:

  • “Which of my servers is closest to running out of disk, and what is using the space?”
  • “Show the last 100 lines of the Nginx error log on web-2.”
  • “Is every SSL certificate in the fleet valid for at least 14 days?”
  • “Restart the worker container in the n8n stack.”

Safe by design

Changes are explicit. The simple action tools (restart a service, update WordPress, control a container) describe what they are about to do and only run when called again with confirmation; the full-API tools, such as creating a site or a DNS record, run as soon as they are called, so let your assistant ask you first. There is no arbitrary shell: tools map to the same operations the dashboard performs, every call is limited to the token’s scope, and every executed action lands in your audit log. Calls are rate-limited per token, with higher limits on higher plans.

The same token also works with the REST API, so scripts and CI can use exactly what your assistant uses.

← All posts Start free