/ ディレクトリ / プレイグラウンド / 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 は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

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

Cline サイドバーの MCP Servers アイコンをクリックし、"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 はマップではなくサーバーオブジェクトの配列を使用。

~/.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

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る