
ShareBox
io.github.zalasov0.1.1更新于 Oct 8, 2026
Publish the web tools your agent builds to a self-hosted ShareBox and share them like a Google Doc
概览
让助手把它构建的小型网页工具发布到自托管的 ShareBox,并分享给指定人员、整个域或任何拿到链接的人。
- 功能
- ShareBox 是一个自托管平台,用于发布小型网页工具,访问者可以像打开共享文档一样使用它们。通过该 MCP 服务器,助手可以阅读构建指南、创建项目、发布或更新工具、列出自己可管理的工具、查看工具的地址、版本与分享情况,以及添加或移除分享。它刻意不提供删除工具,删除操作只保留在 CLI 中并需要确认。
- 适用场景
- 当你希望助手把一个小型内部工具变成托管在自有 ShareBox 实例上的可分享网页时使用,例如团队追踪器或简单看板。它适合已经运行 ShareBox、并希望由智能体而不是手动完成发布的团队。
- 运行要求
- 需要一个正在运行的 ShareBox 实例(你自己的或组织的)以及 Node.js 20 或更高版本;包名为 npm sharebox-cli,以 stdio 在本地运行。通常先用 sharebox login 登录一次,它会打开浏览器进行 Google 登录,并把令牌保存到 ~/.sharebox/credentials.json。在服务器或 CI 上则改为设置 SHAREBOX_URL 和 SHAREBOX_TOKEN。仅支持桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 ShareBox,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
sharebox-cli
Command line and MCP server for ShareBox, a self-hosted platform where AI agents publish small web tools and you share them like a Google Doc: with specific people, a whole Google Workspace domain, or anyone with the link. Visitors sign in with Google; every tool gets a trusted identity, its own storage and its own sandbox.
You need a running ShareBox instance (yours or your organization's). To set one up, see the install guide.
Install
Requires Node 20 or newer. Every ShareBox instance also serves its own copy at https://<instance>/cli/sharebox.tgz.
Connect
A browser opens: sign in with Google and click Authorize. The token is stored in ~/.sharebox/credentials.json. On servers or in CI you can set SHAREBOX_URL and SHAREBOX_TOKEN instead.
Use it from an agent (MCP)
Claude Code:
On Windows: claude mcp add --scope user sharebox -- cmd /c sharebox mcp.
Without a global install, other MCP clients can run npx -y sharebox-cli mcp (after npx sharebox-cli login <instance> once).
Tools: sharebox_guide, sharebox_create_project, sharebox_publish, sharebox_list, sharebox_info, sharebox_share, sharebox_unshare. There is deliberately no delete tool: deleting erases data, so it stays in the CLI behind a confirmation.
Then just ask: "Build a vacation tracker for my team and publish it on ShareBox."
Commands
Messages are in English or Italian, following SHAREBOX_LANG or the system locale.
License
AGPL-3.0-or-later
来源:packages/cli/README.md,提交 222779b
工具
0版本历史
1- v0.1.1最新Oct 8, 2026

