Skip to main content
Glama

JavaScript Sandbox MCP Server

by garc33

execute_js

Run JavaScript code in a secure, isolated environment with customizable memory and timeout limits for safe execution within the MCP server system.

Instructions

Execute JavaScript code in an isolated environment

Input Schema

NameRequiredDescriptionDefault
codeYesJavaScript code to execute
memoryNoMemory limit in bytes
timeoutNoMaximum execution time in milliseconds

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "JavaScript code to execute", "type": "string" }, "memory": { "description": "Memory limit in bytes", "maximum": 104857600, "minimum": 1048576, "type": "number" }, "timeout": { "description": "Maximum execution time in milliseconds", "maximum": 30000, "minimum": 100, "type": "number" } }, "required": [ "code" ], "type": "object" }
Install Server

Other Tools from JavaScript Sandbox MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/garc33/js-sandbox-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server