Code Runner MCP server
io.github.formulahendry/code-runner·v0.1.9·245 starsCode Runner MCP Server which can run code in various programming languages.
245 stars870 downloads/wk
Reviews
Write oneNobody has reviewed Code Runner yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Code Runner tools (1, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
run-codewrite actionRun code snippet and return the result.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan13 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 238 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Code Runner compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 1
- the typical server has 7
- Tools that change things
- 100%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 245
- more than 95% of 28,688 servers
- Downloads a week
- 870
- more than 94% of 12,191 servers with a package
What its tools let an agent do: 1 run or deploy
Install Code Runner in Claude Code, Cursor or VS Code
Runs npx -y mcp-server-code-runner on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add code-runner -- npx -y mcp-server-code-runner
What the publisher says
From the Code Runner repository's README, as published. We do not edit it. Read it on GitHub
Code Runner MCP Server
MCP Server for running code snippet and show the result.
It supports running multiple programming languages: JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Clojure, Racket, Scheme, AutoHotkey, AutoIt, Kotlin Script, Dart, Haskell, Ni, Lisp, Kit, V, SCSS, Sass. Full list could be seen here in constants.ts.
Setup
npx for VS Code
Install the Code Runner MCP server in VS Code using below buttons:
-VSCode-0098FF) -VSCode_Insiders-24bfa5)
Alternatively, you can add configuration in settings.json:
{
"mcp": {
"inputs": [],
"servers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner@latest"
],
}
}
}
}npx for Claude Desktop
Configuration in claudedesktopconfig.json:
{
"mcpServers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner@latest"
],
}
}
}Docker
Use VS Code as example. Install the Code Runner MCP server in VS Code using below buttons:
-VSCode-0098FF) -VSCode_Insiders-24bfa5)
Alternatively, you can add configuration in settings.json:
{
"mcp": {
"inputs": [],
"servers": {
"mcp-server-code-runner": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"formulahendry/mcp-server-code-runner"
]
}
}
}
}npx issue on Widnows
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Code Runner: common questions
- Is Code Runner MCP server safe?
- Mostly: it is graded B (75/100). Read the Code Runner safety report
- How do I install Code Runner?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Code Runner need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Code Runner maintained?
- The last commit was 272 days ago (2026-02-05). The latest release is v0.1.9.
- How does Code Runner compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 1 (the typical server has 7); tools that change things 100% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.