mcpbeat Sign in

Code Runner MCP Server

local only

Code Runner runs on your own machine — the client starts it, so there is no endpoint to ping. 1 517 installs a week from npm. Last commit 22 Sep 2025.

Code Runner MCP Server which can run code in various programming languages.

No commits for 13 months.

Installs per day peak 1 041 · avg 147 · +88% w/w
a month agotoday
1 517
Installs / week
npm · mcp-server-code-runner
242
Stars
8 open issues
22 Sep 2025
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 4 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/server.ts:60
  const filePath = path.join(tmpDir, fileName);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add code-runner -- npx -y mcp-server-code-runner
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-runner": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-code-runner"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-runner]
command = "npx"
args = ["-y", "mcp-server-code-runner"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-runner": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-code-runner"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "code-runner": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-code-runner"
      ]
    }
  }
}

Alternatives to Code Runner

same job, measured the same way
CICADA
by wende

Code intelligence MCP server for 17+ programming languages.

206 installs/wk local only
Codelogic MCP Server
by codelogicincengineering

An MCP Server to utilize Codelogic's rich software dependency data in your AI programming assistant.

2 installs/wk local only
Tokennuke
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

82 installs/wk local only
Codemunch Pro
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

73 installs/wk local only
Simple MCP Server
by ormastes

Simple Language MCP server — code intelligence, debugging, build, test, and VCS tools

71 installs/wk local only
Comfyui MCP
by artokun

MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.

19 647 installs/wk local only
code-index
by regsorm

Rust code index MCP server, native 1C:Enterprise (BSL) support. 37 tools, AST for 14 languages.

2 429 installs/wk local only
mcpls
by bug-ops

Universal MCP to LSP bridge exposing language server code intelligence as MCP tools

local only

Code Runner — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Runner?
Code Runner runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mcp-server-code-runner was installed 1 517 times last week.
Is Code Runner still maintained?
No commits for 13 months. We show this because it changes what you can expect: an unmaintained server may keep answering for months and then stop without warning.
How do I connect Code Runner?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mcp-server-code-runner straight from npm; nothing to host, nothing to sign up for.
How many people use Code Runner?
The npm package mcp-server-code-runner was installed 1 517 times in the last week. Week over week that is +88%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Runner open source?
Yes — it is published under the MIT licence, written in TypeScript, 242 stars on GitHub and 8 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.