Deploy and manage apps, databases, volumes and domains on Hostim, an EU cloud hosting platform.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Command-line interface for the Hostim cloud platform.
Create and manage projects, apps, databases (MySQL / Postgres / Redis), volumes
and domains from a terminal or a CI pipeline, over the public REST API at
https://api.hostim.dev.
This file is the complete manual. The binary carries the same text: run
hostim agent to print it to stdout, so an agent or a script can read the
whole manual without network access.
Beta. The CLI and the public API are in beta. Commands, flags, output and API responses can change between releases. Check the release notes before you upgrade.
The script downloads the release binary for the current OS and architecture
(Linux and macOS, amd64 and arm64) and installs it into /usr/local/bin, using
sudo when that directory is not writable. When it is not writable and sudo
is not installed either β a plain container, for example β the script falls back
to ~/.local/bin and tells you if that directory is not on your PATH. Set
PREFIX to choose the location yourself:
Some agents and CI policies refuse to pipe a downloaded script into a shell. The script is not required β fetch the release binary directly:
Build from source instead (Go 1.26+):
Check the install:
hostim login uses a device code. It prints a URL and a short code, you approve
the request in the browser, and the token is saved automatically:
hostim login polls until you approve and saves the token itself, so there is
no need to write a waiting loop around it or to run it a second time. The
browser step does not need a terminal, so an agent can run hostim login and
show you the code. If you already have a token, store it directly instead β
create one in the dashboard at https://console.hostim.dev:
login validates the token against the API before saving it to
~/.config/hostim/config.yml (mode 0600). In CI, skip login and export
HOSTIM_TOKEN instead β no file is written.
Most commands act on one project. Set a default once:
Values are resolved as flag β environment variable β config file, with a built-in default for the API URL.
| Value | Flag | Environment variable | Config key |
|---|---|---|---|
| API token | --token | HOSTIM_TOKEN | token |
| API base URL | --api-url | HOSTIM_API_URL | apiUrl (default https://api.hostim.dev) |
| Target project | -p, --project | HOSTIM_PROJECT | currentProject, set by hostim use |
The config file lives at ~/.config/hostim/config.yml, or
$XDG_CONFIG_HOME/hostim/config.yml when XDG_CONFIG_HOME is set:
Projects and apps can be named by name or by ID everywhere.
Available on every command:
Destructive commands (rm, templates apply) ask for confirmation and take
-y / --yes to skip the prompt.
Default output is an aligned text table meant for a human. -o json switches
every command to machine output and is the right mode for scripts and agents:
{"status":"created","kind":"app","name":"web"} or
{"status":"ok","kind":"env","set":1};{"status":"error","error":"..."}, and exit non-zero. When a command is
short of several requirements, the object carries a "missing" array listing
all of them at once.Exit codes:
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | any CLI or API error, or an aborted confirmation |
| other | hostim exec passes through the remote command's exit status |
Every example below is runnable as written once a token and a project are set.
--region is required on create; see hostim regions ls for the values.
projects export writes a desired-state template, not a backup: volume and
database contents (data) are not exported. Costs, IDs, built-in domains and
unused source blocks are stripped, and env var values are exported RAW β the
file holds secrets (passwords, API keys), so store and share it like a
password file. Docker registry passwords and git tokens are not readable
through the API and are left out (registry usernames are kept); set them
again after applying.
Redeploy with hostim templates apply -f prod.yml --new-project prod-clone.
hostim deploy <app> creates the app when it does not exist (from --git or
--docker-image) and otherwise updates its source and triggers a rebuild. It
waits for the build and exits non-zero if the build fails, so it drops straight
into a pipeline. hostim apps deploy is the same command.
Flags:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hostim)<a href="https://allmcps.com/mcp/hostim"><img src="https://allmcps.com/api/badge/hostim?style=directory" alt="Hostim on AllMCPs" /></a>