
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

