Bỏ qua để đến nội dung
MCP tools Every tool the MZPanel MCP server (mcp.mzpanel.com) can expose, generated from the live catalog: what it does, the token level it needs, whether it reads, changes or destroys, and which tools are in the default core list.

MCP tools

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

The MCP server lists a small core set by default and finds the rest with tools_search {query}; run any of them with tools_call {name, arguments} or by calling the name directly. Add ?tools=all to the MCP URL (or send X-MZ-Tools: all) to list everything up front. What a token actually sees depends on its level, opt-in scopes and server allowlist (tokens and scopes); this page lists the whole catalog.

Level is the minimum token level. Kind: read never changes anything, change does, destructive deletes or overwrites; core = listed by default.

Tools: 408.

ToolWhat it doesLevelKind
agent_policy_getAgent auto-update policy of a server: {policy (null = org default), effective, orgDefault} (pinned|manual|security|auto)readread
agent_policy_setSet the agent auto-update policy: body {policy: pinned|manual|security|auto, or null for the org default}.operatechange
agent_releaseLatest agent release (version) published by the control plane; compare with each server’s agent versionreadread
agent_rolloutAgent release rollout progress across the fleetreadread
agent_updatePush the latest agent release to one server now (or body {url (https), sha256, version?} for a specific build).operatechange
agent_update_fleetQueue the latest agent release on every online server you can reach that runs an older agent (optional body {serverIds: […]} to limit it).operatechange
ToolWhat it doesLevelKind
ai_models_catalogStatic catalog of local AI models (id, sizeGb, ram_hint, kind, tier_hint); install one on a server with jobs_create {type: ai.model-pull, model}, remove with ai.model-rmreadread
ai_overviewLast-known AI runtime status of a server (models, gateway, GPU) from the agent’s cached inventory (see syncedAt, isOnline); refresh with jobs_create {type: ai.status}readread
ToolWhat it doesLevelKind
app_webhooks_deleteRemove the push-to-deploy webhook of a Docker app; pushes stop triggering rebuildsoperatechange
app_webhooks_getGit push-to-deploy webhook of a Docker app (URL, secret, branch, last delivery, cancel_previous); {webhook: null} when nonereadread
app_webhooks_setCreate the push-to-deploy webhook of a Docker app (or change its branch / cancel_previous); returns {webhook:{url, secret, branch, cancel_previous}}.operatechange
ToolWhat it doesLevelKind
apps_deployDeploy code as a managed Docker app in one call: builds the source on the server (Dockerfile, or Nixpacks when there is none), starts it and gives it an HTTPS URL.deploychange · core
apps_deploy_statusProgress of an apps_deploy: {jobId, status (queued|running|completed|failed|timeout|cancelled), exitCode, url, detected (the database the code needs, e.g.readread · core
apps_deploymentsDeploy history of one Docker app, newest first (?status=queued|building|ready|failed|canceled, ?limit 1-100 default 20, ?before= the previous page’s nextBefore): {deployments: [Deployment], nextBefore: timestamp | null}.readread
apps_fleet_deployLike apps_deploy, but without naming a server: an uploadId deploys on the server its upload went to (from apps_fleet_source_upload); a git source is placed by the apps_placement rules (placement {tags?, region?, serve…deploychange · core
apps_fleet_source_uploadLike apps_source_upload, but MZPanel picks the server (see apps_placement for the rules): step 1 of deploying a local folder when you do not care which server runs it.deploychange · core
apps_list_allEvery managed Docker app of the fleet in one call (prefer it over servers_docker_all, which lists raw containers): {apps: [{name, serverId, serverName, serverOnline, state (running|exited|restarting|…, deploying = f…readread · core
apps_placementDry run of server placement: which server apps_fleet_source_upload / apps_fleet_deploy would pick for an app, and why, without uploading or deploying anything.readread
apps_source_uploadStep 1 of deploying a local project folder as a Docker app (use apps_deploy with source.git instead when the code is in a Git repo).deploychange · core
ToolWhat it doesLevelKind
backup_destinations_checkCheck a destination’s health from a serverreadread
backup_destinations_createAdd a backup destination: kind local (a path on each server) or object (S3/R2/B2/rclone, Plus+, credentials in cred_sealed) or peer (another of your servers holds the archives over sftp, Pro+; the control plane provis…fulldestructive
backup_destinations_deleteDelete a backup destination (needs data:delete; check backup_jobs_list for jobs that still use it first)fulldestructive
backup_destinations_listList the org’s backup destinations (local and object storage; never credentials) with their ids for backup_jobs_create destination_idsreadread
backup_destinations_testTest a destination from a server and record its status; run after creating one.operatechange
backup_destinations_updateChange a backup destination’s label, settings or credentialsfulldestructive
backup_jobs_cancelCancel a running backupoperatechange
backup_jobs_createCreate a scheduled backup job on a server.operatechange
backup_jobs_deleteDelete a backup job (existing snapshots are kept)operatedestructive
backup_jobs_listScheduled backup jobs of a server (targets, schedule, destinations, retention, enabled); job ids for the backup_jobs_* opsreadread
backup_jobs_runRun a backup job now in the background.operatechange
backup_jobs_toggleEnable or pause a backup joboperatechange
backup_jobs_updateEdit a backup job (schedule, targets, destinations, retention, encrypt, include_image).operatechange
backup_snapshots_clear_failedDelete failed snapshot recordsoperatedestructive
backup_snapshots_deletePermanently delete a backup snapshot and its archive at the destination (irreversible).operatedestructive
backup_snapshots_listList backup snapshots with status, size and target (optional ?server_id=); check here after backup_jobs_run.readread
backup_snapshots_refreshRe-sync the snapshot catalog from the server’s backup destinations (imports new archives, drops vanished ones); returns {ok, imported, pruned}operatechange
backup_snapshots_restoreRestore a backup snapshot (id from backup_snapshots_list) over live data.fulldestructive
backup_snapshots_verifyCheck every completed snapshot still exists at its destination; vanished ones are marked missing (found ones back to completed).readread
ToolWhat it doesLevelKind
backups_cloudMZPanel Cloud Backup status: available, enabled, state (active | grace = storage add-on removed, read-only until graceUntil, then deleted | deleted), quotaBytes (units × 100 GB of the backup-100gb add-on, $3/mo each,…readread
backups_recipientsServers’ public keys (JWK) to seal object-storage credentials to before backup_destinations_create; seal for every server listedreadread
backups_run_onceBack up one site, Docker app or stack now, without a saved job (async: returns the snapshot id and the live job stream).operatechange
ToolWhat it doesLevelKind
containers_metrics_historyCPU/RAM time series of one container (?range=1h|6h|24h|7d|30d, default 24h)readread
ToolWhat it doesLevelKind
db_listList a server’s databases (live).—read
ToolWhat it doesLevelKind
deployments_latestThe newest deployment of every Docker app and stack in one call (?serverId= narrows it to one server): {items: [{serverId, kind, name, deployment: Deployment}]}, newest first.readread
deployments_listDeploy history across the fleet, newest first: every deploy of a Docker app or stack (git push rebuilds, dashboard and API deploys, image pulls, rollbacks), including failed, canceled and queued ones.readread
ToolWhat it doesLevelKind
dev_webhooks_createCreate a webhook endpoint (Pro+): url must be https:// (max 500 chars); events from server.online, server.offline, deploy.succeeded, deploy.failed, backup.completed, ssl.renewed, site.down, mail.received, job.complete…fulldestructive
dev_webhooks_deleteDelete an endpoint and its delivery history; pending retries stop (Pro+)operatechange
dev_webhooks_deliveriesThe endpoint’s 20 most recent deliveries, one row per event: event, eventId, state (pending = a retry is scheduled at nextAt | delivered | gone = the receiver answered 410 | failed = 6 attempts spent | cancelled = end…readread
dev_webhooks_listList developer webhook endpoints (URL, events, serverIds filter, status; never the secret) plus the subscribable event names (Pro+)readread
dev_webhooks_testSend a signed test.ping to the endpoint now and return {delivered: HTTP status or null, error} (10 s timeout, never retried; Pro+)operatechange
dev_webhooks_updateChange an endpoint: any of {status: active|disabled, events, serverIds (null clears the filter)}; at least one field.fulldestructive
ToolWhat it doesLevelKind
dns_connections_createConnect Cloudflare with an API token (stored encrypted).fulldestructive
dns_connections_deleteDisconnect a DNS provider (deletes the stored token; zone records are untouched)fulldestructive
dns_connections_listList DNS provider connections (Cloudflare) and the zones each token can reach (token last 4 only).readread
dns_connections_updateRelabel a DNS provider connectionfulldestructive
dns_connections_verifyRe-check a DNS provider token and refresh its zone list (run after adding zones or scopes at Cloudflare)operatechange
dns_csrGenerate a private key + CSR on a managed server (body {serverId, domain, wildcard?}); returns {csr} to submit to your CA.operatechange
dns_edge_getWhether a connected Cloudflare zone covers ?domain= (so dns_edge_purge can purge it)readread
dns_edge_purgePurge the Cloudflare edge cache for 1-500 full URLs of a domain in a connected zoneoperatechange
dns_html_cache_disableTurn off the Cloudflare edge page cache for a domain: removes the host from the zone’s MZPanel Cache Rule (the rule is deleted when no host is left) and purges the domain and www.operatechange
dns_html_cache_enableTurn on the Cloudflare edge page cache for one WordPress site (off by default).operatechange
dns_html_cache_getStatus of the Cloudflare edge page cache of a WordPress domain (?domain= required): available (a connected zone covers it), enabled, zone, serverId, mobile, excludes, appliedAt, lastError, purgeMode.readread
dns_html_cache_purge_zonePurge EVERYTHING Cloudflare cached for the whole zone of ?domain (every hostname of the zone, not only this site).operatechange
dns_html_cache_syncRe-run the box preparation (wp.cache edge-set on: origin guard, bridge, mobile cache, never-cache paths, WooCommerce permalinks) of an edge-cached domain and rewrite the zone’s MZPanel Cache Rule.operatechange
dns_install_certInstall a custom/paid PEM certificate on a managed server: body {serverId, domain, cert (PEM chain), key? (PEM; omit when the key came from dns_csr)}.fulldestructive
dns_origin_certIssue a Cloudflare Origin certificate and install it on a managed server: body {serverId, domain, wildcard?}.fulldestructive
dns_records_createCreate a DNS record at Cloudflare; body domain selects the zone, name is the record name (e.g.operatechange
dns_records_deleteDelete a DNS record at Cloudflare: {id} from dns_records_list, ?domain= (required) selects the zonefulldestructive
dns_records_listList the DNS records of the connected zone that owns ?domain= (required; any name inside the zone).readread
dns_records_updateFull replace of a DNS record: {id} from dns_records_list, body domain selects the zone; every field is rewrittenoperatechange
dns_wildcard_certIssue and install *.domain + domain via ACME DNS-01 through the connected Cloudflare zone: body {serverId, domain}.fulldestructive
dns_wildcard_certs_deleteStop tracking and renewing a wildcard certificate (the installed certificate stays on the server until it expires)fulldestructive
dns_wildcard_certs_listList wildcard certificates (*.domain) issued via ACME DNS-01 through a connected Cloudflare zone: server, status, last_error, expires_atreadread
ToolWhat it doesLevelKind
docker_controlStart / stop / restart / pause / unpause a Docker container on a server.—change
docker_psList a server’s Docker containers + their status (live).—read
ToolWhat it doesLevelKind
domains_registrations_listRegistrar and expiry data (RDAP) of the domains the fleet hosts plus hand-tracked onesreadread
domains_registrations_refreshRe-query RDAP for one domain, or start a refresh of all domainsoperatechange
domains_registrations_set_manualSet registrar/expiry by hand for a domain RDAP cannot resolveoperatechange
domains_registrations_trackTrack a domain no server hosts (registrar/expiry watch); call registrations_refresh after to look it upoperatechange
domains_registrations_untrackStop tracking a hand-added domainoperatechange
ToolWhat it doesLevelKind
env_vars_deleteDelete one shared variable ({id} from env_vars_list); staged until projects_env_applyoperatechange
env_vars_listList shared variables of one scope: query scope=org (default)|project|environment, plus projectId (project, environment) and environmentId (environment).readread
env_vars_setCreate or update shared variables at one scope (Pro+).operatechange
ToolWhat it doesLevelKind
events_listPoll the event feed (every plan; the same events developer webhooks push, kept 30 days).readread
ToolWhat it doesLevelKind
feedback_commentComment on a feature request (body 1-4000 chars, public)operatechange
feedback_comment_deleteDelete one of your own commentsoperatechange
feedback_createPost a feature request on the public board (visible to every MZPanel user); category feature|bug|improvementoperatechange
feedback_deleteWithdraw your own feature request (only while its status is open)operatechange
feedback_getA feature request with its commentsreadread
feedback_listList public feature requests; query status=open|planned|in_progress|done|declined, category=feature|bug|improvement, sort=new (default: most votes)readread
feedback_voteToggle your vote on a feature requestoperatechange
ToolWhat it doesLevelKind
files_archive_peekList the entries of an archive without extracting it (query: scope=site|server|root, domain for site scope, archive)readread
files_chmodChange file permissionsfulldestructive
files_compressPack files into a zip or tar.gz archivefulldestructive
files_compress_streamPack files into an archive with progress; the response is an event stream ending in done or error (from MCP prefer files_compress)fulldestructive
files_copyCopy a file or directory on the same serverfulldestructive
files_deletePermanently delete files or directories, recursively (no trash, cannot be undone)fulldestructive
files_dirbreakdownDisk usage breakdown under a directory (query: scope=site|server|root, domain for site scope, path, max_depth)readread
files_dirsizeTotal size of a directory (query: scope=site|server|root, domain for site scope, path)readread
files_downloadDownload a file up to 64MB as a binary attachment; from MCP use files_read (base64) instead (query: scope=site|server|root, domain for site scope, path)readread
files_extractExtract an archive (may overwrite existing files)fulldestructive
files_extract_streamExtract an archive with progress (may overwrite existing files); the response is an event stream ending in done or error (from MCP prefer files_extract)fulldestructive
files_listList a directory (query: scope=site|server|root, domain for site scope, path, show_hidden=1, page, page_size)readread
files_mkdirCreate a directoryfulldestructive
files_moveMove or rename a file or directory within the same server and scopefulldestructive
files_readRead a file as base64 (the MCP-friendly read) (query: scope=site|server|root, domain for site scope, path, max_bytes up to 64MB)readread
files_searchSearch file names under a directory (query: scope=site|server|root, domain for site scope, q REQUIRED, root default /, max_results up to 1000)readread
files_statStat a file or directory (query: scope=site|server|root, domain for site scope, path)readread
files_uploadUpload one file up to 64MB (REST only, multipart form: file, scope, domain, path = target directory).fulldestructive
files_upload_finalizeFinalize a direct-to-box upload started with files.upload_urlfulldestructive
files_upload_urlStart a large upload: body {scope, dest = full target file path, size?}.fulldestructive
files_writeCreate or overwrite a file (content_b64 = base64 content, up to 64MB; mkdirs creates missing parents).fulldestructive
files_xferCopy or move files to another server over a one-shot SSH key.fulldestructive
files_xfer_cancelCancel a running cross-server transfer (files_xfer copy/move or sites_clone_xserver) by its transferId; :id is the SOURCE server.operatechange
ToolWhat it doesLevelKind
git_connections_createConnect GitHub, GitLab or Bitbucket with a personal access token (method pat; oauth is not available yet).fulldestructive
git_connections_deleteRemove a Git connectionfulldestructive
git_connections_listList Git provider connections (tokens masked)readread
git_connections_reposRepositories of a connection (?refresh=1 for live)readread
git_connections_verifyRe-verify a Git connection and refresh its repositoriesoperatechange
git_github_app_install_urlSigned GitHub App install link for the owner to open in a browserfulldestructive
git_github_app_statusWhether the GitHub App integration is configuredreadread
ToolWhat it doesLevelKind
install_tokens_listList install tokens that were minted by servers_create and not used yet (each expires after 1 hour)readread
install_tokens_revokeRevoke an unused install token so its one-liner can no longer enrol a boxoperatechange
ToolWhat it doesLevelKind
jobs_createRun an on-box action (job) on a server.deploydestructive · core
jobs_getJob state: {job:{id, type, status, exitCode, errorMessage, dispatchedAt, completedAt, durationMs}}.readread · core
jobs_listRecent jobs on a server, newest first: {jobs:[{id, type, status, exitCode, createdAt, completedAt, durationMs}]} (?limit 1-30, default 10; routine read jobs are hidden).readread · core
jobs_outputPersisted output of a job: {jobId, status, exitCode, lines:[{stream: stdout|stderr, seq, line}], totalLines, truncated}, oldest first (?tail 1-500 lines, default 100; lines over 4 KB are cut and the result is capped a…readread · core
jobs_schemaJSON Schema of a job kind’s body for jobs_create: fields, types, enums, required, plus its level, opt-in scope, min_tier and RBAC group.—read · core
ToolWhat it doesLevelKind
links_anchor_usagesWhere one anchor text is used (query: anchor)readread
links_anchorsAnchor-text usage across a site (from indexed data; run links_index first)readread
links_audit_anchor_usagesWhere one anchor text is used, grouped by target (query: text)readread
links_audit_anchorsAnchor texts with use counts and flags generic/ambiguous/empty/exact_heavy (query: flag, kind=internal|external, q, sort=uses|targets|anchor, page, per_page)readread
links_audit_bulkUnlink or replace one target URL (url_id from links_audit_issues) in every post that links to it, as one undoable batch.operatechange
links_audit_editEdit one link occurrence in a post (unlink keeps the text; saved as a WP revision, undoable by batch_id).operatechange
links_audit_externalExternal links, per link or per domain (query: group=link|domain, filter=followed|broken|same_tab, domain, q, page, per_page)readread
links_audit_ignoreIgnore or un-ignore link targets in the auditoperatechange
links_audit_issueOne link target with its probe result, redirect hops and every post that links to itreadread
links_audit_issuesProblem link targets, one row per unique URL (query: kind=internal|external, problem=broken|redirect|blocked|unpublished, q, ignored=0|1|all, page, per_page)readread
links_audit_pageOne post’s inbound links, outbound internal/external links and inbound anchor distributionreadread
links_audit_pagesScanned posts with inbound/outbound link counts (query: filter=orphans|no_outbound|has_broken|low_inbound, type, q, sort=inbound|title|modified, page, per_page)readread
links_audit_recheckRe-check link targets now (internal: re-scan the posts; external: re-probe); without url_ids every external URL is queued for re-probingoperatechange
links_audit_scanQueue a background link-audit scan on the box (body {full?: true re-reads every post; default incremental}).operatechange
links_audit_settings_getLink-audit settings of a site (re-scan interval, generic anchors, affiliate domains)readread
links_audit_settings_setUpdate link-audit settings of a siteoperatechange
links_audit_statusLatest link-audit scan of a site (state, progress) and whether the site’s bridge supports the auditreadread
links_audit_summaryLink-audit KPIs: broken/redirected/blocked URLs, orphans, posts without outbound links, generic and ambiguous anchorsreadread
links_audit_undoUndo an edit batch by restoring each edited post’s recorded WP revisionoperatechange
links_domain_linksLinks pointing at one outbound domain (query: domain)readread
links_domainsOutbound domains linked from a site (from indexed data; run links_index first)readread
links_embedCompute embeddings for indexed pages that have none yet, using the platform embedding service (run links_index first).operatechange
links_embed_statusEmbedding progress of a site’s indexed pagesreadread
links_fleetLink-manager rollup for every WordPress site in the organizationreadread
links_graphInternal-link graph of a site (empty until links_index has run)readread
links_healthCheck a site’s links for broken targetsoperatechange
links_indexIndex a site’s posts for the link manager (query: post_types, default post,page).operatechange
links_page_linksInbound and outbound links of one pagereadread
links_pagesIndexed pages with inbound/outbound link counts (empty until links_index has run)readread
links_rule_applyApply a rule across the site’s posts (query: dry=1 previews without writing)operatechange
links_rule_createCreate a keyword auto-link ruleoperatechange
links_rule_deleteDelete a keyword auto-link rule (post content is untouched)operatechange
links_rule_updateUpdate a keyword auto-link ruleoperatechange
links_rules_listKeyword auto-link rules of a sitereadread
links_scanScan a site’s posts for links through the agent, read-only (query: post_types, page, per_page)readread
links_settings_getLink-manager settings for a sitereadread
links_settings_setUpdate link-manager settings (autoLinkEnabled, healthIntervalHours, defaultNofollow, maxLinksPerPost, aiProvider/aiModel for method=ai suggestions, affiliateDomains, blockedDomains).operatechange
links_suggestGenerate internal-link suggestions from page embeddings (run links_index then links_embed first; 409 need_embeddings otherwise).operatechange
links_suggestion_applyInsert a suggested link into the post content (reversible with links_suggestion_revert).operatechange
links_suggestion_revertRemove a previously applied suggested link from the post.operatechange
links_suggestions_listInternal-link suggestions with status counts (query: status)readread
links_suggestions_reviewApprove or reject suggestions in bulkoperatechange
links_summaryLink health summary for a sitereadread
ToolWhat it doesLevelKind
lite_deletePermanently remove an agentless server record and its stored (encrypted) credential; cannot be undone.fulldestructive
lite_listList agentless (SSH-only) servers: id, name, host, ssh_user, ssh_port, auth_type, verified, sealed.readread
lite_renameRename an agentless server.operatechange
ToolWhat it doesLevelKind
load_balancers_applyRe-push the load-balancer config to its node.operatechange
load_balancers_backend_addAdd a backend to a load balancer: body {ip, port, serverId?, label?, weight? 1-256}; re-applied automaticallyoperatechange
load_balancers_backend_deleteRemove a backend from a load balancer; re-applied automaticallyoperatechange
load_balancers_backend_updateChange a backend’s weight (1-256) and/or draining (true = stop sending new traffic); re-applied automatically.operatechange
load_balancers_createCreate a load balancer on a managed node server and push its config.fulldestructive
load_balancers_deleteDelete a load balancer and remove its config from the node (traffic through it stops)fulldestructive
load_balancers_listList load balancers with backends and health, hostnames and the certificate state per hostname (certs[]: {hostname, status: pending|issuing|valid|pending_dns|error|agent_update_required, method: http-01|dns-01, expire…readread
load_balancers_updateChange load-balancer settings (any of name, engine, listenPort, algorithm, tls, hostnames, hcPath, hcIntervalS, hcHealthyThreshold, hcUnhealthyThreshold); the config is re-applied to the node automatically.operatechange
ToolWhat it doesLevelKind
logs_tailRead recent log lines from a server.—read · core
ToolWhat it doesLevelKind
mail_attachment_getDownload one attachment as base64 (index from message_get’s attachments; query: folder; max 10 MiB, else 413 too_large)readread
mail_cf_catch_allSet the zone’s catch-all (mail to any unknown address): action=drop, or action=forward with 1-10 destinations (unverified ones come back in pendingVerification)operatechange
mail_cf_destination_addRegister a forward target in the Cloudflare account; Cloudflare emails it a verification link and it receives nothing until verified (rule_create also registers targets automatically)operatechange
mail_cf_destination_deleteRemove a forward target ({id} from mail_cf_domain destinations[].id) from the Cloudflare account; it is removed account-wide, for every zonefulldestructive
mail_cf_disableTurn off Cloudflare Email Routing for a zone apex; mail to the domain is no longer forwardedfulldestructive
mail_cf_domainEmail Routing state of a Cloudflare zone: MX, forwarding rules, catch-all and destinations (with the rule and destination ids the other mail_cf_* ops take).readread
mail_cf_enableTurn on Cloudflare Email Routing for a zone apex.fulldestructive
mail_cf_permissionsWhich mail scopes (Email Routing rules/addresses, Email Sending, DNS) each Cloudflare connection’s token has; check this when a mail_cf_* op returns 403 cf_mail_scopereadread
mail_cf_rule_createForward an address of the domain to 1-10 inboxes outside that domain (forwarding into the same domain is refused).operatechange
mail_cf_rule_deleteDelete a forwarding rule ({id} from mail_cf_domain rules[].id)fulldestructive
mail_cf_rule_updateReplace a forwarding rule ({id} from mail_cf_domain rules[].id); same rules and pendingVerification as mail_cf_rule_createoperatechange
mail_cf_sending_applyMake a server send its mail through Cloudflare Email Sending.fulldestructive
mail_cf_sending_setupOnboard a Cloudflare zone apex to Cloudflare Email Sending and publish its DNS records; run before mail_cf_sending_applyoperatechange
mail_cf_zonesList the Cloudflare zones (from dns_connections) that can use Email Routing forward-only mail; the {domain} of every mail_cf_* op is one of these zone apexes.readread
mail_draft_saveSave a draft in the mailbox for a person to review and send (safer than mail_message_send; same body: plain text, max 20 recipients, text up to 256 KiB, no attachments)operatechange
mail_foldersList the folders of a mailbox hosted on a server (address = full mailbox address) with unread counts; needs the mail:read scopereadread
mail_inbox_allThe mailbox’s INBOX merged with the shared INBOXes it can read, newest first; query: page, pageSizereadread
mail_message_getRead one message as text with attachment names (query: folder, format=text|html|raw; raw adds raw_b64, max 10 MiB); marks it readreadread
mail_message_sendSend an email now from the mailbox (always from its own address; no undo).fulldestructive
mail_messages_listList (newest first) or search a mailbox folder; query: folder (default INBOX), q, scope=all|from|subject|body, page (0-based), pageSize 1-100 (default 25), since= for incremental sync (UID >= since, oldest first;…readread
mail_messages_modifyChange messages in a box mailbox.operatedestructive
mail_provider_applyMake the mail host relay its outgoing mail through this provider (SMTP relay).fulldestructive
mail_provider_domain_addCreate the provider’s sending identity for a domain.operatechange
mail_provider_domain_checkRe-check a sending domain’s DNS verification at the provider and return its status (DNS can take minutes to propagate)operatechange
mail_provider_domain_deleteRemove a sending domain; the mail host deletes its identity at the provider (409 server_offline / host_timeout block the delete)fulldestructive
mail_providers_createAdd a sending provider: kind=resend + apiKey, or kind=ses + accessKeyId, secretAccessKey and region.fulldestructive
mail_providers_deleteRemove a mail sending provider and its key from the mail hostfulldestructive
mail_providers_listList the org’s mail sending providers (Resend, Amazon SES) with key hint (last 4), capability and their sending domains with verification statusreadread
mail_settings_getOrg mail settings: hostServerId, primaryLoginDomain, and effectiveHostServerId (hostServerId, or the only server with mail installed when unset).readread
mail_settings_setChoose the org’s mail host server and primary login domain; omitted keys are unchanged, null or "" clears.fulldestructive
ToolWhat it doesLevelKind
metrics_getA server’s latest metrics (CPU/RAM/disk) from the last heartbeat.—read · core
ToolWhat it doesLevelKind
moves_createMove or clone a Docker app or stack to another server (Pro+).fulldestructive
moves_cutoverSwitch DNS and domains to the verified copy when autoCutover is off (Pro+; status must be ready, else 409 bad_state; 409 busy = a step is running, retry shortly)fulldestructive
moves_dns_doneConfirm the DNS records listed in moves_get were changed by hand (Pro+; status must be waiting_dns, else 409 bad_state)operatechange
moves_finishFinish a move now: permanently delete the stopped source on the old server (Pro+; status must be confirming, else 409 bad_state).fulldestructive
moves_getGet a move/clone: status (running, ready, waiting_dns, confirming, done, failed, rolled_back), its steps with job ids, the DNS records to change by hand and the keep period.readread
moves_keepChange how long the stopped source is kept after a move: 0, 1, 3, 7 or 14 days; 0 deletes the source now (Pro+; status must be confirming, else 409 bad_state)fulldestructive
moves_listList app/stack moves and clones, newest first; optional query serverId, kind=app|stack, name, open=1 (only unfinished ones)readread
moves_retryRun the failed step of a move again (Pro+; status must be failed, else 409 bad_state); then poll moves_getfulldestructive
moves_rollbackRoll a move/clone back: DNS points back, the source is started again and the target copy is deleted (Pro+; allowed while status is ready, waiting_dns or confirming, or failed before the source was deleted (see canRoll…fulldestructive
ToolWhat it doesLevelKind
network_getPrivate network (WireGuard mesh): peers, status and candidate servers (Pro+)readread
network_peer_addAdd a peer to the private WireGuard mesh: body {kind: “server”, serverId} (managed server) or {kind: “device”, name, deviceKind: laptop|phone|ci, publicKey (WireGuard), routeAll?}.fulldestructive
network_peer_deleteRemove a peer (server or device; id from network_get) from the private mesh; every member is reconfiguredfulldestructive
network_reconcileRe-apply the mesh config on every member (use after a member was offline or shows a stale config)operatechange
network_relayTurn the control-plane relay for the private mesh on or off: body {enabled: true|false} (no node is chosen).fulldestructive
ToolWhat it doesLevelKind
notes_createAdd a note to a server, site or Docker appoperatechange
notes_deleteDelete a noteoperatechange
notes_listNotes of one target (?kind=server|site|app&serverId=&ref=domain-or-stack)readread
notes_summaryNote counts per server, site and appreadread
notes_updateEdit or pin a noteoperatechange
ToolWhat it doesLevelKind
notifications_clearPermanently delete every notification in the org’s in-app feed (for all members); use notifications_read_all to only mark them readoperatechange
notifications_listLatest in-app notifications and the unread count (?limit=).readread · core
notifications_mark_readMark a notification readoperatechange
notifications_read_allMark every notification readoperatechange
notifications_unread_countUnread notification countreadread
ToolWhat it doesLevelKind
notify_box_alerts_getServer intrusion alert settings of the workspace: sshLogin (off | new_ip = only logins from an IP not seen on that server in 30 days | all), authorizedKeys (an authorized_keys file gained or lost keys; keys added thro…readread
notify_box_alerts_setSave the server intrusion alert settings (all four fields required).fulldestructive
notify_box_events_listRecent on-box security events reported by the agents, newest first (?serverId= to filter, required for members limited to some servers; ?limit= 1-200, default 50): items[{id, serverId, serverName, kind (ssh.login | ss…readread
notify_connections_createConnect a chat/alert app (email, Telegram, WhatsApp, Slack, Discord, Teams, webhook, Google Chat) for account-wide alerts; add destinations, then route events to them with notify_rules_create.fulldestructive
notify_connections_deleteDelete a connection and its destinationsoperatechange
notify_connections_listList chat/alert app connections and their destinations (secrets masked)readread
notify_connections_updateRename a connection or replace its secret (secret needs webhooks:admin)fulldestructive
notify_destinations_createAdd a destination (channel, chat, address) to a connectionfulldestructive
notify_destinations_deleteDelete a destinationoperatechange
notify_destinations_testSend a test message to a destinationoperatechange
notify_destinations_updateRename a destination or change its target (target needs webhooks:admin)fulldestructive
notify_rules_createCreate an alert routing rule: which events (see the events enum) at min_severity, from all servers or scope_server_ids, go to which destination_ids (from notify_connections_list).operatechange
notify_rules_deleteDelete an alert routing ruleoperatechange
notify_rules_listList account-wide alert routing rules (events → destinations)readread
notify_rules_updateEdit or disable an alert routing ruleoperatechange
ToolWhat it doesLevelKind
orgs_renameRename the workspace (owner only; 403 for others).operatechange
ToolWhat it doesLevelKind
php_listInstalled PHP versions on a server (from the panel cache).—read
ToolWhat it doesLevelKind
projects_createCreate a project; it starts with a production environment.operatechange
projects_deleteDelete a project, its environments and their shared variables (the apps, stacks, sites and databases stay on their servers, untouched)fulldestructive
projects_env_applyApply the project’s shared variables to its apps and stacks (Pro+).operatechange
projects_env_previewMerged shared variables of a resource (?resource=) or an environment (?environmentId=): key, scope, overridden by the app’s own valuereadread
projects_env_statusShared-variable sync status of every app and stack in a project (synced, pending, applying, out_of_sync, failed); check this after projects_env_applyreadread
projects_environment_cloneClone a project environment (Pro+).fulldestructive
projects_environment_clone_getOne environment clone: the status of each copy (pending, running, waiting_dns, done, failed, skipped) with move ids for app/stack copies (follow with moves_get) and job ids for same-server site copies (jobs_get)readread
projects_environment_clonesRecent environment clones of a project with the live status of each copy (pending, running, waiting_dns, done, failed, skipped)readread
projects_environment_createAdd an environment to a project; kind defaults to custom.operatechange
projects_environment_deleteDelete an environment and its shared variables; its resources leave the project but nothing is deleted on the servers.fulldestructive
projects_environment_updateRename, re-kind, protect or reorder an environment (position is 0-based)operatechange
projects_getOne project: environments and their resources (each with its resource id, used by projects_resource_remove and projects_env_apply) and live status from the server inventoryreadread
projects_listList projects with their environments, resource counts and health.readread
projects_resource_removeTake a resource out of its project; {rid} = the resource id from projects_get (the app, site or database itself is untouched)operatechange
projects_resourcesWhich project and environment each app, stack, site and database belongs to (keyed by serverId + kind + ref)readread
projects_resources_setAdd 1-100 apps, stacks, sites or databases to an environment, or move them there from another environment of the same project.operatechange
projects_updateRename or edit a project (name, description, color, icon, inheritOrgVars)operatechange
ToolWhat it doesLevelKind
protection_listServers, sites, apps and stacks protected from deletion.readread
protection_setProtect a server, site, Docker app or compose stack from deletion and overwrite (idempotent).operatechange
ToolWhat it doesLevelKind
registry_connections_createStore container registry credentials (username + access token) for private image pullsfulldestructive
registry_connections_deleteRemove a registry connectionfulldestructive
registry_connections_listList container registry connections (tokens never returned)readread
registry_connections_updateRename a registry connection or change its host, username or tokenfulldestructive
registry_connections_verifyCheck a registry connection’s credentials against the registry (/v2/ token handshake)operatechange
ToolWhat it doesLevelKind
search_docsSearch MZPanel documentation and knowledge base (user docs + how-to/troubleshooting) for how to do something or fix an error.—read · core
ToolWhat it doesLevelKind
server_alert_channels_createAdd an alert channel to one server, used only by that server’s metric alert rules (server_alert_rules).fulldestructive
server_alert_channels_deleteDelete a server alert channeloperatechange
server_alert_channels_listAlert channels of a server (targets masked)readread
server_alert_channels_testSend a test alert to a server channeloperatechange
server_alert_channels_updateEdit a server alert channel (changing type/target needs webhooks:admin)fulldestructive
server_alert_rules_createCreate a metric alert rule on a server: metric operator threshold held for durationSec (e.g.operatechange
server_alert_rules_deleteDelete a metric alert ruleoperatechange
server_alert_rules_listMetric alert rules of a serverreadread
server_alert_rules_updateEdit or pause a metric alert ruleoperatechange
server_mcp_tokens_listPer-server MCP tokens (metadata only) and the MCP endpointreadread
server_mcp_tokens_revokeRevoke a per-server MCP tokenoperatechange
server_tags_createCreate a server tag; assign it with servers_update {tagId} (one tag per server, null clears)operatechange
server_tags_deleteDelete a server tag (servers keep running, just untagged)operatechange
server_tags_listList server tags (one tag per server; ids for servers_update tagId)readread
server_tags_updateRename or recolor a server tagoperatechange
ToolWhat it doesLevelKind
servers_advice_summarySmart Advice counts for one server (cheap, no job): {total, critical, warning, info, sites:[{domain, count, severity (the worst)}]}, dismissed advice excluded, worst sites first.readread
servers_agent_token_getAgent token rotation state of a server: supported (its agent can rotate, agent 0.2.146+), online, agentVersion, pending (a rotation is being confirmed), rotatedAt, overlapEndsAt (the previous token still works until t…readread
servers_countsWhat is on one server, counted from the cached inventory in one read: {serverId, isOnline, sites, apps (Docker), databases, php (versions), ssl (certificates), cron (site and panel-managed jobs, OS maintenance cron ex…readread
servers_createAdd a server: returns {install_token_id, expires_at, api_url, install_token, one_liner, server_name, location, notes}.fulldestructive
servers_deleteRemove a server from the fleet.fulldestructive
servers_docker_allList Docker apps (single-container apps managed by MZPanel) across the fleet, from cached inventoryreadread · core
servers_docker_resources_allList Docker images/volumes/networks across the fleetreadread
servers_domains_allList domains across the fleetreadread
servers_extensions_installedInstalled extensions per serverreadread
servers_hostname_setSet the hostname shown in the panel (body {hostname}, a valid DNS name up to 253 chars).fulldestructive
servers_inventoryCached inventory pushed by the agent: {items, meta, synced_at, is_online}.readread · core
servers_inventory_refreshAsk the agent to re-collect one inventory kind now (async): returns {ok, online}.readread · core
servers_ip_getPublic IP the panel uses for the server: {stored, observed, ipUpdatedAt, impact{mesh, lb, dns}}.readread
servers_ip_setOverride the server’s public IP.operatechange
servers_listList the servers in your fleet (name, id, online).—read · core
servers_mail_allList mail domains, mailboxes and aliases across the fleetreadread
servers_metrics_historyServer metrics time series (?range=1h|6h|24h|7d|30d|90d|1y, default 24h): {range, bucket_sec, points, series{t (ms), cpu, mem, disk, swap, load1, net_rx, net_tx}}.readread
servers_metrics_watchStart (or stop, with stop:true) live metric pushes for watcher id wid (live:true = fast interval, force:true = restart).readread
servers_provisionInstall or repair the base stack with the given choices (idempotent: installed parts are skipped) and save them as the server’s install config.fulldestructive
servers_provision_getProvisioning state of a server and the install config last applied (components, PHP versions, …)readread
servers_provision_remediateRe-apply a saved server template to the box: body {template_id (required, from templates_list), force?}.fulldestructive
servers_sitesSites on one server (all site types), from the agent-pushed inventory cachereadread · core
servers_sites_allList every site (all types: WordPress, static, PHP, Node.js, Python, Go) across the fleet, from each server’s cached inventoryreadread · core
servers_sites_refreshAsk the agent to re-push its sites inventory now (async): returns {ok, online}.readread
servers_sites_refresh_allAsk every online server you fully manage to re-push its sites inventory now, in one call (async): returns {asked, offline, failed}.readread
servers_stacks_allList Docker Compose stacks across the fleet, from cached inventoryreadread · core
servers_traffic_historyWeb request/traffic time series (?range=1h|6h|24h|7d|30d|90d|1y, default 24h): series reqps, req_2xx..req_5xx, cache_ratio, cache_hit, cache_miss, bytes, conn_active, conn_httpsreadread
servers_tunnel_createCreate (or re-install) a Cloudflare Tunnel for a server on the org’s own Cloudflare account and install the cloudflared connector on the box as a systemd service.operatechange
servers_tunnel_deleteRemove the server’s Cloudflare Tunnel: uninstalls the connector (when the box is online), deletes every CNAME MZPanel created for it (only records still pointing at this tunnel) and the tunnel at Cloudflare.fulldestructive
servers_tunnel_getCloudflare Tunnel of a server (homelab boxes behind NAT): {homelab, tunnel: null | {tunnelId, zone, status pending|installing|active|failed, error, cfStatus healthy|degraded|down|inactive (live from Cloudflare; ?live=…readread
servers_tunnel_route_addRoute a public hostname through the server’s Cloudflare Tunnel to the box’s nginx: adds the ingress rule and a proxied CNAME to .cfargotunnel.com.operatechange
servers_tunnel_route_deleteStop routing a hostname through the server’s Cloudflare Tunnel: removes the ingress rule and the CNAME MZPanel created (the name stops resolving).fulldestructive
servers_updateRename a server and optionally set its notes, location, tag, homelab flag or placement opt-out.operatechange
ToolWhat it doesLevelKind
service_controlStart / stop / restart / enable / disable a managed system service (nginx, php8.3-fpm, mariadb or mysql, redis-server, docker, fail2ban…).—change
ToolWhat it doesLevelKind
services_statusStatus of managed system services on a server (from the panel cache).—read · core
ToolWhat it doesLevelKind
site_createCreate a new WordPress site on a server (nginx vhost + DB + WP install).—change
site_getGet one site by its domain (from the panel cache).—read
site_tags_assignments_listWhich tags each site carries (?kind=app: each Docker app)readread
site_tags_assignments_setReplace the tags of one site or Docker app (kind=app: domain = stack name)operatechange
site_tags_createCreate a site tag; attach it with site_tags_assignments_setoperatechange
site_tags_deleteDelete a site tag and its assignmentsoperatechange
site_tags_listList site tags (a shared pool used for sites and Docker apps; a site can carry many)readread
site_tags_updateRename or recolor a site tagoperatechange
ToolWhat it doesLevelKind
sites_adviceSmart Advice for one site: what to fix, from facts the control plane already holds (no job, works offline).readread
sites_advice_dismissHide one advice of a site for the whole workspace: body {days: 1-90} snoozes it (it comes back after that), no body dismisses it until restored.operatechange
sites_advice_restoreShow a dismissed or snoozed advice of a site again.operatechange
sites_clone_xserverClone a site (WordPress, static, PHP or app runtime; files + database) from this server to another server under newDomain.fulldestructive
sites_faultsHow often a site hit its resource caps (OOM kills, memory/process limits, CPU throttling) over time (?range=1h|6h|24h|7d|30d, default 24h)readread
sites_listList the sites/apps on a server (from the panel cache).—read
sites_usage_rankingRank the sites of one server by the resources they used over a window: answers {range, window_sec, sort, sites:[{domain, cpu_sec, cpu_avg_pct (percent of one core over the window), mem_avg_mb, mem_peak_mb, faults{oom_…readread
ToolWhat it doesLevelKind
ssl_listList a server’s TLS certificates + expiry dates (live).—read
ssl_renewRenew Let’s Encrypt certificates on a server.—change
ToolWhat it doesLevelKind
stack_webhooks_deleteRemove the push-to-deploy webhook of a Docker stack; pushes stop triggering rebuildsoperatechange
stack_webhooks_getGit push-to-deploy webhook of a Docker stack (URL, secret, branch, last delivery, cancel_previous); {webhook: null} when nonereadread
stack_webhooks_setCreate the push-to-deploy webhook of a Docker stack (or change its branch / cancel_previous); returns {webhook:{url, secret, branch, cancel_previous}}.operatechange
ToolWhat it doesLevelKind
stacks_deploymentsDeploy history of one Docker Compose stack, newest first (?status=queued|building|ready|failed|canceled, ?limit 1-100 default 20, ?before= the previous page’s nextBefore): {deployments: [Deployment], nextBefore: times…readread
stacks_listList a server’s Docker Compose stacks (live).—read
ToolWhat it doesLevelKind
storage_cleanFree disk space on a server.—change
ToolWhat it doesLevelKind
support_requests_cancelCancel a support request (status cancelled).operatechange
support_requests_createAsk MZPanel staff for help (a human, not the AI assistant): category, subject, description, optionally about one server and optionally allowing support access.operatechange
support_requests_getOne support request with its status and support access state (accessActive, accessUntil)readread
support_requests_listSupport requests you filed with MZPanel staff (newest first, 100): {requests: [{id, serverId, serverName, category, subject, body, status open|in_progress|resolved|cancelled, access none|consent, accessUntil, accessAc…readread
support_requests_revoke_accessEnd consent support access now and keep the request open (409 access_not_consent when the request has no consent access)operatechange
ToolWhat it doesLevelKind
team_activityRecent team activity from the audit log (who did what, when), newest first; optional query limit (1-200, default 60), before (cursor = nextCursor), token= (only what that token did: its api.* calls and t…readread
team_inviteInvite a member by email with a role and scope (owner only; sends an invite email).fulldestructive
team_invite_resendRe-send a pending invite with a fresh link (owner only)operatechange
team_member_deleteRemove a member from the team (owner only; use team_member_suspend to pause access instead)fulldestructive
team_member_reactivateRestore a suspended member’s access (owner only)operatechange
team_member_suspendSuspend a member’s access without removing them (owner only); undo with team_member_reactivateoperatechange
team_member_updateChange a member’s role, scope or shell access (owner only).fulldestructive
team_membersTeam roster: members with role, scope (all, server or site), shell access and status, plus seat and client usage; member ids for the team_member_* opsreadread
ToolWhat it doesLevelKind
templates_captureDerive {config, tuning} from a server’s current inventory (read-only; nothing is saved, pass the result to templates_create)readread
templates_createSave a server template.operatechange
templates_deleteDelete a server templatefulldestructive
templates_listList server templates (saved install config + optional tuning)readread
templates_updateEdit a server template (same config/tuning keys as templates_create; tuning null clears it)operatechange
ToolWhat it doesLevelKind
tools_callRun any MZPanel tool by name with its arguments (find names and argument schemas with tools_search).—change · core
tools_searchFind MZPanel tools beyond the core set listed here (0 in this token’s catalog): DNS, TLS, backups, mail, databases, WordPress, Docker, uptime, network, load balancers, projects, team, billing… Search by what you wan…—read · core
ToolWhat it doesLevelKind
uptime_channels_createAdd an uptime alert channel (webhook, Slack, Telegram, email) for uptime monitors only.fulldestructive
uptime_channels_deleteDelete an uptime alert channeloperatechange
uptime_channels_listList uptime alert channels (targets masked); these are used only by uptime monitorsreadread
uptime_channels_testSend a test alert to a channeloperatechange
uptime_channels_updateEdit an uptime alert channel (changing type/target needs webhooks:admin)fulldestructive
uptime_discoverSuggest monitors from the fleet’s sites and appsreadread
uptime_incidentsRecent uptime incidentsreadread
uptime_monitors_bulk_createCreate up to 100 monitors at onceoperatechange
uptime_monitors_checkProbe a monitor nowoperatechange
uptime_monitors_createCreate an uptime monitor: http (target = URL; expectCode/expectKeyword optional), tcp (host:port) or ping (host); intervalSec min 30; channelIds from uptime_channels_list.operatechange
uptime_monitors_deleteDelete a monitor and its history; its open uptime.down inbox item is resolved.operatedestructive
uptime_monitors_listList uptime monitors with stats (status, last check, response time)readread
uptime_monitors_updateEdit or pause a monitor.operatechange
uptime_status_page_getThe org’s public status page settingsreadread
uptime_status_page_setConfigure the org’s status page: slug (lowercase letters, digits, dashes; global, 409 slug_taken), title, monitorIds.fulldestructive
ToolWhat it doesLevelKind
wc_couponsList coupons of a WooCommerce site (query: scope=site and domain= REQUIRED; search, page, per_page)readread
wc_customersList customers of a WooCommerce site (query: scope=site and domain= REQUIRED; search, page, per_page)readread
wc_ordersList orders of a WooCommerce site (query: scope=site and domain= REQUIRED; status, search, id = one order, page, per_page)readread
wc_productsList products of a WooCommerce site (query: scope=site and domain= REQUIRED; search, stock_status, page, per_page)readread
wc_reportSales report of a WooCommerce site (query: scope=site and domain= REQUIRED; days up to 365)readread
wc_statusWooCommerce status of a WordPress site; check it before the other wc_* reads (query: scope=site and domain= REQUIRED)readread
ToolWhat it doesLevelKind
wp_abilities_discoverList the WordPress abilities a site exposes (WordPress 6.9+ Abilities API: actions plugins such as WooCommerce register with an input schema, a permission check and readonly/destructive annotations).readread
wp_ability_executeRun a WordPress ability on a site and answer its result inline (waits up to 60 s, ?wait 1-90; 202 {job_id, status, waited} if still running, then poll jobs_get / jobs_output).readread
wp_ability_infoOne WordPress ability with its input and output JSON schema and its class (query: domain and name=<namespace/ability> REQUIRED).readread
wp_cacheWordPress cache op on a site: status (read), purge (clear the whole page cache), warm (preload), or opcache-reset.—change
wp_market_plugin_infoDetails of wordpress.org plugins (query: slugs, comma-separated)readread
wp_market_pluginsSearch the wordpress.org plugin directory (query: q)readread
wp_market_theme_infoDetails of wordpress.org themes (query: slugs, comma-separated)readread
wp_market_themesSearch the wordpress.org theme directory (query: q)readread
wp_media_listList the media library of a WordPress site (query: scope=site and domain= REQUIRED; search, type=image|video|audio|document, filter=missing_alt|unattached|large|oversized, sort=date|size|name, page, per_page; id…readread
wp_package_uploadStage a plugin/theme .zip (REST multipart only: file, kind=plugin|theme; max 64 MB).operatechange
wp_posts_listList posts, pages or any custom post type of a WordPress site (query: scope=site and domain= REQUIRED, else 400 “Site scope required”; kind=post|page|<post_type> default post, statuses=publish,draft,… up to 10…readread
wp_terms_listList categories or tags of a WordPress site (query: scope=site and domain= REQUIRED; taxonomy=categories|tags, include=, search, page, per_page up to 200)readread
wp_updateUpdate a WordPress site: core, plugins, or themes (optionally specific slugs).—change
wp_users_listList the users of a WordPress site (query: scope=site and domain= REQUIRED, else 400 “Site scope required”; search, page, per_page)readread