boxlite-mcp
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
boxlite-mcp
MCP server providing isolated sandbox environments for AI agents.
The Problem
Today's AI apps don't just generate text – they write and run code, call tools, read your files, and hit the network. Running all of this directly on your machine creates real risks:
Security - Malicious or buggy code can damage your system
Privacy - Sensitive files and credentials are exposed
Reliability - Runaway processes can consume resources or crash your machine
BoxLite solves this by giving AI agents their own isolated VM – full freedom inside, complete safety outside.
Related MCP server: CUA MCP Server
Powered by BoxLite
BoxLite is an embeddable virtual machine runtime that follows the SQLite philosophy - simple, lightweight, and zero-configuration.
Why BoxLite?
Hardware-level isolation - True VM security, not just containers. Your AI agent runs in a completely isolated environment.
No daemon required - Unlike Docker, BoxLite doesn't need a background service. Just import and use.
Embeddable - Designed to be embedded directly into your applications, like SQLite for compute.
Fast startup - VMs boot in seconds, not minutes.
Cross-platform - Works on macOS and Linux.
Use Cases
AI Agent Sandboxing - Let AI agents execute code, browse the web, and use applications safely
Secure Code Execution - Run untrusted code without risk to your host system
Browser Automation - Headless browser with CDP for web scraping and testing
Development Environments - Disposable, reproducible dev environments
Demo
https://github.com/user-attachments/assets/0685d428-64e4-4a68-adfe-c24dc0dc5ae8
Available Tools
Tool | Description |
| Full Ubuntu desktop with XFCE. Anthropic computer use API compatible. |
| Chromium browser with CDP endpoint for Puppeteer/Playwright/Selenium |
| Python code execution sandbox |
| Generic container for running shell commands |
Quick Start
Claude Code
claude mcp add boxlite -- uvx boxlite-mcpClaude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"boxlite": {
"command": "uvx",
"args": ["boxlite-mcp"]
}
}
}Manual Installation
pip install boxlite-mcpDevelopment
git clone https://github.com/boxlite-labs/boxlite-mcp.git
cd boxlite-mcp
uv sync --extra dev
uv run pytestConnect Local Server to Claude Code
claude mcp add boxlite -s local \
-e BOXLITE_HOME=$HOME/.boxlite-mcp \
-- uv run --directory /path/to/boxlite-mcp python -m serverNote: Environment variables must be passed via
-e, not inline in the args. MCP stdio servers bypass the shell, soVAR=value commandsyntax won't work.
Connect Local Server to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"boxlite": {
"command": "uv",
"args": ["run", "--directory", "/path/to/boxlite-mcp", "python", "-m", "server"],
"env": {
"BOXLITE_HOME": "/path/to/.boxlite-mcp"
}
}
}
}License
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Linux VMs for AI agents: create VMs, run commands, edit files and open preview URLs.
Cloud Linux VMs for your agent: run code, Docker, files and HTTPS previews in a Sandboxer microVM.
Cloud desktops for AI agents: create a Linux computer, see its screen, click, type and run tasks.
Persistent Linux computers for AI agents: desktop, signed-in browser, vault, apps and shell.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA local sandbox that provides AI agents with code execution, filesystem access, and a full GUI desktop environment for 'computer use' capabilities. It exposes tools for shell commands, multi-language code interpretation, and remote desktop automation via the Model Context Protocol.211GPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables autonomous desktop automation by delegating tasks to vision-based agents operating within cloud-based virtual machine sandboxes. It allows users to manage VMs, execute complex computer tasks, and receive text-based screen summaries across Linux, Windows, and macOS environments.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to run compute tasks in secure sandboxes with optional interactive UIs, brokering between agents and isolated execution environments.Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI clients to perform sandboxed filesystem, directory, Ubuntu system, network, git, and code/text operations through 38 typed tools confined to a workspace. Ships with a browser-based web console that provides an interactive Linux terminal, a live tool playground, and real-time CPU, memory, and disk monitoring.383MIT