MCPServers
JavaScript Sandbox - MCP server logo

JavaScript Sandbox

4
0

Summary

This JavaScript sandbox MCP server, developed by an unknown author, provides a secure environment for executing JavaScript code within defined constraints. Built with TypeScript and leveraging the Model Context Protocol SDK, it offers a tool for running arbitrary JavaScript with configurable time and memory limits. The implementation focuses on isolation and security, utilizing the vm2 library to create a controlled execution context. It's particularly useful for tasks like code testing, algorithm evaluation, or providing a safe playground for AI models to experiment with JavaScript, enabling assistants to execute and analyze JavaScript code without risking system integrity or resource exhaustion.

Available Actions(1)

execute_js

Executes JavaScript code in an isolated environment. Parameters: code (required): JavaScript code to execute, timeout (optional): Maximum execution time in milliseconds (100-30000ms), memory (optional): Memory limit in bytes (1MB-100MB). Returns the result of code execution.

Last Updated: April 25, 2025

Reseñas de la Comunidad

0.0
0 reseñas
5
0
4
0
3
0
2
0
1
0

Aún no hay reseñas. ¡Sé el primero en reseñar!

Inicia sesión para unirte a la conversación

Coming soon to
HighlightHighlight AI

Lenguaje

TypeScript

Categorías

Etiquetas