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…

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-02-05 · ★ 243 · #148 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Code Runner

Claude Code

claude mcp add formulahendry-mcp-server-code-runner -- npx -y mcp-server-code-runner

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "formulahendry-mcp-server-code-runner": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-code-runner"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · container (OCI image) - can be sandboxed away from your filesystem

license MIT - declared in the repository

npm package mcp-server-code-runner - unscoped; check the name against the project README before installing

registry namespace io.github.formulahendry is GitHub-verified and matches the repo owner

03 · Who maintains Code Runner

code-runner is maintained by formulahendry. We track 3 MCP servers from formulahendry - 3 actively maintained, 683 combined GitHub stars, oldest repo from Mar 2025. Full record: all servers from formulahendry.

  1. spec-driven-development MCP Server that facilitates spec-driven development workflows, not just Vibe Coding. ★ 436
  2. mcp-server-mcp-registry MCP Server for MCP Registry to discover and search for available MCP servers in the registry ★ 4

04 · Facts

category
other - ranked #148 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.formulahendry/code-runner (active, first published 2025-09-09 · 2 versions)
packages
npm:mcp-server-code-runner · oci:docker.io/formulahendry/mcp-server-code-runner:0.1.8

05 · Code Runner FAQ

What is Code Runner?

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…

Is Code Runner still maintained?

Yes - as of 2026-08-25, its last commit was 2026-02-05. We re-verify nightly.

How do I install Code Runner?

Run `npx -y mcp-server-code-runner`. You can also paste the ready-made client config above.

Does Code Runner run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Code Runner