Code Runner

Executes Python and JavaScript/TypeScript code snippets in isolated environments, enabling developers to test, prototype, and demo

mcpc-tech 99
Claude CodeClaude DesktopGeneric
View source ↗

The Code Runner MCP server provides AI assistants with the ability to execute Python and JavaScript/TypeScript code snippets in isolated environments. Built with Deno and utilizing Pyodide for Python execution, it exposes two main tools: python-code-runner and javascript-code-runner, both of which accept code as input and return the combined stdout/stderr output. The JavaScript runner supports npm packages, Deno modules from JSR, and Node.js built-in modules, while the Python runner can import pure Python packages with wheels and packages from PyPI or JsDelivr CDN. This implementation is particularly valuable for developers who need to test code snippets, prototype solutions, or demonstrate programming concepts directly within AI assistant conversations.

Source

Repository: https://github.com/mcpc-tech/mcpc/tree/HEAD/packages/code-runner-mcp

Maintain Code Runner?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Code Runner on getagentictools](https://getagentictools.com/mcp/mcpc-tech-mcpc?ref=badge)