Code Runner MCP Server which can run code in various programming languages.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y mcp-server-code-runner
MCP client config
{
"mcpServers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner"
]
}
}
}Run
docker run -i --rm docker.io/formulahendry/mcp-server-code-runner:0.1.8
MCP client config
{
"mcpServers": {
"mcp-server-code-runner": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/formulahendry/mcp-server-code-runner:0.1.8"
]
}
}
}