superglue CLI
Build, test, and manage superglue tools from the command line.
Installation
As npm package
npm install -g @superglue/cli
sg --help
As AI Agent Skill
Install the superglue skill for any supported AI agent (35+ agents supported):
npx skills add superglue-ai/cli
Or 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 cursor
As Claude Code Plugin
Load from local install:
claude --plugin-dir $(npm root -g)/@superglue/cli
Quick 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 MCP
Pass --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 list— List system IDssg system find— Search system IDs and show your secret placeholderssg system oauth-apps— List reusable OAuth appssg system connection get|set|clear— Manage your connection for a system IDsg system call— Make authenticated calls through a connectionsg system oauth— Authorize a connection via OAuth
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
Projects
sg project list— List projectssg project task list— List a project's tasks in board ordersg project task create— Create a task, optionally at a--positionin its columnsg project task edit— Update, move, or reorder a task
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