/ Каталог / Песочница / Capsule
● Сообщество capsulerun ⚡ Сразу

Capsule

автор capsulerun · capsulerun/capsule

Secure WebAssembly sandbox for AI agents - run untrusted Python or JavaScript without trusting it.

Capsule is a Model Context Protocol server by capsulerun. Secure WebAssembly sandbox for AI agents - run untrusted Python or JavaScript without trusting it. See the source repo for setup, supported clients, and configuration details.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

capsule-runtime.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "capsule-runtime": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/capsulerun/capsule"
      ]
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "capsule-runtime": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/capsulerun/capsule"
      ]
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "capsule-runtime": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/capsulerun/capsule"
      ]
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "capsule-runtime": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/capsulerun/capsule"
      ]
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "capsule-runtime",
      "command": "TODO",
      "args": [
        "See README: https://github.com/capsulerun/capsule"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "capsule-runtime": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/capsulerun/capsule"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add capsule-runtime -- TODO 'See README: https://github.com/capsulerun/capsule'

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: Capsule

Use Capsule for its primary workflow

👤 Developers using AI coding agents ⏱ ~10 min beginner

Когда использовать: You need the capability: Secure WebAssembly sandbox for AI agents - run untrusted Python or JavaScript without trusting it.

Предварительные требования
  • MCP server installed — See https://github.com/capsulerun/capsule for install instructions
Поток
  1. Install
    Install Capsule following the README at https://github.com/capsulerun/capsule✓ Скопировано
    → MCP server appears in your client's available tools/skills
  2. Invoke
    Use Capsule to complete the task described in its docs.✓ Скопировано
    → Agent calls the relevant tool/skill and returns a result

Итог: Working integration with the capabilities advertised by the project.

Подводные камни
  • README is the source of truth; details here may lag upstream — Check https://github.com/capsulerun/capsule for the latest setup steps and tool list

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills