Inicie e gerencie VMs isoladas de desktop Linux e Windows para que agentes de IA realizem operações de arquivos, execução de comandos e uso do computador.
Também conhecido como capsulatedev/capsulate, @capsulate/mcp
- Stars
- 0
- Ferramentas
- 28
- Downloads, 30 dias
- 349
- Versão mais recente
- 0.7.1
- Último commit
- 12 de out. de 2026
- Licença
- MIT
O que é o MCP Capsulate?
Capsulate é um MCP server. Inicie e gerencie VMs isoladas de desktop Linux e Windows para que agentes de IA realizem operações de arquivos, execução de comandos e uso do computador. Ele expõe 28 ferramentas, como capsulate_launch, capsulate_destroy, capsulate_exec.
Resumo gerado a partir do README do projeto
Sobre o MCP server de Capsulate
Capsulate oferece uma maneira de agentes de IA interagirem com computadores isolados na nuvem, conhecidos como capsules. Esses ambientes incluem desktops Linux e Windows, permitindo que um agente realize operações de arquivos, execute comandos e gerencie interfaces de desktop. Os usuários podem conectar este MCP server a clientes MCP como Claude Desktop, Cursor ou Claude Code fornecendo uma CAPSULATE_API_KEY. Para quem utiliza arquivos de configuração locais, a variável de ambiente CAPSULATE_API_KEY_FILE pode ser usada em vez disso.
Este servidor é único porque permite a colaboração human-in-the-loop. Uma pessoa pode assistir à IA operando um desktop ao vivo através de um navegador e assumir o controle da tela a qualquer momento. O sistema inclui ferramentas especializadas para computer use, como clicar, digitar e ler accessibility trees. Também apresenta um browser fast path para interagir com o Chrome na velocidade da página e um sistema de skills que permite aos usuários ensinar uma tarefa em uma capsule para ser reproduzida posteriormente.
O que você pode fazer com ele
- 1Executar suítes de testes automatizadosUm agente de IA pode iniciar um ambiente Linux headless para rodar testes de software específicos e reportar os resultados.
- 2Pesquisa web colaborativaO agente pode iniciar um desktop, navegar até um site e passar o controle para um humano caso um login seja necessário.
- 3Automatizar tarefas repetitivas de desktopUsuários podem gravar uma pessoa realizando uma tarefa em uma tela compartilhada para criar uma skill repetível para a IA.
- 4Controle direto de interface de computadorUma IA pode interagir com aplicativos de desktop encontrando elementos específicos de UI por nome ou função.
Escrito a partir do README do projeto. Cada caso de uso é verificado com uma citação dele.
Como instalar o MCP Capsulate
Formatos verificados em 10 nov 2026Adicionar ao CursorAdicionar ao GooseInstalar o MCP Capsulate no Claude Code
$ claude mcp add --env 'CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY>' capsulate -- npx -y @capsulate/mcpInstalar o MCP Capsulate no Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Instalar o MCP Capsulate no VS Code
.vscode/mcp.json
{
"servers": {
"capsulate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Instalar o MCP Capsulate no VS Code CLI
$ code --add-mcp '{"name":"capsulate","type":"stdio","command":"npx","args":["-y","@capsulate/mcp"],"env":{"CAPSULATE_API_KEY":"<YOUR_CAPSULATE_API_KEY>"}}'Instalar o MCP Capsulate no Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Instalar o MCP Capsulate no Codex
$ codex mcp add capsulate --env 'CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY>' -- npx -y @capsulate/mcpInstalar o MCP Capsulate no Codex config.toml
~/.codex/config.toml
[mcp_servers.capsulate] command = "npx" args = ["-y", "@capsulate/mcp"] [mcp_servers.capsulate.env] CAPSULATE_API_KEY = "<YOUR_CAPSULATE_API_KEY>"
Instalar o MCP Capsulate no Gemini CLI
$ gemini mcp add -s user -e 'CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY>' capsulate npx -- -y @capsulate/mcpInstalar o MCP Capsulate no Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"capsulate": {
"command": "npx",
"args": [
"-y",
"@capsulate/mcp"
],
"env": {
"CAPSULATE_API_KEY": "<YOUR_CAPSULATE_API_KEY>"
}
}
}
}Ferramentas do MCP Capsulate 28
Detectadas a partir do READMEcapsulate_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 | — |
Mostrar todas as 28 ferramentasMostrar menos ferramentas
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 | — |
Configuração
CAPSULATE_API_KEYObrigatórioSecretoA 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.
| Nome | Descrição | Tipo |
|---|---|---|
| CAPSULATE_API_KEY | A cap_live_ API key from the dashboard (Settings → API & Keys). | ObrigatórioSecreto |
| 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. |
Verificações automatizadas
Executado em 14 de nov. de 2026Relatório completo →Passou em nossas verificações automatizadas. Isso não é uma auditoria de segurança: leia o código e dê ao servidor o acesso mais restrito de que ele precisa. Como as verificações funcionam
- Repositório de origem vinculado e acessívelcapsulatedev/capsulate is public and reachablegithub.com/capsulatedev/capsulate ↗Passou
- O pacote indica este repositório como sua origem@capsulate/mcp names capsulatedev/capsulate as sourcenpmjs.com/package/@capsulate/mcp ↗Passou
- Proveniência da build (atestação Sigstore)No build attestation published for this releaseNão verificado
- Licença de código aberto (OSI)MITspdx.org/licenses/MIT.html ↗Passou
- Commit ou release no último anoLast commit or release 2026-10-12github.com/capsulatedev/capsulate ↗Passou
- OpenSSF ScorecardNão verificado
- Nome do pacote não é próximo a um pacote popularNo popular package one edit away from @capsulate/mcpPassou
- Nenhum aviso crítico no pacote ou em suas dependências100 resolved dependencies checked; no critical advisoryosv.dev ↗Passou
- Sem instruções ocultas para o modelo28 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPassou
- Ferramentas destrutivas estão rotuladasNo tool named like delete, drop or execPassou
- O endpoint remoto responde ao handshake do MCPNão verificado
README
Ver no 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
Perguntas sobre o MCP Capsulate
Como adiciono o MCP Capsulate ao Claude Code?
Execute claude mcp add --env 'CAPSULATE_API_KEY=<YOUR_CAPSULATE_API_KEY>' capsulate -- npx -y @capsulate/mcp no seu terminal. Adicione --scope user para torná-lo disponível em todos os projetos.
Como adiciono o MCP Capsulate ao Cursor?
Abra ~/.cursor/mcp.json e adicione o servidor em mcpServers, usando a configuração do Cursor mostrada na seção de instalação acima.
Quais ferramentas o MCP Capsulate oferece?
Ele expõe 28 ferramentas, incluindo capsulate_launch, capsulate_destroy, capsulate_exec, capsulate_run_code, capsulate_set_env.
Quais sistemas operacionais posso rodar em uma capsule?
Você pode iniciar desktops reais de Linux e Windows.
Um humano pode interagir com a IA enquanto ela estiver usando uma capsule?
Sim, uma pessoa pode assistir à tela ao vivo em um navegador e assumir o controle do desktop a qualquer momento.
A IA consegue lidar com tarefas que exigem login?
Sim, a IA pode usar a ferramenta de handoff para passar o controle para um humano quando um login ou intervenção manual for necessário.