DevelopmentVerifiedTypeScript

mcp-server-code-runner

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

Free
N/A rating (0 reviews)0 installs241 GitHub stars

The Code Runner MCP Server supports running multiple programming languages including JavaScript, PHP, Python, Ruby, Go, and many more. This allows users to execute code snippets in their preferred language and see the output instantly. The server is designed to be integrated with development environments like VS Code, making it easy for developers to run code without switching contexts. With a wide range of supported languages, the Code Runner MCP Server caters to diverse programming needs. Whether you're developing web applications, scripting, or experimenting with new languages, this server provides a seamless experience for executing code. Users can install it quickly using npx, ensuring that they have the latest version available for their coding tasks.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

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

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1