Skip to main content
Glama

execute_javascript

Execute JavaScript code in a secure WebAssembly sandbox to run untrusted code safely and return console logs with evaluated expressions.

Instructions

Execute JavaScript code in a secure isolated WebAssembly sandbox. Both standard output (console logs) and the last evaluated expression are returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesJavaScript code to execute. Standard output and the final expression are returned.
Install Server

Other Tools

Latest Blog Posts

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/mavdol/capsule-mcp-server'

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