> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magicmealkits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI

> Install the mmk command-line tool and point it at your Magic Meal Kits deployment.

<img src="https://mintcdn.com/mmk-5fd4bbfe/nsq-8_AsxVZ9ripX/assets/banner.png?fit=max&auto=format&n=nsq-8_AsxVZ9ripX&q=85&s=26eec17ca47eb2f1c8a9943a819a599b" alt="Magic Meal Kits CLI" width="1490" height="358" data-path="assets/banner.png" />

The **`mmk` CLI** wraps the most common Magic Meal Kits operations for the terminal — and
it's the foundation the [skills](/cli/skills) run on. This page covers **installing and
connecting** it; head to [Skills](/cli/skills) for ready-made automations.

<Note>
  The CLI is in **beta** (`0.x.y-beta`). Install with the `@beta` tag.
</Note>

## Install

Install globally from npm (requires Node.js 18+):

```bash theme={null}
npm install -g @magic-meal-kits/cli@beta
```

Verify it's on your `PATH`:

```bash theme={null}
mmk --version
```

## Connect to your deployment

Point the CLI at the deployment that the installer created in **your** Google Cloud
project, then sign in:

```bash theme={null}
mmk config set server <your-server-url>
mmk auth login
```

<Info>
  Your **server URL** and **API key** come from the Magic Meal Kits app status page — you
  don't hand-craft them. See [Authentication](/authentication) for where to find them and
  how the `X-API-KEY` header works.
</Info>

Once connected, every command runs against your own server with your own key.

## Next

<CardGroup cols={2}>
  <Card title="Skills" icon="wand-magic-sparkles" href="/cli/skills">
    Install the MMK skills and drive Notion, Paymint, Threads, YouTube, and Plaud from
    your agent.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Where the server URL and API key come from, plus license tiers.
  </Card>
</CardGroup>
