超强力胶水CLI
从命令行构建、测试和管理强力胶工具。
安装
作为npm包
npm install -g @superglue/cli
sg --help
作为AI代理技能
为任何支持的AI代理安装强力胶技能(支持35+代理):
npx skills add superglue-ai/cli
或针对特定的代理:
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插件
从本地安装加载:
claude --plugin-dir $(npm root -g)/@superglue/cli
快速入门
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
通过 --timezone UTC 来 sg schedule create 当需要显式设置计划时区时。
CLI需要身份验证和目标强力胶API端点。使用 sg login 浏览器
OAuth设置。对于无头/API-key验证,使用 SUPERGLUE_API_KEY /
SUPERGLUE_API_ENDPOINT, --api-key / --endpoint,或现有的 config.json.
对于自托管实例,使用该实例的API端点并传递 --web-endpoint 来 sg login
当web应用的URL与API的URL不同时。添加 --save-config 坚持那些非秘密
中的端点设置 config.json.
命令
工具
sg tool build-从配置中构建工具sg tool run—运行draft或saved工具sg tool edit-通过JSON补丁编辑sg tool save-保存草稿sg tool list-列出保存的工具sg tool find-搜索工具
系统
sg system list-列出系统idsg system find-搜索系统id并显示您的秘密占位符sg system oauth-apps-列出可重用的OAuth应用sg system connection get|set|clear-管理系统ID的连接sg system call—通过连接进行认证呼叫sg system oauth-通过OAuth授权连接
跑步
sg run list-列出执行运行sg run get-获取运行细节
日程安排
sg schedule list—列出已保存的工具进度表sg schedule create—为已保存的工具创建cron计划sg schedule edit—编辑、启用或禁用时间表
项目
sg project list-项目列表sg project task list-按板子顺序列出项目的任务sg project task create—创建任务,可选--position在其列中sg project task edit—更新、移动或重新排序任务
MCP服务器
sg mcp list—已命名的MCP服务器列表sg mcp find—搜索MCP服务器sg mcp create—为所选工具创建命名的MCP服务器sg mcp edit-编辑已命名的MCP服务器及其暴露的工具
其他
sg login-浏览器OAuth设置sg logout—删除存储的OAuth会话sg whoami—显示通过认证的用户和组织sg update—将CLI升级到最新版本
文档
相关
- 强力胶网页应用 -可视化工具构建器
- @superglue /客户端 - TypeScript SDK
- superglue-client - Python SDK
许可证
麻省理工学院