Skip to main content
Glama

Scalattice CLI

npm license

Sign in from a terminal, land in an interactive CLI, mint an account management key (slt_mgmt_…) for automation, create an inference API key (slt_…) for OpenAI-compatible SDKs, check credits, and manage a provider fleet. Optional MCP mode for AI coding agents.

Product: scalattice.com/cli · npm: scalattice-cli · Cloud docs: developers#cli · providers#fleet-api · Installer: scalattice.cloud/install/cli

Install

# Paste-friendly
curl -fsSL https://scalattice.cloud/install/cli | sh

# Or with npm (Node 18+)
npm install -g scalattice-cli

Or sign in on Cloud /auth and run the curl command shown there. That stores a session in ~/.config/scalattice/config.json, signs the browser tab in, installs this CLI if needed, and opens the prompt.

Related MCP server: Modal MCP Server

Quick start

scalattice

You get a scalattice> prompt. Type commands without the scalattice prefix:

scalattice> whoami
scalattice> login
scalattice> credits
scalattice> help
scalattice> exit

login stores a session only. For the OpenAI SDK, create a key and export it:

scalattice developers keys create
eval "$(scalattice init)"   # after OPENAI_API_KEY is in the env

One-shot from any shell still works: scalattice login, scalattice whoami, and the rest.

Then use any OpenAI SDK:

from openai import OpenAI
client = OpenAI()  # uses OPENAI_BASE_URL + OPENAI_API_KEY
print(client.models.list())

Keys

Prefix

Role

slt_mgmt_…

Account management: credits, inference-key CRUD, fleet

slt_…

Inference only (chat/completions via api.*)

slt_provider_…

Machine agent token (provider machines create / roll; goes on the GPU host)

Create management keys on Account or account keys create if you need a long-lived secret for MCP. The CLI itself uses your session.

Commands

Inside the prompt, drop the scalattice prefix. From a normal terminal, keep it.

Command

What it does

scalattice

Interactive prompt (login, whoami, …)

login / logout

Session only (what config.json stores)

`developers keys list

create

`account keys list

create

init

Print OpenAI env exports (needs OPENAI_API_KEY in the env)

credits

Wallet + model grants

whoami

Show session / account

provider machines

List fleet (id, status, token last four)

provider machines create

Add a machine (prints slt_provider_… once)

provider machines roll

New token for an existing machine (prints once)

provider machines revoke

Remove a never-connected machine

provider earnings

Fleet earnings

provider pause / resume

Pause or resume all machines

provider schedule

Patch one machine’s schedule

mcp

MCP stdio server (run as scalattice mcp, not inside the prompt)

developer/developers, provider/providers, machine/machines, and key/keys are aliases.

Config: ~/.config/scalattice/config.json (mode 0600) — session + email only. Keys are never written there.

Env overrides: SCALATTICE_CLOUD_URL, SCALATTICE_API_URL, SCALATTICE_API_KEY, SCALATTICE_MGMT_KEY, SCALATTICE_SESSION_TOKEN.

Provider fleet

scalattice login
scalattice provider machines create
scalattice provider machines
scalattice provider pause   # or resume

See Fleet API docs.

MCP (optional)

MCP is not a second install. After login, leave the prompt and run scalattice mcp. For a headless agent without a session, set SCALATTICE_MGMT_KEY in that environment.

{
  "mcpServers": {
    "scalattice": {
      "command": "scalattice",
      "args": ["mcp"]
    }
  }
}

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Unified CLI multiplexer for AI coding agents, enabling orchestration of multiple coding CLI tools through a single interface with session persistence, cost tracking, and MCP tool support.
    15
    19
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scalattice/scalattice-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server