{
  "markdown": "# superglue CLI\n\n[![npm](https://img.shields.io/npm/v/@superglue/cli?style=flat-square&logo=npm)](https://www.npmjs.com/package/@superglue/cli)\n[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE)\n\nBuild, test, and manage superglue tools from the command line.\n\n## Installation\n\n### As npm package\n\n```bash\nnpm install -g @superglue/cli\nsg --help\n```\n\n### As AI Agent Skill\n\nInstall the superglue skill for any supported AI agent ([35+ agents supported](https://skills.sh)):\n\n```bash\nnpx skills add superglue-ai/cli\n```\n\nOr target a specific agent:\n\n```bash\nnpx skills add superglue-ai/cli -g -a claude-code\nnpx skills add superglue-ai/cli -g -a codex\nnpx skills add superglue-ai/cli -g -a cursor\n```\n\n### As Claude Code Plugin\n\nLoad from local install:\n\n```bash\nclaude --plugin-dir $(npm root -g)/@superglue/cli\n```\n\n## Quick Start\n\n```bash\nsg login                       # browser setup\nsg system list                 # verify connection\nsg tool build --config '...'   # build a tool\nsg tool run --draft <id>       # test it\nsg tool save --draft <id>      # save it\nsg schedule create --tool <toolId> --cron \"0 9 * * *\"\nsg mcp create --name my-mcp --tool <toolId>  # expose saved tools through MCP\n```\n\nPass `--timezone UTC` to `sg schedule create` when you want to set the schedule timezone explicitly.\n\nThe CLI needs authentication and the target superglue API endpoint. Use `sg login` for browser\nOAuth setup. For headless/API-key auth, use `SUPERGLUE_API_KEY` /\n`SUPERGLUE_API_ENDPOINT`, `--api-key` / `--endpoint`, or an existing `config.json`.\nFor self-hosted instances, use that instance's API endpoint and pass `--web-endpoint` to `sg login`\nwhen the web app URL differs from the API URL. Add `--save-config` to persist those non-secret\nendpoint settings in `config.json`.\n\n## Commands\n\n### Tools\n\n- `sg tool build` — Build a tool from config\n- `sg tool run` — Run a draft or saved tool\n- `sg tool edit` — Edit via JSON Patch\n- `sg tool save` — Save a draft\n- `sg tool list` — List saved tools\n- `sg tool find` — Search tools\n\n### Systems\n\n- `sg system create` — Create a system\n- `sg system edit` — Edit system config\n- `sg system list` — List systems\n- `sg system find` — Search systems\n- `sg system call` — Make authenticated system calls\n- `sg system oauth` — Authenticate via OAuth\n- `sg system search-docs` — Search system documentation\n\n### Runs\n\n- `sg run list` — List execution runs\n- `sg run get` — Get run details\n\n### Schedules\n\n- `sg schedule list` — List saved tool schedules\n- `sg schedule create` — Create a cron schedule for a saved tool\n- `sg schedule edit` — Edit, enable, or disable a schedule\n\n### MCP Servers\n\n- `sg mcp list` — List named MCP servers\n- `sg mcp find` — Search MCP servers\n- `sg mcp create` — Create a named MCP server for selected tools\n- `sg mcp edit` — Edit a named MCP server and its exposed tools\n\n### Other\n\n- `sg login` — Browser OAuth setup\n- `sg logout` — Remove the stored OAuth session\n- `sg whoami` — Show the authenticated user and organization\n- `sg update` — Update CLI to latest version\n\n## Documentation\n\n- [CLI + Skills](https://superglue.ai/docs/getting-started/cli-skills/) — Skill installation and agent setup\n- [Full CLI Reference](./skills/superglue/SKILL.md) — Complete command documentation\n- [superglue Docs](https://superglue.ai/docs/) — Platform documentation\n- [API Reference](https://superglue.ai/docs/api/) — REST API docs\n\n## Related\n\n- [superglue Web App](https://app.superglue.cloud) — Visual tool builder\n- [@superglue/client](https://www.npmjs.com/package/@superglue/client) — TypeScript SDK\n- [superglue-client](https://pypi.org/project/superglue-client/) — Python SDK\n\n## License\n\nMIT\n",
  "bytes": 3704,
  "sha": "c25ab45cf26f491627c8b237941d1da70e9f05bee32083bfe4f134752e0071da",
  "repo_slug": "superglue-ai/cli",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_superglue_ai_cli_superglue_c6514dff/readme"
}