For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI

Manage your store and build custom apps from the terminal with the gs command.

@greatstore/cli gives you a gs command to run your store from the terminal — handy for scripting, CI, and working alongside an AI coding agent.

With it you can:

  • Configure your store — brand, assistant, allowed origins, and logos, the same settings as the Configure panel.

  • Manage connectors — add, toggle, and health-check your MCP connectors.

  • Build and ship custom apps — scaffold a component project, build it, push a draft, and publish it live for shoppers.

  • Set up your AI coding agentgs skill installs the GreatStore skill for Claude Code and similar tools.

npm install -g @greatstore/cli
gs login

gs login opens your browser to sign in, pick a store, and authorize that computer; everything else runs against it. You'll be asked to confirm every time — the CLI never gets access to a store without you saying yes to it in the browser.

Access lasts 48 hours, and you can end it sooner from Team → CLI access in your dashboard, which lists who has access and when they last used it — team admins see everyone's, and everyone else sees their own. Ending access there stops that computer's next command.

For each store, you're signed in on one computer at a time: signing in to that store again — from a second machine, say — replaces your previous access there, and the first machine has to sign in again. Access to your other stores is unaffected.

The full command reference ships with the package. View @greatstore/cli on npm →

What's next?

React SDKMCP access for agents

Last updated

Was this helpful?