🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

mcp-server-code-runner

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-server-code-runner

Code Runner MCP Server

Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
323
-42.73%
Maintainers
1
Weekly downloads
 
Created
Source

Code Runner MCP Server

MCP Server for running code snippet and show the result.

Setup

VS Code

Configuration in settings.json:

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

Claude Desktop

Configuration in claude_desktop_config.json:

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

Usage

Try below prompts in the application which has configured Code Runner MCP Server:

  • Run the JS Code: console.log(5+6)
  • Where is temporary folder in my OS?
  • How many CPUs do I have in my machine?

Keywords

mcp

FAQs

Package last updated on 19 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts