Skip to main content
Glama

Onyx Documentation MCP Server

build_onyx_code

Compile Onyx code into an executable file using the 'onyx build' command within a specified directory, with customizable filename and build timeout options.

Instructions

Build Onyx code file using "onyx build" in a specified directory

Input Schema

NameRequiredDescriptionDefault
codeYesOnyx code to build
directoryNoDirectory to build in (defaults to current working directory).
filenameNoFilename for the Onyx filemain.onyx
timeoutNoBuild timeout in seconds

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Onyx code to build", "type": "string" }, "directory": { "default": ".", "description": "Directory to build in (defaults to current working directory)", "type": "string" }, "filename": { "default": "main.onyx", "description": "Filename for the Onyx file", "type": "string" }, "timeout": { "default": 30, "description": "Build 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