Exec Sandbox

io.github.inhuman/mcp-exec

Single exec tool running caller Python in a network-isolated locked-down sandbox.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp-exec": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/idconstruct/mcp-exec:v0.5.4"
      ],
      "env": {
        "MCP_EXEC_TRANSPORT": "stdio",
        "MCP_EXEC_DEFAULT_TIMEOUT_S": "30",
        "MCP_EXEC_MAX_TIMEOUT_S": "300",
        "MCP_EXEC_MAX_OUTPUT_BYTES": "1048576",
        "MCP_EXEC_MAX_STDIN_BYTES": "1048576",
        "MCP_EXEC_AUTH_TOKEN": "<your MCP_EXEC_AUTH_TOKEN>"
      }
    }
  }
}
Environment variables
  • MCP_EXEC_TRANSPORTMCP transport. Must be 'stdio' for direct docker/stdio use.
  • MCP_EXEC_DEFAULT_TIMEOUT_SDefault wall-clock timeout per exec, seconds.
  • MCP_EXEC_MAX_TIMEOUT_SMaximum wall-clock timeout a caller may request, seconds.
  • MCP_EXEC_MAX_OUTPUT_BYTESCap on combined stdout/stderr before truncation.
  • MCP_EXEC_MAX_STDIN_BYTESCap on stdin passed to the sandboxed code.
  • MCP_EXEC_AUTH_TOKENsecretOptional X-MCP-AUTH token (http/sse transports only).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.5.4
Registry
active
Published
7/20/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Exec Sandbox is listed here — it’s also the link we check for a free listing.

Exec Sandbox — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-inhuman-mcp-exec?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Exec Sandbox — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Exec Sandbox — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-inhuman-mcp-exec?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.