
Capsulate
io.github.capsulatedev由 GitHub 账号 capsulatedev 发布v0.7.0更新于 Oct 24, 2026
Real Linux and Windows desktop VMs for AI agents: exec, files, computer-use and snapshots via MCP.
概览
Capsulate 让 AI 助手启动并操作隔离的云端 Linux 和 Windows 桌面:执行命令、读写文件、使用图形界面、浏览网页并创建快照。
- 可以做什么
- 启动、列出、查看、快照和销毁云端胶囊,并通过目录工具发现可启动的模板与套件。执行 shell 命令、python/node/bash 片段,读写文件并设置环境变量。控制桌面:截图、鼠标与键盘输入、无障碍树、元素查找与点击、窗口、剪贴板、OCR 以及批量动作序列。通过页面结构驱动胶囊自带的 Chrome,进行导航、标签页、点击、填写、求值与截图。通过签名控制台链接共享实时屏幕,配合旁白、控制权交接与交回。学习、保存、审批、演练并运行团队技能,并查看待处理运行的通知收件箱。
- 适用场景
- 适合需要一台真实、可丢弃的机器而非本地工具的场合:在干净环境中运行测试套件或构建、自动化桌面应用,或进行可能需要人工观看并接管的浏览器操作。
- 运行要求
- 通过 stdio 在本地运行,通常使用 npx 和 Node.js。需要 Capsulate 账户和 cap_live_ API 密钥,通过 CAPSULATE_API_KEY 提供(也可使用密钥文件)。CAPSULATE_BASE_URL 和 CAPSULATE_TEAM_ID 为可选项。需要访问 Capsulate API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Capsulate,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@capsulate/mcp
The Capsulate Model Context Protocol server. Give Claude Code, Claude Desktop, Cursor, Windsurf, Antigravity, any MCP client, the ability to launch and drive isolated cloud computers ("capsules"), including real Linux and Windows desktops that a person can watch live and take over.
Setup
- Create an API key in the Capsulate dashboard: Settings → API & Keys.
- Add the server to your MCP client config.
Claude Code
Claude Desktop / Cursor
To keep the key out of the config file, put it in a file and point at it with
CAPSULATE_API_KEY_FILE instead. The file holds either the bare key or a
CAPSULATE_API_KEY=cap_live_... line.
For a self-hosted or non-default deployment, also set
"CAPSULATE_BASE_URL": "https://api.your-domain".
Tools
Desktop computer use
The input verbs accept screenshot: true (and screenshotDelayMs) to return the frame after the action.
Every tool works the same on Linux and Windows desktops; a multi-line editor is a document on Windows
and a text on Linux.
Browser fast path
The capsule's own Chrome, driven through the page's structure at page speed, on the same screen the
person watches: capsulate_browser_open, _navigate, _tabs, _snapshot (an outline with refs),
_click, _fill (the value is never echoed), _select, _press, _scroll, _wait, _text,
_eval and _screenshot.
Live: a person watches, takes over, hands back
A desktop capsule has one shared screen. The AI drives it through the tools above while a person watches the same screen in a browser, sees the AI's pointer, clicks and keys drawn over it, reads its narration, and can take the screen at any time.
While a person holds the screen, the AI's input verbs answer human_in_control and nothing reaches
the capsule; the tool result says to wait with capsulate_wait_for_handback. Reading the screen
(screenshot, UI tree, OCR) keeps working. Each AI input holds the screen for 45 seconds; the
console is view-only for everyone else during that time and turns interactive again when the AI
goes quiet or releases.
Skills: learn once, replay in minutes
The server's instructions carry the learning protocol: explore with a goal, note what you learn, finish, read the digest, save the skill; next time launch its environment and run its procedure.
Try it
"Spin up an
ubuntu-22.04-headlesscapsule, run my test suite, and show me the output."
The model calls capsulate_launch, then capsulate_exec, and reports back.
"Launch an
ubuntu-22.04-desktopcapsule, give me a live link, and find the latest Firefox release notes. If anything needs a login, hand it to me."
The model launches the desktop, calls capsulate_console_link and gives you the URL, narrates with
capsulate_say as it works, and calls capsulate_handoff when it needs you. You press
Done, hand back in the live console when you finish, and it carries on.
Develop
来源:apps/mcp/README.md,提交 36f738e
工具
0版本历史
6- v0.7.0最新Oct 13, 2026
- v0.6.0Oct 12, 2026
- v0.5.0Oct 11, 2026
- v0.4.1Oct 10, 2026
- v0.4.0Oct 10, 2026
- v0.2.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分