AIエージェントがファイル操作、コマンド実行、コンピュータ操作を行うための、隔離されたLinuxおよびWindowsデスクトップVMを起動・運用します。
別名 capsulatedev/capsulate, @capsulate/mcp
- スター
- 0
- ツール
- 28
- ダウンロード数(30日間)
- 349
- 最新バージョン
- 0.7.1
- 最終コミット
- 2026年10月12日
- ライセンス
- MIT
Capsulate MCPとは
CapsulateはMCPサーバーです。 AIエージェントがファイル操作、コマンド実行、コンピュータ操作を行うための、隔離されたLinuxおよびWindowsデスクトップVMを起動・運用します。. 28個のツールを提供しており、capsulate_launch, capsulate_destroy, capsulate_execなどがあります。
プロジェクトのREADMEから生成された概要
Capsulate MCP server について
Capsulateは、AIエージェントが「カプセル」と呼ばれる隔離されたクラウドコンピュータと対話するための手段を提供します。これらの環境にはLinuxとWindowsの両方のデスクトップが含まれており、エージェントはファイル操作、コマンド実行、デスクトップインターフェースの管理を行うことができます。ユーザーは、CAPSULATE_API_KEYを提供することで、このサーバーをClaude Desktop、Cursor、Claude CodeなどのMCPクライアントに接続できます。ローカルの設定ファイルを使用する場合は、代わりにCAPSULATE_API_KEY_FILE環境変数を使用できます。
このサーバーは、ヒューマン・イン・ザ・ループ(人間が介在する形式)のコラボレーションを可能にする点が特徴です。人間はブラウザを通じてAIによるデスクトップ操作をライブで視聴でき、いつでも画面の制御を奪うことができます。システムには、クリック、タイピング、アクセシビリティツリーの読み取りなど、コンピュータ操作に特化したツールが含まれています。また、Chromeとページ速度で対話するためのブラウザ・ファストパスや、カプセル上での作業を学習して後で再実行できるようにするスキルシステムも備えています。
できること
- 1自動テストスイートの実行AIエージェントがヘッドレスLinux環境を起動し、特定のソフトウェアテストを実行して結果を報告します。
- 2共同ウェブリサーチエージェントがデスクトップを起動してウェブサイトにアクセスし、ログインが必要な場合には制御を人間に渡します。
- 3繰り返しのデスクトップタスクの自動化共有画面上で人間がタスクを実行する様子を記録することで、AI用の再現可能なスキルを作成できます。
- 4直接的なコンピュータインターフェース制御AIが名前やロールに基づいて特定のUI要素を見つけ出し、デスクトップアプリケーションを操作します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Capsulate MCPのインストール方法
フォーマット検証日 2026年11月10日Claude CodeにCapsulate MCPをインストール
$ claude mcp add --env CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY> capsulate -- npx -y @capsulate/mcpCursorにCapsulate MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}VS CodeにCapsulate MCPをインストール
.vscode/mcp.json
{
"servers": {
"capsulate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Claude DesktopにCapsulate MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}CodexにCapsulate MCPをインストール
~/.codex/config.toml
[mcp_servers.capsulate] command = "npx" args = ["-y", "@capsulate/mcp"] [mcp_servers.capsulate.env] CAPSULATE_API_KEY = "<YOUR_CAPSULATE_API_KEY>"
Gemini CLIにCapsulate MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Capsulate MCPツール 28
READMEから検出capsulate_launchcapsulate_destroycapsulate_execcapsulate_run_codecapsulate_set_envcapsulate_snapshotcapsulate_catalogcapsulate_screenshotcapsulate_screen_infocapsulate_ui_treecapsulate_click_elementcapsulate_clipboard
| capsulate_launch | — | |
| capsulate_destroy | — | |
| capsulate_exec | — | |
| capsulate_run_code | — | |
| capsulate_set_env | — | |
| capsulate_snapshot | — | |
| capsulate_catalog | — | |
| capsulate_screenshot | — | |
| capsulate_screen_info | — | |
| capsulate_ui_tree | — | |
| capsulate_click_element | — | |
| capsulate_clipboard | — |
28個のツールをすべて表示ツールを折りたたむ
capsulate_elementcapsulate_windowscapsulate_windowcapsulate_opencapsulate_wait_forcapsulate_ocrcapsulate_run_actionscapsulate_console_linkcapsulate_saycapsulate_controlcapsulate_handoffcapsulate_wait_for_handbackcapsulate_lessoncapsulate_skillscapsulate_skill_runcapsulate_inbox
| capsulate_element | — | |
| capsulate_windows | — | |
| capsulate_window | — | |
| capsulate_open | — | |
| capsulate_wait_for | — | |
| capsulate_ocr | — | |
| capsulate_run_actions | — | |
| capsulate_console_link | — | |
| capsulate_say | — | |
| capsulate_control | — | |
| capsulate_handoff | — | |
| capsulate_wait_for_handback | — | |
| capsulate_lesson | — | |
| capsulate_skills | — | |
| capsulate_skill_run | — | |
| capsulate_inbox | — |
設定
CAPSULATE_API_KEY必須シークレットA cap_live_ API key from the dashboard (Settings → API & Keys).
CAPSULATE_BASE_URLAPI base URL. Defaults to https://api.capsulate.dev.
CAPSULATE_TEAM_IDTeam to bill. Defaults to the API key's team.
| 名前 | 説明 | 種類 |
|---|---|---|
| CAPSULATE_API_KEY | A cap_live_ API key from the dashboard (Settings → API & Keys). | 必須シークレット |
| CAPSULATE_BASE_URL | API base URL. Defaults to https://api.capsulate.dev. | |
| CAPSULATE_TEAM_ID | Team to bill. Defaults to the API key's team. |
自動チェック
実行日 2026年11月14日詳細レポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能capsulatedev/capsulate is public and reachablegithub.com/capsulatedev/capsulate ↗合格
- パッケージがこのリポジトリをソースとして示している@capsulate/mcp names capsulatedev/capsulate as sourcenpmjs.com/package/@capsulate/mcp ↗合格
- ビルドの来歴(Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-12github.com/capsulatedev/capsulate ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from @capsulate/mcp合格
- パッケージと依存関係に重大なアドバイザリがない100 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない28 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモート endpoint が MCP ハンドシェイクに応答する未チェック
README
GitHubで見る@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 mcp add capsulate -e CAPSULATE_API_KEY=cap_live_... -- npx -y @capsulate/mcp
Claude Desktop / Cursor
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": ["-y", "@capsulate/mcp"],
"env": {
"CAPSULATE_API_KEY": "cap_live_…"
}
}
}
}
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
| Tool | What it does |
|---|---|
capsulate_launch |
Launch a capsule and wait until ready |
capsulate_list / capsulate_get |
Inspect capsules |
capsulate_destroy |
Tear a capsule down |
capsulate_exec |
Run a command (argv array) |
capsulate_run_code |
Run a python/node/bash snippet |
capsulate_write_file / capsulate_read_file |
File I/O |
capsulate_set_env |
Set environment variables |
capsulate_snapshot |
Snapshot a capsule |
capsulate_catalog |
Discover launchable templates & bundles |
Desktop computer use
| Tool | What it does |
|---|---|
capsulate_screenshot |
See the screen (returns an image; format: "jpeg", a scale or a region make it smaller) |
capsulate_screen_info |
The screen's size, the pointer and the active window |
capsulate_click / capsulate_move / capsulate_drag / capsulate_scroll |
Pointer |
capsulate_type / capsulate_key |
Keyboard |
capsulate_ui_tree |
Read the accessibility tree (AT-SPI on Linux, UI Automation on Windows) with clickable centers |
capsulate_find_element / capsulate_wait_element |
Find or wait for an element by role, name or text |
capsulate_click_element |
Find an element and click it: the reliable way to press a named button |
capsulate_clipboard |
Read or set the clipboard (paste long text instead of typing it) |
capsulate_element |
Act on an element without coordinates: set its value, clear, toggle, expand or collapse, invoke, select an option by name, focus, scroll it into view |
capsulate_windows |
List windows or bring one to the front |
capsulate_window |
Minimize, maximize, restore, close, move or resize a window |
capsulate_open |
Open a URL, a file or an app by name, and wait for its window |
capsulate_wait_for |
Wait for an element to appear, go away, be enabled or show a text, for a window, or for the screen to settle |
capsulate_ocr |
Read the text on screen when the UI tree has no labels |
capsulate_run_actions |
Several steps in one call, back to back, stopping at the first that fails, with a look at the end |
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.
| Tool | What it does |
|---|---|
capsulate_console_link |
A signed, expiring URL that opens the live screen in any browser with no login (control or view) |
capsulate_say |
Show one line of narration on the live console |
capsulate_control |
Who is driving: free, agent (the AI) or human; take or release the screen; set the pace (natural or presentation) for a person watching |
capsulate_handoff |
Hand the screen to the person with a note ("Please sign in"), wait until they hand it back, get their note |
capsulate_wait_for_handback |
Keep waiting for the person to hand the screen back |
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
| Tool | What it does |
|---|---|
capsulate_lesson |
Learn a job on a capsule: a person teaches on the shared screen (clicks, keys and typing with the elements they hit, passwords masked, optionally video and voice) or the AI teaches itself toward a goal; get reads the digest |
capsulate_skills |
The team's skills: save one from a lesson's digest, versions, approve, save an environment, rehearse, weekly rehearsals |
capsulate_skill_run |
Run a skill's procedure in the background; it asks you where the skill leaves a decision open |
capsulate_inbox |
Runs that wait, versions to approve, failed rehearsals and skills whose software changed |
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
npm run build # from the repo root: sdk, ai-tools, cli, mcp
node apps/mcp/scripts/smoke-live.mjs # live tools end to end against a fake API
Capsulate MCPのよくある質問
Capsulate MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --env CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY> capsulate -- npx -y @capsulate/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Capsulate MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Capsulate MCPが提供するツールは
28個のツールを提供しており、capsulate_launch, capsulate_destroy, capsulate_exec, capsulate_run_code, capsulate_set_envなどがあります。
カプセル内で実行できるOSは何ですか?
実際のLinuxおよびWindowsデスクトップを起動できます。
AIがカプセルを使用している間、人間が介入することはできますか?
はい、ブラウザからライブ画面を視聴し、いつでもデスクトップの操作権限を取得できます。
ログインが必要なタスクをAIは処理できますか?
はい、ログインや手動での介入が必要な場合に、handoffツールを使用して制御を人間に渡すことができます。