Deploy to an MIE OpenSource cluster¶
Connect to the requested cluster¶
Read the Cluster Manager link on the homepage the user supplied. Use that HTTPS origin for authentication and API calls. Its hostname can differ from both the homepage and the application's public hostname. If the link points to an unexpected organization, resolve the intended Manager with the operator before signing in.
- MCP client. Connect to
<manager-origin>/mcpusing Streamable HTTP. SetAuthorization: Bearer <key>from the client's secret store using a key issued by that Manager. Callget_sessionto verify the account, thenlist_sitesto identify the deployment site. - CLI. Use the installed
mieweb, ornpx miewebwith Node.js 22.18 or newer. Its default Manager serves os.mieweb.org. For another Manager, set its origin first. Runmieweb whoami(ornpx mieweb whoami). If sign-in is needed, runmieweb login, or itsnpxequivalent, then verify again.loginprints a Manager URL and a short code; the user can approve on any device after confirming the code matches the terminal. For a non-interactive runner such as CI, supply a Manager API key through its secret store. - HTTP client. Read the target Manager's
/api/openapi.jsonfor its REST paths, operations and authentication requirements. The Manager reference describes the same provisioning steps. The optional connection check can verify MCP access using a saved CLI login.
Select how the application will run¶
| Application | Deployment path |
|---|---|
| Existing PHP, Python, Go, JVM or other server | Provision a guest with the Manager. Install the application's release into it, or build a compatible OCI image with an enabled service. For a private repository, a generic image plus private artifact delivery keeps the source private. See Manager operations. |
Node application using the @mieweb/cloud contract |
Use the mieweb target, wrangler.jsonc, and the OS provider. It syncs the worktree over SSH and reconciles services and environment settings. See Cloud and automation. |
| GitHub event or AI-requested deployment | Run a reviewed workflow for that project's deployment path. Launchpad supports disposable previews from registry images. A durable app can use a workflow that updates the existing guest. See Cloud and automation. |
For any path, establish the actual release command, HTTP listener, health check, background workers, scheduled jobs, application key and persistent data. When reusable instructions are applied to a project, keep its build commands and test results in that project's runbook.
Verify and operate¶
For an authorized experiment, use a uniquely named preview with synthetic data. If a matching name exists, inspect its owner, purpose and attached resources before using it. For a live release record the source commit or image tag/digest, Manager origin, site ID, Manager container ID, job ID and returned application URL. Keep credentials and environment values out of receipts.
After a change, verify the job's terminal state, the container's state, the intended external routes and access behavior, and a meaningful application operation. For a protected site test both a signed-out request and an authorized session. If cluster access or sign-in is unavailable, report the specific boundary between a local app test, a simulated Manager operation, and a live deployment. For subsequent updates, investigations or rollback, follow Manager operations.