RunJS

•
31
•

Enables large language models to safely generate and execute JavaScript code within an isolated .NET runtime environment.

RunJS provides an MCP server designed to securely execute dynamically generated JavaScript code from large language models. It leverages the Jint library to embed a JavaScript runtime within .NET, offering precise control over the execution sandbox through configurable limits on memory, statements, runtime, and call depth. This robust isolation makes it an ideal solution for safely processing JSON or performing complex data transformations generated by AI within your applications.

主な機能

01Utilizes the Jint C# library for embedded JavaScript runtime.
02Facilitates dynamic JavaScript generation and execution by LLMs as a tool.
03Returns script execution results from the sandbox.
041 GitHub stars
05Executes JavaScript in an isolated sandbox environment.
06Provides configurable security controls including memory, statement, runtime, and recursion depth limits.

ユースケース

01Allowing LLMs to generate and execute JavaScript for data processing tasks.
02Parsing and extracting specific data from JSON strings using LLM-generated code.
03Implementing dynamic data transformation logic on incoming data with AI guidance.