Fresh JS
Createdyannbam
Executes JavaScript code for AI models through Model Context Protocol (MCP) tool calls.
About
Fresh JS provides a JavaScript execution environment specifically designed for AI models utilizing the Model Context Protocol (MCP). It allows models to run JavaScript and TypeScript code, import npm packages, and maintain stateful REPL sessions, all through MCP tool calls. With support for interactive REPL, named pipes, and standard MCP modes, it offers flexible integration options for diverse AI application scenarios.
Key Features
- Executes JavaScript and TypeScript code with automatic transpilation.
- Supports stateful REPL sessions across multiple interactions.
- Enables dynamic import and usage of npm packages.
- Provides interactive command line REPL interface.
- Offers a named pipe interface for external process communication.
Use Cases
- Providing a sandboxed environment for AI agents to interact with external data.
- Facilitating dynamic scripting and automation tasks within AI workflows.
- Enabling AI models to execute custom JavaScript logic.