KosmoKrator

CLI shortcut

Sanity CLI for AI Agents

Use the Sanity CLI from KosmoKrator for headless automation, scripts, CI, coding agents, JSON output, schema discovery, and MCP gateway handoff.

Quick Command

kosmo integrations:call sanity.sanity_query_documents '{}' --json
Sanity CLI reference Commands, credentials, schemas, and function list. Sanity CLI for CI Pipeline-oriented command examples. Sanity MCP gateway Expose the same tools to MCP clients.