Skip to content

Install

The CLI, the MCP server, and shell completion. The command is always grid.

Terminal window
npm install -g @cloudgrid-io/cli

The npm package is @cloudgrid-io/cli. It installs the grid command. Requires Node.js 22 or later.

Update to the latest version:

Terminal window
npm update -g @cloudgrid-io/cli
Terminal window
brew install cloudgrid-io/tap/grid

This taps cloudgrid-io/homebrew-tap and installs the same CLI, exposing the grid command.

Terminal window
grid --version
grid doctor

grid doctor runs diagnostic checks: Node.js version, Docker availability, config file, API reachability, authentication status, and common port conflicts. Add --fix to repair ~/.cloudgrid/config.yaml.

Terminal window
grid login

Opens a browser for Google OAuth and stores a token at ~/.cloudgrid/credentials. For headless environments use grid login --no-browser. See Authentication for all options.

Terminal window
# bash
grid completion bash >> ~/.bashrc
# zsh
grid completion zsh >> ~/.zshrc
# fish
grid completion fish > ~/.config/fish/completions/grid.fish

The MCP server is a separate npm package, @cloudgrid-io/mcp. It exposes the grid actions as grid_* MCP tools so AI assistants can build and plug apps for you.

Run the local (stdio) edition with no install:

Terminal window
npx -y @cloudgrid-io/mcp

It reuses the same ~/.cloudgrid/credentials as the CLI, so no separate login is needed. Remote-capable clients can point at https://mcp.cloudgrid.io/mcp instead of running anything locally; the AI tool opens CloudGrid sign-in the first time a tool needs your account. See Connect a client for per-client setup and the MCP overview for the editions.

Claude Desktop users can add the connector with no install: Customize, Connectors, add a custom connector with https://mcp.cloudgrid.io/mcp (steps in Connect a client). Claude opens CloudGrid sign-in the first time a tool needs your account.

To run the local edition instead, install it as a Desktop Extension with no terminal and no JSON editing: download the .mcpb bundle from the MCP releases and open it (Settings, Extensions, Install from file). It signs in with the grid_login tool, or reuses the CLI’s credentials if you already ran grid login.