Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

SANDBASE CLI

Connect your AI client in one command.

The CLI signs you in through the browser, configures your AI clients to discover and run SandBase Models, APIs and Skills, and keeps credentials out of project files.

NPM · @sandbaseai/cli25 AI CLIENTSMCP BRIDGE + SKILL

Get started

Run these from any terminal with Node.js installed. Nothing is added to your project.

npx -y @sandbaseai/cli@latest connect --client auto   # sign in once, configure installed clients
npx -y @sandbaseai/cli@latest doctor                  # check the setup with one real round trip
npx -y @sandbaseai/cli@latest discover -q "twitter posts"
npx -y @sandbaseai/cli@latest setup                   # after upgrading: refresh bridge + Skill

Supported AI clients

Pass one with --client, or use --client auto to configure what is installed.

  • Codex
  • Claude Code
  • Claude Desktop
  • Cursor
  • Cursor CLI
  • Windsurf
  • Gemini CLI
  • OpenCode
  • ChatGPT
  • Kiro
  • Kiro CLI
  • Antigravity
  • Warp
  • Trae
  • Kimi CLI
  • Qwen Code
  • Amp
  • Crush
  • iFlow CLI
  • Qoder
  • Hermes
  • OpenClaw
  • WorkBuddy
  • Cowork
  • Pi

Commands

connect [--client <client>|auto]
Sign in once in the browser and configure your AI clients.
doctor [--client <client>]
Check the local configuration and make one real request to SandBase.
setup
Refresh the local MCP bridge and the SandBase Skill after an update, then test connectivity.
discover -q "<what you need>"
Search Models, APIs and services. Filter with -t llm|api|multimodal|embedding|service or --vendor.
inspect <tool_name>
Show the input schema and price of one Model or API before you run it.
run <tool_name> -i '<json>'
Run a Model or API. -w waits for async jobs, -o writes the result to a file.
runs get -r <run_id> / runs list
Read the result of an earlier run, or list recent runs.
upload <file>
Turn a local image, audio or video file into a URL for tools that take one.
balance
Show the account balance.
unregister [--client <client>]
Remove the local state SandBase manages for a client.

Designed for real client environments

Frequently asked questions

Which AI clients does the SandBase CLI support?
Codex, Claude Code, Claude Desktop, Cursor, Cursor CLI, Windsurf, Gemini CLI, OpenCode, ChatGPT, Kiro, Kiro CLI, Antigravity, Warp, Trae, Kimi CLI, Qwen Code, Amp, Crush, iFlow CLI, Qoder, Hermes, OpenClaw, WorkBuddy, Cowork and Pi. Use connect --client auto to detect and configure the clients installed on your machine.
Do I need to install anything?
Only Node.js. npx downloads the latest CLI each time, so there is no global install to keep up to date.
How do I update after a new release?
Run setup. It refreshes the local MCP bridge and the SandBase Skill, then tests the connection.
Can I use the CLI in scripts or CI?
Yes. Set SANDBASE_API_KEY to use an API key instead of a connected client, and add -j to get JSON output from discover, inspect, run and runs.
How do I pass a local file to an API?
Run upload with the file. It returns a public URL you can pass to tools that take an image, audio or video URL. Anyone with the URL can read the file.

More resources