# Miabi CLI MCP server

> An imperative command-line client for managing Miabi control panels, application deployments, databases, and host infrastructure.

- Repository: https://github.com/miabi-io/cli
- Page: https://hostedmcp.org/servers/miabi-io/cli
- Transport: —
- Stars: 5
- License: AGPL-3.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MIABI_SERVER` | no | no |  |
| `MIABI_TOKEN` | no | no |  |

## FAQ

### How do I deploy an application using the Miabi CLI?

You can drive the deploy flow from a terminal using the command `miabi apps deploy web --tag $SHA --wait`, which updates the image and blocks until the deployment is terminal.

### Can I use the Miabi CLI in a CI/CD pipeline?

Yes, you can run the CLI via Docker in a pipeline, which is useful for automated deployments.

### How does the CLI manage a Miabi host?

The CLI uses commands like `setup` and `upgrade` that interact directly with the local Docker socket on the machine rather than the HTTP API.

### What databases are supported by Miabi?

The CLI manages several database instances including PostgreSQL, MySQL, MariaDB, Redis, MongoDB, and libSQL.
