Skip to main content
The SiteGPT CLI is the first-party command line interface for managing SiteGPT from a terminal, script, or AI assistant. It lets you create chatbots, add training content, configure appearance and behavior, inspect conversations, manage leads, invite team members, and review account usage without opening the dashboard. The installed command is:

When to use the CLI

Automate setup

Create a chatbot, add website knowledge, configure settings, upload icons, and verify everything from one workflow.

Try before signup

Let an AI agent create a temporary chatbot from a website before the user has a SiteGPT account.

Manage knowledge

Add links, websites, sitemaps, files, YouTube videos, text snippets, cloud sources, and custom responses.

Run support operations

Review conversations, tags, messages, leads, escalations, and support handoff state.

Use with AI agents

Give personal AI agents a scoped CLI profile, a skill file, JSON output, and safe workflows for operating SiteGPT.

Connect MCP server

Connect Claude and other remote MCP clients to SiteGPT with browser-based OAuth approval.

Choose your CLI flow

New customers can still log in first and create their first chatbot directly inside an account. If the goal is to see a working chatbot before signup, use agent-first onboarding.

Quick start: no account yet

1

Install the CLI

2

Start onboarding

Save data.workspace.id, data.workspace.chatbotId, data.apiToken, and data.onboardingUrl from the response.
3

Use the temporary token

4

Share the onboarding URL

Configure and test the chatbot first. Then share data.onboardingUrl so the human can preview and claim it.

Quick start: existing account

1

Install the CLI

2

Log in

The CLI opens a SiteGPT approval page in your browser. After approval, it stores a local token profile on your machine.
3

Verify authentication

4

List your chatbots

5

Use JSON for scripts and agents

Common workflow

Command groups

See the full command reference for every command and option. If you want a personal AI agent to operate SiteGPT for you, start with Use with AI agents. If your AI app supports remote MCP servers, use the MCP Server.

Global options

These options work across command groups:

Environment variables

Contextual help

Every command level has help built in. This is important for both people and AI agents because the help output includes enum values, defaults, and examples.
Use --json whenever you need IDs, cursors, nested data, or output that an automation can parse reliably.