Skip to main content
Glama

Onyx Documentation MCP Server

run_onyx_code

Execute Onyx programming code to test and debug scripts, returning outputs or errors with configurable filename and timeout settings.

Instructions

Execute Onyx code and return the output/errors for testing and debugging

Input Schema

NameRequiredDescriptionDefault
codeYesOnyx code to execute
filenameNoOptional filename (defaults to temp.onyx)temp.onyx
timeoutNoExecution timeout in seconds

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Onyx code to execute", "type": "string" }, "filename": { "default": "temp.onyx", "description": "Optional filename (defaults to temp.onyx)", "type": "string" }, "timeout": { "default": 10, "description": "Execution timeout in seconds", "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/elias-michaias/onyx_mcp'

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