zynohosting
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zynohostinglist my sites"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ZynoHosting CLI and MCP server
@zyno-io/zynohosting is the public command-line and local MCP client for ZynoHosting. It can:
list sites authorized for the current tenant credential;
inspect, download, upload, and delete individual files;
preview and apply complete manifest-driven deployments;
download a complete deployable snapshot or, with the extra permission, all user content;
discover, create, inspect, edit, embed, and configure published ZynoForms;
expose the same operations to agents through a local stdio MCP server.
The package requires Node.js 24.
Full CLI and MCP documentation is available at zyno-io.github.io/zynohosting-cli.
Install
npm install --global @zyno-io/zynohosting
zynohosting --helpIt installs two executables:
zynohosting— the human and CI command-line interface;zynohosting-mcp— the local stdio MCP server.
You can also run commands without a global install:
npx -y @zyno-io/zynohosting sites listRelated MCP server: gemini-cli-bridge
Authenticate
For an interactive user:
zynohosting login --permission hosting.sitesRead
zynohosting login \
--name "Claude MCP — work laptop" \
--permission hosting.sitesRead \
--permission hosting.deploy \
--permission forms.create \
--permission forms.edit \
--renewableBrowser login creates a tenant-bound scoped CLI token. hosting.sitesRead is requested when no --permission is supplied; repeat the option to request the narrowest complete set for your workflow. Access tokens always expire after 60 minutes. --renewable stores the rotating renewal credential in the operating system credential store and lets long-running CLI/MCP processes refresh automatically. While MCP remains alive, it renews in the background even when no tools are being called; each request also checks freshness as a backstop. The renewal secret is never written to the JSON config file.
Revoke the saved scoped grant and remove its local credentials with zynohosting logout.
For CI or another non-interactive environment, inject a tenant API key:
export ZYNOHOSTING_API_KEY='...'The CLI also accepts --environment production|alpha|dev and --api-url. Credentials are resolved in this order:
command options;
environment variables;
the saved login file.
Relevant environment variables are:
ZYNOHOSTING_API_KEYZYNOHOSTING_ACCESS_TOKENZYNOHOSTING_TENANT_IDZYNOHOSTING_TOKEN_EXPIRES_ATZYNOHOSTING_API_URLZYNO_SUITE_API_URLZYNO_AUTH_API_URLZYNOHOSTING_ENVIRONMENTZYNOHOSTING_CONFIGZYNOHOSTING_LOGIN_URL
Sites
zynohosting sites list
zynohosting sites get example.com
zynohosting sites get 11111111-1111-4111-8111-111111111111 --jsonA site may be addressed by its UUID, primary hostname, vanity hostname, or authorized alias.
Individual files
Remote paths are relative to the site document root. Absolute paths, .., control characters, backslashes, and symbolic-link traversal are rejected.
zynohosting files list example.com
zynohosting files list example.com wp-content/themes --recursive
zynohosting files get example.com index.html --output ./index.html
zynohosting files put example.com ./index.html index.html
zynohosting files rm example.com obsolete.html --yesUse ETags to prevent overwriting a file that changed since it was inspected:
zynohosting files put example.com ./index.html index.html --etag '"etag-from-list"'
zynohosting files rm example.com obsolete.html --etag '"etag-from-list"' --yesUse --create to require that an uploaded path does not already exist.
Full deployment
zynohosting deploy example.com ./dist
zynohosting deploy example.com ./dist --dry-run
zynohosting deploy example.com ./dist --yesDeployment is always planned before it is applied. The client and node agent:
agree on protocol limits and mandatory ignores;
inventory local and remote content;
hash only same-size candidates;
return the exact create, replace, and delete plan;
upload only changed files;
revalidate the remote snapshot before mutation;
invalidate the site cache after a successful apply.
The mandatory deployment scope excludes platform-managed configuration, uploads, caches, logs, VCS data, and dependencies. Add project exclusions in .zynohostingignore or with --ignore.
An empty local deployment requires --allow-empty before it may delete the remote deployable scope.
Complete download
The default snapshot mirrors the deployable scope:
zynohosting download example.com ./site-copyDownloading protected configuration and user-generated content requires the separate hosting.downloadSensitive permission:
zynohosting download example.com ./complete-copy --sensitiveThe destination must be new or empty. Archive bytes are extracted as the hosting node generates them; the CLI validates the transport completion, gzip stream, and tar entries before atomically installing the staged tree. Absolute paths, traversal, links, devices, and other unsupported entries are rejected.
Local MCP server
The MCP server is local stdio only. It does not open a port or provide a hosted/cloud MCP endpoint.
For a non-technical user, paste this into Codex or Claude Code:
Set up ZynoHosting MCP for this project if it's not already configured. See https://raw.githubusercontent.com/zyno-io/zynohosting-cli/main/docs/mcp/agent.md for details.
The agent configures only its own project file—.mcp.json for Claude Code or .codex/config.toml for Codex—without storing credentials. Restart the agent after it completes; MCP tools are not added to an already-running session. That prompt points at install instructions written for the agent; the matching prompts for the user cover signing in, publishing, and forms.
ZYNOHOSTING_MCP_ROOTS is an optional local-computer allowlist for the MCP process. When it is unset, local-file tools can use any absolute path the MCP process user can access. When roots are configured, local file reads, writes, deploy sources, ignore files, and download destinations are constrained to them after canonical path resolution.
Direct invocation:
zynohosting-mcp --root /absolute/path/to/projectThe package’s main binary also exposes the registry-friendly form:
npx -y @zyno-io/zynohosting mcp --root /absolute/path/to/projectExample client configuration:
{
"mcpServers": {
"zynohosting": {
"command": "npx",
"args": ["-y", "@zyno-io/zynohosting", "mcp"],
"env": {
"ZYNOHOSTING_MCP_ROOTS": "/absolute/path/to/project"
}
}
}
}On macOS and Linux, multiple ZYNOHOSTING_MCP_ROOTS use : as the delimiter. Windows uses ;. Repeated --root arguments are also supported.
The MCP tools are:
loginlist_sitesget_sitelist_formsget_form_integrationdescribe_formcreate_basic_formupdate_formupdate_form_bot_protectionupdate_form_originslist_filesget_fileput_filedelete_fileplan_deployapply_deployplan_downloadapply_download
Full deploys and downloads intentionally use separate plan/apply calls. Plans are held only in the local MCP process, contain no exposed bearer token, expire with their short-lived access session, and cannot be applied after the server restarts.
The MCP can start without a saved login. The agent calls login to open the ZynoSuite browser sign-in flow and receives the one-time URL in its tool result; after the browser callback, it calls login with action: "status" to confirm the login. It must never infer a deployment domain from the project or select a similar authorized site; it asks when the project does not state the target domain. If the stated domain is unavailable in the current login context, it must not substitute another one and should offer login again to switch contexts.
Permissions
The tenant credential is limited by explicit Hosting and Forms permissions:
Permission | Capability |
| List and inspect sites |
| List files and download individual files |
| Create and replace individual files |
| Delete individual files |
| Plan and apply full deployments |
| Download the deployable snapshot |
| Include protected and user-generated content |
| Read hosting analytics |
| Change analytics configuration |
| Create and immediately publish a basic form |
| Edit a form, its Cap protection, and allowed CORS origins |
The form discovery and integration tools use the same tenant credential against the ZynoSuite API. Adding origins from a hosting-site reference also requires hosting.sitesRead.
Tenant admins receive the normal administrative defaults. Non-admin credentials receive only the operations explicitly granted to them.
That table is the complete set. zynohosting login --help prints it, and the MCP login tool enumerates it in its schema, so an invented key such as hosting.sitesWrite is rejected locally—naming the closest valid key—before a browser opens. CLI-token requests cannot include msp.login, msp.impersonate, core.changePassword, or core.manageFingerprints. The browser also refuses unknown permissions and permissions the current user does not possess; it never partially grants a request.
Only one MCP browser flow runs at a time. Repeating login with the same request returns the same one-time URL ("reused": true); requesting different permissions cancels the in-flight flow and issues a new URL rather than handing back the earlier scope. action: "cancel" abandons a flow and closes its loopback listener.
JSON output
Most CLI commands accept --json. Deploy emits newline-delimited progress, plan, and result events; list and file commands emit a single JSON document.
Public API and release process
The public documentation site covers CLI commands, MCP tools, configuration, permissions, and safety. The manager and node-agent contract is documented in BACKEND_PLAN.md. Maintainer release setup and the tag-only mirror design are documented in RELEASING.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server to help manage a WHMCS installation.623419MIT
- Alicense-qualityDmaintenanceExposes the local Gemini CLI as an MCP stdio server, providing tools for prompting, web search, file operations, and MCP management, enabling AI clients like Codex CLI and Claude Code to interact with Gemini.7MIT
- Alicense-qualityDmaintenanceStdio MCP server for sandboxed file access — read files, search content, safely edit with checksums, and manage file structure.8ISC
- Flicense-qualityCmaintenanceA production-ready MCP server providing file, system, math, and text utilities through a simple CLI client.
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for interacting with the Supabase platform
Zero-install remote MCP server for proof-of-existence file attestation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zyno-io/zynohosting-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server