mastra-api-cli

Installation
SKILL.md

Mastra API CLI

Core Rule

Treat the installed CLI and the target server schema as the source of truth. The blog and docs explain intent; mastra api --help, leaf --help, and --schema define the command that will run today.

Use an explicit target for every multi-server task:

mastra api --url "$MASTRA_URL" agent list '{"page":0,"perPage":5}'

Do not read .env files to find URLs or tokens. Ask for the URL/token or use values already exported in the shell.

Discovery Workflow

  1. Confirm the CLI surface:
Installs
4
First Seen
Jul 7, 2026
mastra-api-cli — berrydev-ai/skills