Coderunner

v1.0.0Developer Toolsstable

A local sandbox for your AI agents

anthropicappleapple-containerclaude-codeclaude-skills
Share:
827
Stars
0
Downloads
0
Weekly
0/5

What is Coderunner?

Coderunner is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to local sandbox for your ai agents

A local sandbox for your AI agents

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A local sandbox for your AI agents

Use Cases

Local sandbox for AI agent code execution
Containerized environment for safe execution
instavm

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx coderunner

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Coderunner

Coderunner is a local sandboxed MCP server that gives AI agents a safe, isolated environment to execute Python code and perform web automation tasks. Running inside Apple Container technology on Apple Silicon Macs, it provides a persistent Jupyter kernel for stateful code execution, Playwright-based web scraping, and a skill system for reusable packaged tools — all exposed as MCP tools so Claude and other AI clients can run real code without touching the host system.

Prerequisites

  • Mac with Apple Silicon (M1, M2, M3, or M4 chip) running macOS
  • Python 3.10 or later installed
  • Git to clone the repository
  • An MCP-compatible client such as Claude Desktop, OpenCode, or Gemini CLI
  • OPENAI_API_KEY if using OpenAI agent integrations (optional)
1

Clone the repository

Clone the Coderunner repository from GitHub.

git clone https://github.com/instavm/coderunner.git
cd coderunner
2

Run the installer

Make the install script executable and run it. This sets up the Apple Container environment and starts the Coderunner container with the MCP server.

chmod +x install.sh
./install.sh
3

Verify the MCP server is running

The MCP server starts automatically at http://coderunner.local:8222/mcp. You can verify it is up by checking the container status.

container list
4

Configure Claude Desktop

Add the Coderunner MCP server to your Claude Desktop configuration file. Replace /path/to/python and /path/to/coderunner with your actual paths.

5

Alternatively, configure OpenCode

For OpenCode users, add the remote MCP server URL to your OpenCode config file at ~/.config/opencode/opencode.json.

{
  "mcp": {
    "coderunner": {
      "type": "remote",
      "url": "http://coderunner.local:8222/mcp"
    }
  }
}

Coderunner Examples

Client configuration

Claude Desktop configuration pointing to the locally running Coderunner MCP server via HTTP.

{
  "mcpServers": {
    "coderunner": {
      "type": "http",
      "url": "http://coderunner.local:8222/mcp"
    }
  }
}

Prompts to try

Example prompts to use with Coderunner's MCP tools for code execution and web scraping.

- "Write and execute Python code to generate the first 100 prime numbers"
- "Scrape the titles and URLs from the top 10 results on Hacker News"
- "List all available skills installed in Coderunner"
- "Run a Python script that reads a CSV file and outputs summary statistics"
- "Use the pdf-text-replace skill to replace text in this PDF"

Troubleshooting Coderunner

Container fails to start after running install.sh

Ensure you are on an Apple Silicon Mac (M1/M2/M3/M4) with the Apple Container framework available. The installer requires macOS with Apple Virtualization Framework support.

MCP server at coderunner.local:8222 is not reachable

Check that the container is running with 'container list'. If stopped, resume it with 'container start coderunner'. If corrupted, reset with 'container delete coderunner && ./install.sh'.

Playwright web scraping tool returns errors

Chromium and Playwright are pre-installed inside the container. If issues persist, reset the container by running 'container delete coderunner && ./install.sh' to get a clean environment.

Frequently Asked Questions about Coderunner

What is Coderunner?

Coderunner is a Model Context Protocol (MCP) server that local sandbox for your ai agents It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Coderunner?

Follow the installation instructions on the Coderunner GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Coderunner?

Coderunner works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Coderunner free to use?

Yes, Coderunner is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "coderunner": { "command": "npx", "args": ["-y", "coderunner"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Coderunner?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides