Skip to main content
Glama

Dumpling AI MCP Server

Official
by Dumpling-AI

run-python-code

Execute Python code in a secure sandbox with configurable parameters like timeout, memory allocation, and JSON output parsing. Integrates with Dumpling AI for data processing and automation tasks.

Instructions

Execute Python code in a sandbox.

Input Schema

NameRequiredDescriptionDefault
codeYesPython code
commandsNoPip install commands
memoryNoMemory allocation in MB
parseJsonNoParse output as JSON
saveOutputFilesNoSave output files
timeoutNoExecution timeout in ms

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "code": { "description": "Python code", "type": "string" }, "commands": { "description": "Pip install commands", "type": "string" }, "memory": { "description": "Memory allocation in MB", "type": "number" }, "parseJson": { "description": "Parse output as JSON", "type": "boolean" }, "saveOutputFiles": { "description": "Save output files", "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