Back to MCP Servers

Js

A Javascript code execution sandbox that uses v8 to isolate code to run AI generated javascript locally without fear. Supports heap snapshotting for persistent sessions.

code-executionjavascriptai

Installation

npx -y mcp-js

Configuration

{
  "mcpServers": {
    "mcp-js": {
      "command": "npx",
      "args": ["-y", "mcp-js"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub