RunJS
Enables large language models to safely generate and execute JavaScript code within an isolated .NET runtime environment.
About
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.
Key Features
- Utilizes the Jint C# library for embedded JavaScript runtime.
- Facilitates dynamic JavaScript generation and execution by LLMs as a tool.
- Returns script execution results from the sandbox.
- 1 GitHub stars
- Executes JavaScript in an isolated sandbox environment.
- Provides configurable security controls including memory, statement, runtime, and recursion depth limits.
Use Cases
- Allowing LLMs to generate and execute JavaScript for data processing tasks.
- Parsing and extracting specific data from JSON strings using LLM-generated code.
- Implementing dynamic data transformation logic on incoming data with AI guidance.