QuickJS Runner icon

QuickJS Runner

3

Securely executes arbitrary JavaScript code within a sandboxed QuickJS engine using Node.js WASI.

About

This server acts as an MCP tool provider, offering a secure method to execute JavaScript code. It exposes the `run_javascript_code` tool, which takes JavaScript code as input and executes it within a sandboxed QuickJS WASM environment. The server captures standard output and standard error streams, reporting any execution errors back to the MCP client, enabling safe execution of potentially untrusted JavaScript code snippets.

Key Features

  • Secure Execution using QuickJS and Node.js WASI
  • 3 GitHub stars
  • Captures stdout and stderr from executed JavaScript
  • Built with TypeScript for type safety
  • MCP Integration via stdio
  • Reports runtime errors and non-zero exit codes

Use Cases

  • Providing a sandboxed environment for JavaScript execution.
  • Allowing language models to run JavaScript code.
  • Safely executing untrusted JavaScript code snippets.
Craft Better Prompts with AnyPrompt
Sponsored