Code Runner MCP Server which can run code in various programming languages.
io.github.formulahendry/code-runner — MCP Code Runner Server
The io.github.formulahendry/code-runner MCP Server runs code snippets in multiple programming languages and returns the execution result. It is described as an MCP Server for “running code snippet and show the result,” with support for JavaScript, PHP, Python, and Pe (as shown in the provided excerpt).
🛠️ Key Features
Code execution via MCP server
Runs code snippets and displays results
Multi-language support: JavaScript, PHP, Python, Pe
🚀 Use Cases
Verify small code snippets by running them and inspecting output
Test language-specific behavior across supported runtimes
⚡ Developer Benefits
Centralized code execution through an MCP server interface
Quick feedback loop for snippet results
⚠️ Limitations
The provided excerpt only confirms partial language coverage (“Pe” is truncated) and does not list additional details.
Before using Code Runner MCP Server, please make sure interpreter or compiler of the programming language you want to run is set in PATH environment variable.
Try below prompts in the application which has configured Code Runner MCP Server:
Run the JavaScript Code: console.log(5+6)
Where is temporary folder in my OS? Use run-code tool
How many CPUs do I have in my machine? Use run-code tool