❯ ai & mcp
Run your fleet from your AI. Run AI on your fleet.
Attach Claude Code, Claude Desktop, Cursor or VS Code to https://mcp.mzpanel.com, or call the REST API with the same token. Deploy Ollama, vLLM, Open WebUI and LiteLLM on your own servers with zero inbound ports.
Fleet control over MCP
Your AI client reads cached inventory and runs audited jobs over each server's outbound agent WebSocket.
Sessions start with a small core set of tools plus tools_search and tools_call to keep context light (or pass ?tools=all for the full catalog). See the MCP tools reference and Start here for AI agents.
Connect in a minute
One remote endpoint: https://mcp.mzpanel.com. No local proxy or SSH tunnel required.
Coding agents & IDEs
Mint an API token (mzmcp_...) in Advanced → Developer, then paste the URL and header into your client.
Claude Code
claude mcp add --scope user --transport http mzpanel https://mcp.mzpanel.com \
--header "Authorization: Bearer mzmcp_YOUR_TOKEN" Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"mzpanel": {
"type": "http",
"url": "https://mcp.mzpanel.com",
"headers": { "Authorization": "Bearer mzmcp_YOUR_TOKEN" }
}
}
} VS Code (.vscode/mcp.json)
{
"servers": {
"mzpanel": {
"type": "http",
"url": "https://mcp.mzpanel.com",
"headers": { "Authorization": "Bearer mzmcp_YOUR_TOKEN" }
}
}
} Claude Desktop
Add MZPanel as a custom connector at https://mcp.mzpanel.com. Sign in with your MZPanel account, pick a preset and server allowlist on the consent page, and disconnect anytime from Developer settings.
- Your own LLM subscription pays for inference
- Read, Deploy, Operate or Full preset chosen per connection
- 1-hour access token with automatic rotating refresh
- Agentless SSH-only servers stay excluded from AI tokens
Safety & audit
Tokens can only narrow your workspace permissions. Every action is checked before anything reaches a server.
Safe operating rules → Tokens, levels & scopes → Security model →- Scoped tokens & presets Pick Read only, Deploy (apps:own), Operate or Full. Destructive actions require opt-in scopes such as sites:delete, data:delete, backups:restore or system:admin, and never exceed your team role.
- Server, mailbox & IP allowlists Pin a token to specific servers (other servers answer 404), up to 50 mailboxes or domains, and up to 20 IPv4/IPv6 addresses or CIDR blocks.
- Dry runs & auto-revert Core action tools preview unless apply: true is set. Risky firewall and SSH edits revert automatically after 120 seconds unless confirmed.
- One-click Pause AI writes Stop all changes from API tokens and MCP across your workspace or one server from Advanced → Developer. Reads keep working; writes return 423 ai_paused.
- AI filter in the audit log Every write is logged as api.<op> and job.dispatched with the token ID in Team → Activity. Filter by AI tokens or inspect a single token.
- Hard boundaries & log masking Tokens can never touch billing, 2FA, interactive shells, docker.exec, one-click logins or sealed backup keys. Secrets in job output are masked unless secrets:read is granted.
REST API & OpenAPI
Use the same token from scripts, CI runners, n8n, Zapier or Make over standard HTTP.
$ curl -s https://api.mzpanel.com/v1/openapi.json REST API quickstart → Import OpenAPI → Workflow templates → - Full management API One mzmcp_ token calls every dashboard action on https://api.mzpanel.com/v1/*, plus synchronous /v1/api/* shortcuts, with strict JSON validation.
- OpenAPI 3.1 document Generated live at /v1/openapi.json with every operation and job-kind schema. Fetch one area with ?tag=dns or ?tag=apps, and inspect your token with GET /v1/api/operations.
- One-call jobs & idempotency Add ?wait=1..90 to dispatch and read job output in one HTTP call. Send Idempotency-Key so safe retries replay the original 2xx response for 24 hours.
- Fleet event feed Poll GET /v1/events on every plan for fleet events such as job.failed, site.down, backup.failed, ssl.expiring and resource.cap.
- Developer webhooksPro Push signed HTTPS events with X-MZ-Signature-V2, per-server filters and 6 retry attempts over 12 hours.
- n8n, Zapier & Make recipes Ready-to-import n8n workflow templates plus HTTP polling and webhook recipes for Zapier and Make.
AI on your VPS
Run models, gateways, chat UIs and vector stores on your own hardware, served behind HTTPS.
AI apps in Marketplace → Docker apps & stacks → PostgreSQL & pgvector →- Ollama & vLLM Deploy Ollama for CPU or GPU local models, or vLLM for high-throughput GPU serving, right from the Marketplace.
- Open WebUI & AI apps One-click Open WebUI, Dify, LibreChat, AnythingLLM, Perplexica, OpenHands and the AI Starter Stack with a domain and HTTPS.
- LiteLLM gateway One OpenAI-compatible /v1 endpoint across local models and your own cloud provider keys, with virtual keys, budgets and usage tracking.
- No raw model ports exposed Inference containers stay on the internal Docker network behind Nginx TLS. Ports like :11434 are never exposed to the internet.
- Vector stores & pgvector Enable native pgvector inside PostgreSQL on every plan, or deploy Weaviate, Chroma, Milvus and Qdrant (Pro).
- RAG & MCP servers on your VPSPro Initialize RAG collections on Qdrant or pgvector and manage MCP tool server containers directly on your servers.
The built-in Assistant
The Ask AI drawer inside the dashboard answers from the docs and checks live server state.
Reads live state, confirms changes
The Assistant pairs retrieval over public docs and troubleshooting guides with live server inventory and a small set of tools.
- Citations linking straight to the matching docs page
- Read tools run automatically for disk, sites, services and PHP versions
- Actions (storage cleanup, SSL issue, service control, WordPress update) render as confirmation cards
- Never runs a change without your click; every confirmed job is audited
Multi-device threads & support handoff
Keep troubleshooting threads across sessions, or escalate the same conversation to human support.
- Page-aware context knows which server or site you are looking at
- Conversation history synced across browsers and devices
- Escalate to the MZPanel team in the same thread via the staff inbox
- Use MCP from your own AI client when you want full fleet automation
Plans & automation limits
MCP and the REST API are on every plan. Compare all plan features →
| Plan | Free $0 | Plus $8/mo | Pro $22/mo | Max $49/mo |
|---|---|---|---|---|
| Servers included | 1 server | 3 servers | 10 servers | 25 servers |
| Websites | Unlimited | Unlimited | Unlimited | Unlimited |
| MCP & REST API writes | 30-day write trial, then read-only | Full MCP & API writes | Full MCP & API writes | Full MCP & API writes |
| Token rate limit (MCP + REST) | 60 req/min | 120 req/min | 300 req/min | 600 req/min |
| Docker apps & stacks | 3 / server | 5 / server | Unlimited | Unlimited |
| Included AI & automation | LiteLLM keys & usage, event feed | Full automation, event feed | RAG & MCP servers on VPS, webhooks, Pro extensions | Audit log export, priority support |
On Free, writes through MCP and the REST API are a 30-day trial from workspace creation, then read-only (402 automation_trial_ended); the dashboard is never affected. See Tiers & quotas.
Connect your first server on the Free plan, mint a scoped token, and run your fleet from Claude, Cursor or VS Code.