Skip to content
MCP server

PillDrops

Self-hosted cloud sandboxes for running untrusted code, controlled from a CLI or AI agents

PillDrops is an open-source MCP server for agent sandbox. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Remotely
Version
1.16.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http pilldrops https://pilldrops.com/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "pilldrops": {
      "type": "http",
      "url": "https://pilldrops.com/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://pilldrops.com/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pilldrops": {
      "url": "https://pilldrops.com/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "pilldrops": {
      "type": "http",
      "url": "https://pilldrops.com/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://pilldrops.com/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add pilldrops --url https://pilldrops.com/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.pilldrops]
url = "https://pilldrops.com/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://pilldrops.com/mcp

Enter a Name (for example "PillDrops"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pilldrops": {
      "type": "http",
      "url": "https://pilldrops.com/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "pilldrops": {
          "httpUrl": "https://pilldrops.com/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http pilldrops https://pilldrops.com/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "pilldrops": {
          "serverUrl": "https://pilldrops.com/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "pilldrops": {
          "url": "https://pilldrops.com/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "pilldrops": {
          "type": "streamableHttp",
          "url": "https://pilldrops.com/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "pilldrops": {
          "url": "https://pilldrops.com/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "pilldrops": {
          "url": "https://pilldrops.com/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "pilldrops": {
          "url": "https://pilldrops.com/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "pilldrops": {
          "url": "https://pilldrops.com/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About PillDrops

PillDrops is an engine that runs untrusted code inside isolated microVMs, and this repository provides its command-line client. From a terminal you can create sandboxes from templates, execute commands, attach an interactive PTY, move files, expose ports and open previews in a browser.

The CLI is built to be scripted: it returns machine-readable JSON with --json, uses stable exit codes, and never prompts unless it is attached to a terminal. It also includes a shell mode with a built-in prompt, and an api subcommand that reaches any /v1 route with the stored credential.

It also serves the platform as MCP tools over stdio, so an AI assistant such as Claude Code can create and manage sandboxes directly. The MCP server is also available as a Go library with an HTTP transport. The project is aimed at developers and teams who want to run agent-generated or untrusted code on infrastructure they control.

What it does

Isolated microVM sandboxes
Create sandboxes from templates and run commands or code inside them, separated from the host.
Interactive shell access
Attach a real PTY to a sandbox for editors, REPLs and package installers.
Port exposure and previews
Start services on a chosen port and open the preview in a browser.
Persistent volumes
Create disks that outlive individual sandboxes and attach them when creating new ones.
Scriptable CLI output
JSON output, stable exit codes and no prompts when not run in a terminal.
MCP server for AI clients
Exposes platform operations as MCP tools over stdio for AI assistants.

Good for

  • Run code generated by an AI agent in an isolated environment before trusting it
  • Give a coding assistant a disposable sandbox to test and fix a project
  • Automate sandbox creation, command execution and cleanup in scripts or CI
  • Preview a web service running inside a sandbox in a browser

Pricing

Open source

PillDrops FAQ

How is the CLI installed?

Through npm as @pilldrops/cli, by downloading a release binary for macOS, Linux or Windows, or by building it with Go.

Does PillDrops work with AI assistants?

Yes. Running pilldrops mcp serves the platform as MCP tools over stdio, and the repository's notes show how to add it to Claude Code.

Where does the server run?

PillDrops is self-hosted; the CLI defaults to http://localhost:8080 and can be pointed at another server with --api-url.

Is PillDrops free?

Yes. PillDrops is open source, so you can use and self-host it for free.

How do I add PillDrops to Claude Code?

Run this command in your terminal: claude mcp add --transport http pilldrops https://pilldrops.com/mcp

What are the best alternatives to PillDrops?

The closest alternatives to PillDrops are Sandfort, Platinum Sandboxes, Sandscale, CreateOS and airgap.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers