Skip to main content

Monarch Cloud CLI

A lightweight public developer client for the existing Monarch REST Platform API.

python -m pip install monarch-cloud
monarch login
monarch whoami
monarch catalog
monarch gpus
monarch models --scope catalog
monarch jobs
monarch wallet
monarch init "My app" --blueprint backend
monarch status
monarch dev
monarch deploy hello ./hello.js

Authentication: monarch login prompts for an existing Monarch REST API key without echoing it, validates it against GET /v1/account/identity, then saves it in a mode-0600 file under your user configuration directory. For ephemeral environments set MONARCH_API_KEY instead; this takes precedence. This is REST API-key login, not the OAuth browser flow used by the MCP connector. Key creation and account access are provided through Monarch Cloud.

monarch mcp prints the public OAuth MCP endpoint for compatible AI clients; it does not bundle an MCP server or impersonate an OAuth token.

Command surfaces

  • Discovery: catalog, gpus, models, datasets, jobs, job ID, wallet, inference-models, whoami.
  • Projects: init, status, dev, deploy NAME SOURCE_JS.
  • Migration: migrate, migrate-storage, migrate-postgres, migrate-gcs, import-documents.
  • Account: login, logout, mcp.

deploy deploys one JavaScript Project Function, not arbitrary whole-app infrastructure. Some public REST APIs and the MCP's purpose-built tools are not yet wrapped as CLI commands; Cloud, REST and MCP remain the source of truth.

Project selection is stored in .monarch/project.json. The one-time Project server key is saved in .monarch/server-key and must never be committed. Source migration secrets are only read from environment variables or named credential files, not CLI arguments. The server enforces the same account, scope, billing, quotas, and approvals as its other public clients.

For maintainers

The public release is built from the canonical implementation at scripts/monarch_platform.py using python scripts/package_monarch_cloud.py --build. The staging tool copies only this public module, the package metadata, and this README into an isolated temporary build directory. The private ./monarch operator CLI, admin scripts, deployment infrastructure, and internal MCP server are not packaged.

There is no CI publisher and no GitHub Actions workflow. The owner publishes the reviewed files to PyPI explicitly after checking the build. See docs/operations/MONARCH_CLOUD_PYPI.md for release instructions.

Metadata

Release files for monarch-cloud 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monarch-cloud 0.1.0
File Size Uploaded Provenance Actions
monarch_cloud-0.1.0.tar.gz 11.7 kB Without provenance Details for monarch_cloud-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for monarch-cloud 0.1.0
File Interpreter ABI Platform Actions
monarch_cloud-0.1.0-py3-none-any.whl Python 3 none any Details for monarch_cloud-0.1.0-py3-none-any.whl

Total release size: 22.4 kB

Release files / monarch_cloud-0.1.0.tar.gz

Download URL monarch_cloud-0.1.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
928d2917dcbe43de3310359db4733a9a127c8c3e8f31a66ace74d30c6ca07a91
BLAKE2b-256 checksum
How to use checksums
ebeb10eaf1ebad6e07e8d861b053c312db504257086d986191d9eae352e257e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / monarch_cloud-0.1.0-py3-none-any.whl

Download URL monarch_cloud-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7dc74ecf7d266b2b5b90b0b6205783a3ebe241ed3323db84fd3acccfe471958
BLAKE2b-256 checksum
How to use checksums
507865bbf9bd4cc71a8ad35d5b8b8b704e13a2c213867627c8c7471111dfc703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for monarch-cloud 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page