Skip to content
Get started

Quickstart

Create a cluster, connect your agent and set an approval policy. About five minutes.

1. Install the CLI and sign in

$ npx -y managedstack@latest login

2. Create a cluster

$ msctl clusters create rabbitmq-events \
    --engine rabbitmq --version 4.1 --nodes 3 --plan M \
    --region eu-north-1 --env production
→ provisioning 0/3 … 3/3
✓ rabbitmq-events is running

3. Connect your editor (optional)

Adds the read-only managedstack MCP server to Claude Code, Cursor or any MCP client. Ask about status, metrics and recent changes, and review pending approvals. It cannot create or change clusters; use the API, CLI or Terraform for that.

$ npx -y managedstack@latest setup agent

4. Set an approval policy

resource "managedstack_policy" "production" {
  environment = "production"
  auto        = ["repair_failed_job", "replace_node"]
  approve     = ["scale", "failover", "config", "major_upgrade"]
  never       = ["delete_cluster"]
}

Approval policies govern agent requests. Your role determines which changes you can make in the console.