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: June 17, 2025

Recensioni della Community

0.0
0 recensioni
5
0
4
0
3
0
2
0
1
0

Nessuna recensione ancora. Sii il primo a recensire!

Accedi per unirti alla conversazione

Coming soon to
HighlightHighlight AI

Linguaggio

TypeScript

Categorie

Tag