io.github.capsulatedev/capsulate

السجل الرسمي الذكاء الاصطناعي والوكلاء

Real Linux and Windows desktop VMs for AI agents: exec, files, computer-use and snapshots via MCP.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @capsulate/mcp
Claude Code
claude mcp add capsulate -e 'CAPSULATE_API_KEY=<your capsulate_api_key>' -e 'CAPSULATE_BASE_URL=<CAPSULATE_BASE_URL>' -e 'CAPSULATE_TEAM_ID=<CAPSULATE_TEAM_ID>' -- npx -y @capsulate/mcp@0.7.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "capsulate": {
            "command": "npx",
            "args": [
                "-y",
                "@capsulate/mcp@0.7.0"
            ],
            "env": {
                "CAPSULATE_API_KEY": "<your capsulate_api_key>",
                "CAPSULATE_BASE_URL": "<CAPSULATE_BASE_URL>",
                "CAPSULATE_TEAM_ID": "<CAPSULATE_TEAM_ID>"
            }
        }
    }
}

متغيرات البيئة

  • 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.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Capsulate
  2. Quickstart
  3. Sizes and pricing
  4. Developing
  5. Security
  6. License

Capsulate

Real computers for AI agents. A capsule is a full KVM virtual machine, Linux headless, Linux desktop, or Windows Server desktop for invited testers, taken from a warm pool in about two seconds. Your agent gets exec, files, screenshots, the OS accessibility tree (AT-SPI on Linux, UIAutomation on Windows), checkpoint and rollback of the whole machine, and session replay.

This repository is the doorway: everything a developer installs to talk to Capsulate. It is MIT licensed. The engine (the control plane and the node agent) runs on our metal in Helsinki and is not in this repository.

PackageWhat it isInstall
@capsulate/sdkTypeScript client, zero dependenciesnpm i @capsulate/sdk
@capsulate/cliThe cap command linenpm i -g @capsulate/cli
@capsulate/mcpMCP server for Claude Desktop, Cursor and any MCP clientnpx -y @capsulate/mcp
@capsulate/ai-toolsTool packs for the Vercel AI SDK and LangChainnpm i @capsulate/ai-tools
run-actionGitHub Action: run a step inside a capsuleuses: capsulatedev/run-action@v1

Quickstart

You need an API key from the dashboard (Settings, API and Keys). Capsulate is in a private beta; request access at capsulate.dev.

npm i -g @capsulate/cli
cap login --api-key cap_live_...
cap launch -t ubuntu-desktop -s 1c2g --wait
cap exec <id> -- python3 -c "print(6 * 7)"
cap shot <id> -o frame.png
cap capsule destroy <id>

Or from TypeScript:

import { Capsulate } from "@capsulate/sdk";

const cap = new Capsulate({ apiKey: process.env.CAPSULATE_API_KEY });
const box = await cap.capsules.launch({ template: "ubuntu-desktop", size: "1c2g" });
await box.waitUntilActive();
await box.exec(["python3", "main.py"]);
await box.findAndClick({ name: "Save" });        // find the control by name, act, verify
const cp = await box.checkpoint("before-submit"); // whole machine, under a second
await box.destroy();

More in examples/ and at docs.capsulate.dev.

Sizes and pricing

Machines are metered per second. The beta is free; the published rates are on the pricing page. Limits and known issues are listed honestly at docs.capsulate.dev/limits: one compute node in Helsinki today, about ten to fifteen capsules active at the same time, Windows for invited testers only.

Developing

npm ci
npm run build:sdk    # the CLI, MCP server and tool packs typecheck against the built SDK types
npm run typecheck
npm run build

npm run build builds the SDK first, then the tool packs, the CLI and the MCP server.

Security

Report vulnerabilities to security@capsulate.dev (see SECURITY.md). Never put a real cap_live_ key in an issue.

License

MIT. Copyright 2026 Milad Djahandide.

الأسئلة الشائعة

ما هو io.github.capsulatedev/capsulate؟

Real Linux and Windows desktop VMs for AI agents: exec, files, computer-use and snapshots via MCP.

كيف أثبّت io.github.capsulatedev/capsulate؟

يعمل على جهازك. في Claude Code: claude mcp add capsulate -e 'CAPSULATE_API_KEY=<your capsulate_api_key>' -e 'CAPSULATE_BASE_URL=<CAPSULATE_BASE_URL>' -e 'CAPSULATE_TEAM_ID=<CAPSULATE_TEAM_ID>' -- npx -y @capsulate/mcp@0.7.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.capsulatedev/capsulate إلى مفتاح API؟

نعم. يتطلب CAPSULATE_API_KEY، وتضبطها في إعداداته.

هل io.github.capsulatedev/capsulate مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.capsulatedev/capsulate؟

ينشره capsulatedev. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.