@superglue/cli
v1.1.34
Published
[](https://www.npmjs.com/package/@superglue/cli) [](LICENSE)
Readme
superglue CLI
Build, test, and manage superglue tools from the command line.
Installation
As npm package
npm install -g @superglue/cli
sg --helpAs AI Agent Skill
Install the superglue skill for any supported AI agent (35+ agents supported):
npx skills add superglue-ai/cliOr target a specific agent:
npx skills add superglue-ai/cli -g -a claude-code
npx skills add superglue-ai/cli -g -a codex
npx skills add superglue-ai/cli -g -a cursorAs Claude Code Plugin
Load from local install:
claude --plugin-dir $(npm root -g)/@superglue/cliQuick Start
sg login # browser setup
sg system list # verify connection
sg tool build --config '...' # build a tool
sg tool run --draft <id> # test it
sg tool save --draft <id> # save it
sg schedule create --tool <toolId> --cron "0 9 * * *"
sg mcp create --name my-mcp --tool <toolId> # expose saved tools through MCPPass --timezone UTC to sg schedule create when you want to set the schedule timezone explicitly.
The CLI needs authentication and the target superglue API endpoint. Use sg login for browser
OAuth setup. For headless/API-key auth, use SUPERGLUE_API_KEY /
SUPERGLUE_API_ENDPOINT, --api-key / --endpoint, or an existing config.json.
For self-hosted instances, use that instance's API endpoint and pass --web-endpoint to sg login
when the web app URL differs from the API URL. Add --save-config to persist those non-secret
endpoint settings in config.json.
Commands
Tools
sg tool build— Build a tool from configsg tool run— Run a draft or saved toolsg tool edit— Edit via JSON Patchsg tool save— Save a draftsg tool list— List saved toolssg tool find— Search tools
Systems
sg system create— Create a systemsg system edit— Edit system configsg system list— List systemssg system find— Search systemssg system call— Make authenticated system callssg system oauth— Authenticate via OAuthsg system search-docs— Search system documentation
Runs
sg run list— List execution runssg run get— Get run details
Schedules
sg schedule list— List saved tool schedulessg schedule create— Create a cron schedule for a saved toolsg schedule edit— Edit, enable, or disable a schedule
MCP Servers
sg mcp list— List named MCP serverssg mcp find— Search MCP serverssg mcp create— Create a named MCP server for selected toolssg mcp edit— Edit a named MCP server and its exposed tools
Other
sg login— Browser OAuth setupsg logout— Remove the stored OAuth sessionsg whoami— Show the authenticated user and organizationsg update— Update CLI to latest version
Documentation
- CLI + Skills — Skill installation and agent setup
- Full CLI Reference — Complete command documentation
- superglue Docs — Platform documentation
- API Reference — REST API docs
Related
- superglue Web App — Visual tool builder
- @superglue/client — TypeScript SDK
- superglue-client — Python SDK
License
MIT
