Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Microsandbox MCP

MCP server by superradcompany Verified · npm:microsandbox-mcp

Connects AI assistants to microsandbox so they can create microVM sandboxes, run commands, manage files, and check metrics. It is for developers who want agents to run code in isolated environments.

  • Score 81
  • 24 stars
  • 956 a week
  • Apache-2.0
  • Updated

Install Microsandbox MCP

Built from the published package, never by AI.

claude mcp add microsandbox-mcp -- npx -y microsandbox-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Microsandbox MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the microsandbox-mcp block.

About

microsandbox-mcp is an MCP server that gives AI agents access to microsandbox. It runs over stdio and is started with npx. Once connected, an agent can create fast, lightweight sandboxes, execute code, manage files, and monitor resources.

The server exposes tools for sandbox lifecycle, command execution, logs, filesystem access, metrics, volumes, images, snapshots, and SSH/SFTP. Host path access is limited by an allowlist that defaults to the current working directory. Cloud execution is opt-in and requires MSB_BACKEND=cloud and an API key. The source describes it as a thin TypeScript SDK adapter for developers who build AI agents that need isolated sandboxes.

Written from the project's README and checked against it.

Tools it gives your assistant

  • runtime_checkChecks whether the microsandbox runtime, msb, and libkrunfw are available.
  • sandbox_runCreates an ephemeral sandbox, runs a shell command, returns output, and removes it.
  • sandbox_createCreates and boots a persistent sandbox with resources, mounts, network, and lifecycle options.
  • sandbox_execExecutes an argv command with env, cwd, user, TTY, timeout, and output caps.
  • sandbox_exec_startStarts a long-running command and returns an in-memory exec session id.
  • sandbox_fs_readReads a sandbox file as UTF-8 text or base64 bytes.
  • sandbox_fs_writeWrites UTF-8 text or base64 bytes to a sandbox file.
  • sandbox_logs_readReads captured sandbox logs with tail, time, source, and grep filters.
  • sandbox_metricsGets point-in-time metrics for one running sandbox.
  • volume_createCreates a directory or disk-backed named volume with quota and labels.

What you need

  • npm, to run the server with npx
  • macOS on Apple Silicon or Linux on x86_64 or ARM64 with KVM
  • microsandbox runtime (msb and libkrunfw), installable with runtime_install
  • Optional: MSB_API_KEY and MSB_BACKEND=cloud for cloud execution

Try asking

  • Create a sandbox from the python image and run a script in it
  • List my running sandboxes and show their current metrics
  • Write a config file into the sandbox and read it back to confirm

Good to know

  • Cloud execution is opt-in and never falls back to local if the credential is missing.
  • Host paths are restricted to an allowlist unless MICROSANDBOX_MCP_HOST_PATH_POLICY is set to unrestricted.
  • Snapshot restore does not perform a live fork; it enables copy-on-write memory only.
  • Image pull, load, and save are not exposed until the TypeScript SDK provides them.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://install.microsandbox.dev | sh

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Microsandbox MCP

All alternatives →
World Monitor koala73
98

World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.

ACA Remote 91k
Power BI Authoring MCP Server (Local) microsoft
95

Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.

AAA Local 9.7k/wk
Seal Open Data ariacom
95

Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.

AAA Remote 1.7k
OpenMetadataopen-metadata
94

OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.

AAA Remote 16k
Flint Chart MCP microsoft
94

Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.

AAA Local 4.6k
PostHog PostHog
94

Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.

AFA Remote 41k

Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data

Microsandbox MCP: common questions

Which platforms does microsandbox-mcp support?

The source says macOS on Apple Silicon, or Linux on x86_64 or ARM64 with KVM support.

Does it run sandboxes locally or in the cloud?

Sandboxes run locally by default. Cloud execution is opt-in and requires setting MSB_BACKEND=cloud and MSB_API_KEY, or selecting a cloud profile.

How does it limit access to host files?

Bind mounts, host copies, and snapshot operations are limited to the paths in MICROSANDBOX_MCP_HOST_PATHS. That defaults to the current working directory.

How do I install Microsandbox MCP?

In Claude Code run claude mcp add microsandbox-mcp -- npx -y microsandbox-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Microsandbox MCP the official server?

Microsandbox MCP is published by npm:microsandbox-mcp from its verified domain in the official MCP Registry.

Is Microsandbox MCP free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Microsandbox MCP safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Microsandbox MCP?

Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.

Does Microsandbox MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Microsandbox MCP Install

Add to stack

Loading.