Skip to main content
Glama

Code Sandbox MCP Server

by philschmid
MIT License
128

run_javascript_code

Execute JavaScript code in a secure sandbox environment, capturing output and errors for testing and development. Supports integration with @google/genai libraries for advanced 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