Skip to main content
Glama

Code Sandbox MCP Server

by philschmid
MIT License
67

run_javascript_code

Execute JavaScript code in a secure sandbox environment to capture output and errors, leveraging included libraries like @google/genai for enhanced functionality.

Instructions

Execute JavaScript code in the sandbox environment and captures the standard output and error.

Input Schema

NameRequiredDescriptionDefault
codeYesThe JavaScript code to execute, included libraries are @google/genai

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "The JavaScript code to execute, included libraries are @google/genai", "title": "Code", "type": "string" } }, "required": [ "code" ], "title": "run_javascript_codeArguments", "type": "object" }
Install Server

Other Tools from Code 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/philschmid/code-sandbox-mcp'

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