formulahendry avatar

Code Runner

formulahendry/mcp-server-code-runner

The Code Runner MCP Server enables execution of code snippets in over 40 programming languages including JavaScript, Python, Go, Ruby, Rust, and many others, providing output results directly through the Model Context Protocol. The server solves the problem of testing and running code without leaving an AI interface, supporting languages from common choices like Python and JavaScript to specialized ones like Julia, Haskell, and Clojure. It can be deployed via npx or Docker and integrates with VS Code and Claude Desktop.

GitHub stars
241
tool
1
transport
STDIO
last updated
Sep 25, 2025

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

run-codeUsed in the usage prompts to run code snippets and show the result.

Used in the usage prompts to run code snippets and show the result.

No parameter schema in public metadata yet.

Sponsors

Readme

Code Runner MCP Server

NPM Downloads smithery badge Docker Pulls

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.


View the full README on GitHub

Details

Repository
github.com/formulahendry/mcp-server-code-runner
Package
mcp-server-code-runner
Transport
STDIO
Registry
MCP registry, active

More from formulahendry