Skip to main content
Glama

Dumpling AI MCP Server

Official
by Dumpling-AI

run-js-code

Execute JavaScript code in a secure sandbox environment, enabling automation, testing, and data processing with options for NPM commands, JSON parsing, and resource management.

Instructions

Execute JavaScript code in a sandbox.

Input Schema

NameRequiredDescriptionDefault
codeYesJavaScript code
commandsNoNPM install commands
memoryNoMemory allocation in MB
parseJsonNoParse output as JSON
timeoutNoExecution timeout in ms

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "code": { "description": "JavaScript code", "type": "string" }, "commands": { "description": "NPM install commands", "type": "string" }, "memory": { "description": "Memory allocation in MB", "type": "number" }, "parseJson": { "description": "Parse output as JSON", "type": "boolean" }, "timeout": { "description": "Execution timeout in ms", "type": "number" } }, "required": [ "code" ], "type": "object" }

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/Dumpling-AI/mcp-server-dumplingai'

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