code-runner-mcp MCP Server

Let AI execute JavaScript/Python code with any package imports!

Local serverstdio

What is the code-runner-mcp Server?

code-runner-mcp source profile. From the maintainer documentation: “Let AI execute JavaScript/Python code with any package imports!”

Local setup

The project provides a local client configuration using deno. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares DENO_PERMISSION_ARGS, NODEFS_ROOT, NODEFS_MOUNT_POINT. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the code-runner-mcp Server

{
  "mcpServers": {
    "code-runner": {
      "command": "deno",
      "args": [
        "run",
        "--allow-all",
        "jsr:@mcpc/code-runner-mcp/bin"
      ],
      "env": {
        "DENO_PERMISSION_ARGS": "--allow-net",
        "NODEFS_ROOT": "/tmp",
        "NODEFS_MOUNT_POINT": "/tmp"
      },
      "transportType": "stdio"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
DENO_PERMISSION_ARGSDeclared in the maintainer’s client configuration.Check documentation
NODEFS_ROOTDeclared in the maintainer’s client configuration.Check documentation
NODEFS_MOUNT_POINTDeclared in the maintainer’s client configuration.Check documentation