microsandbox-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@microsandbox-mcprun python3 -c 'print(42)' in a sandbox"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
claude mcp add --transport stdio microsandbox -- npx -y microsandbox-mcpAdd to ~/.cursor/mcp.json:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}Add to your config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}Add to your Zed settings:
{
"context_servers": {
"microsandbox": {
"command": {
"path": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}
}For any MCP client that supports stdio transport:
{
"mcpServers": {
"microsandbox": {
"command": "npx",
"args": ["-y", "microsandbox-mcp"]
}
}
}Available Tools
Sandbox Lifecycle:
Tool | Description |
| Create an ephemeral sandbox, run a command, return the output, and destroy it |
| Create and boot a persistent named sandbox with full configuration |
| List all sandboxes with their current status |
| Get detailed sandbox information including full configuration |
| Stop a running sandbox (graceful SIGTERM or force SIGKILL) |
| Remove a stopped sandbox |
Command Execution:
Tool | Description |
| Execute a command with arguments inside a running sandbox |
| Execute a shell command string with pipes, redirects, and shell syntax |
Filesystem:
Tool | Description |
| Read a file from the sandbox filesystem |
| Write content to a file inside the sandbox |
| List directory contents |
| Create a directory with parent directories |
| Remove a file or directory |
| Get file metadata (kind, size, mode, modified time) |
Volume Management:
Tool | Description |
| Create a named persistent volume that survives sandbox restarts |
| List all volumes |
| Remove a named volume |
Monitoring:
Tool | Description |
| Get live CPU, memory, disk I/O, and network metrics |
| 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 | shDevelopment
git clone https://github.com/superradcompany/microsandbox-mcp.git
cd microsandbox-mcp
npm install
npm run build
node dist/index.jsLinks
microsandbox — The microVM sandbox runtime
Documentation — Guides and API reference
Agent Skills — Teach agents to use microsandbox without MCP
License
Apache-2.0
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/superradcompany/microsandbox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server