Skip to main content
Glama

Scalattice CLI

npm license

Sign in, create a developer API key, print OpenAI-compatible env vars, and check credits - from the terminal. Optional MCP mode for AI coding agents.

Product: scalattice.com/cli · npm: scalattice-cli · Cloud docs: developers#cli · 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

Related MCP server: Modal MCP Server

Quick start

scalattice setup
eval "$(scalattice init)"
scalattice credits

Then use any OpenAI SDK:

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

Commands

Command

What it does

scalattice setup

Magic-code login → developer profile → create API key → print exports

scalattice login / logout

Session only

scalattice keys list / keys create

Manage API keys

scalattice init

Print export OPENAI_BASE_URL=... and OPENAI_API_KEY=...

scalattice credits

GET /v1/credits (wallet + model grants)

scalattice whoami

Show config paths / what’s stored

scalattice mcp

MCP stdio server for Cursor / Claude Desktop

Config: ~/.config/scalattice/config.json (mode 0600).

Env overrides: SCALATTICE_CLOUD_URL, SCALATTICE_API_URL, SCALATTICE_API_KEY, SCALATTICE_SESSION_TOKEN.

MCP (optional)

MCP is not a second install. After scalattice setup:

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

Tools: scalattice_credits, scalattice_models, scalattice_env.

Develop

git clone https://github.com/scalattice/scalattice-cli.git
cd scalattice-cli
node bin/scalattice.js --help

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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