microsandbox-mcp
Connects AI agents to microsandbox for creating lightweight sandboxes, executing code, managing files, and monitoring resources.
README
microsandbox-mcp
Give your AI agents sandboxes. This MCP server connects any AI agent to microsandbox — letting them create fast lightweight sandboxes, execute code, manage files, and monitor resources.
Documentation | npm Package | GitHub
Installation
Run the server with npx -y microsandbox-mcp using stdio transport.
<details> <summary><b>Claude Code</b></summary>
claude mcp add --transport stdio microsandbox -- npx -y microsandbox-mcp
</details>
<details> <summary><b>Cursor</b></summary>
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
</details>
<details> <summary><b>VS Code</b></summary>
Add to .vscode/mcp.json:
{
"servers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
</details>
<details> <summary><b>Claude Desktop</b></summary>
Add to your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
</details>
<details> <summary><b>Windsurf</b></summary>
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
</details>
<details> <summary><b>Zed</b></summary>
Add to your Zed settings:
{
"context_servers": {
"microsandbox": {
"command": {
"path": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
}
</details>
<details> <summary><b>Other Clients</b></summary>
For any MCP client that supports stdio transport:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
</details>
Available Tools
Sandbox Lifecycle:
| Tool | Description |
|---|---|
sandbox_run |
Create an ephemeral sandbox, run a command, return the output, and destroy it |
sandbox_create |
Create and boot a persistent named sandbox with full configuration |
sandbox_list |
List all sandboxes with their current status |
sandbox_inspect |
Get detailed sandbox information including full configuration |
sandbox_stop |
Stop a running sandbox (graceful SIGTERM or force SIGKILL) |
sandbox_remove |
Remove a stopped sandbox |
Command Execution:
| Tool | Description |
|---|---|
sandbox_exec |
Execute a command with arguments inside a running sandbox |
sandbox_shell |
Execute a shell command string with pipes, redirects, and shell syntax |
Filesystem:
| Tool | Description |
|---|---|
sandbox_fs_read |
Read a file from the sandbox filesystem |
sandbox_fs_write |
Write content to a file inside the sandbox |
sandbox_fs_list |
List directory contents |
sandbox_fs_mkdir |
Create a directory with parent directories |
sandbox_fs_remove |
Remove a file or directory |
sandbox_fs_stat |
Get file metadata (kind, size, mode, modified time) |
Volume Management:
| Tool | Description |
|---|---|
volume_create |
Create a named persistent volume that survives sandbox restarts |
volume_list |
List all volumes |
volume_remove |
Remove a named volume |
Monitoring:
| Tool | Description |
|---|---|
sandbox_metrics |
Get live CPU, memory, disk I/O, and network metrics |
check_installed |
Verify that the msb runtime and libkrunfw are available |
Requirements
macOS (Apple Silicon) or Linux (x86_64/ARM64 with KVM support).
The msb runtime and libkrunfw are installed automatically on first run. If that fails, install manually:
curl -fsSL https://install.microsandbox.dev | sh
Development
git clone https://github.com/superradcompany/microsandbox-mcp.git
cd microsandbox-mcp
npm install
npm run build
node dist/index.js
Links
- microsandbox — The microVM sandbox runtime
- Documentation — Guides and API reference
- Agent Skills — Teach agents to use microsandbox without MCP
License
Apache-2.0
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.