Skip to content

MCP servers for code execution

13 MCP servers for code execution in agent sandbox, including Agent Exec, sandboxrouting and fcvm, most popular first. 5 of the 13 are listed as free or open source. Each one is written up from its own site or README, with pricing, platforms and alternatives.

Showing 1–13 of 13

  1. Agent Exec

    MCP server

    Pay-per-call APIs for agents: sandboxed code, storage, locks and x402 utilities

    • 32 tools
    • Remote
    • Paid
    • Agent sandbox
  2. sandboxrouting

    MCP server

    One router across 108 cloud sandbox providers, using free tiers before paid ones

    Runs locally
    • Open source
    • Agent sandbox
  3. fcvm

    MCP server

    Disposable Firecracker microVM sandboxes that AI agents can run code in, snapshot and fork

    Runs locally
    • Open source
    • Agent sandbox
  4. Sandfort

    MCP server

    Self-hosted sandbox API for running AI-generated code, with an MCP server for agent

    Runs locally
    • 8 tools
    • Open source
    • Agent sandbox
  5. Cloud Linux sandboxes that AI agents can drive through MCP tools

    Not checked yet
    • 11 tools
    • Remote
    • Agent sandbox
  6. AgentSpace

    MCP server

    Persistent file workspace, code sandbox and public hosting for AI agents

    Not checked yet
    • 12 tools
    • Remote
    • Freemium
    • Agent sandbox
  7. Named, isolated Linux computers that AI agents can reach over MCP

    Runs locally
    • 7 tools
    • Developer tools
  8. Sandscale

    MCP server

    Firecracker microVM sandboxes for AI agents to run untrusted code, with audit logs

    Not checked yet
    • Remote
    • Freemium
    • Agent sandbox
  9. Give an agent its own Linux VM to run commands, files and preview URLs

    Runs locally
    • 11 tools
    • Free trial
    • Developer tools
  10. Exec Sandbox

    MCP server

    MCP server that runs caller-supplied Python in a network-isolated sandbox

    Runs locally
    • 1 tool
    • Open source
    • Agent sandbox
  11. Hosted Linux sandboxes for AI agents, exposed to MCP clients as remote tools

    Not checked yet
    • 24 tools
    • Remote
    • Freemium
    • Agent sandbox
  12. ScratchRun

    MCP server

    Disposable MicroVM sandbox where AI agents run Python, Node or Bash code safely

    Runs locally
    • 1 tool
    • Agent sandbox
  13. Sandboxed Python script execution for AI agents, with inline dependencies per run

    Runs locally
    • 3 tools
    • Open source
    • Agent sandbox

Questions about MCP servers for code execution

What are the best MCP servers for code execution?

The most popular MCP servers for code execution on AI-Powered right now are Agent Exec, sandboxrouting, fcvm, Sandfort and LumiCloud Sandboxes. Rankings combine upvotes, recent activity and, for open-source projects, GitHub stars.

Are there free MCP servers for code execution?

Yes. Of the 13 MCP servers for code execution listed, 5 are free or open source and 3 have a free plan. Use the Pricing filter to see only those.

How many MCP servers for code execution are there?

AI-Powered lists 13 MCP servers for code execution. New listings are added daily from the official MCP Registry, GitHub and maker submissions.