# Docker Code Runner

> Use this tool when you need to execute Python or bash code in a secure, isolated environment, such as for cybersecurity analysis, data science workflows, or general-purpose code execution. It provides a sandboxed container or virtual machine with configurable settings and pre-installed tools, solving problems related to code security and isolation. Ideal for use cases where security and isolation are critical, it accepts code inputs and returns execution outputs, supporting ephemeral and persistent containers with customizable timeouts and environment variables.

Canonical page: https://skillsregistry.net/skills/whh4git-code-runner  
JSON: https://api.skillsregistry.net/v1/skills/whh4git-code-runner

## Description

This code execution server enables AI assistants to run Python and bash code in isolated Docker containers or virtual machines, providing a secure sandboxed environment for code execution tasks. Built with FastMCP and Docker integration, it supports both ephemeral containers (created from images) and persistent named containers, with configurable timeouts and environment variables. The implementation includes a Kali Linux-based container with pre-installed security tools and scientific packages, making it particularly useful for cybersecurity analysis, data science workflows, and general-purpose code execution where isolation and security are paramount.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/whh4git-code-runner)
- **Repository:** <https://github.com/whh4git/mcp-code-runner>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "whh4git-code-runner"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/whh4git-code-runner` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/whh4git-code-runner/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
