Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRETL_CLINoOptional path to gretlcli or gretlcli.exe
GRETL_GUINoOptional path to gretl or gretl.exe
GRETLMCP_OPEN_GUINoSet to 'false' to stop tools from opening Gretl windows by default
GRETLMCP_REQUIRE_GUINoSet to 'false' to allow CLI-only success when GUI opening is disabled or unavailable
GRETLMCP_WORKSPACE_DIRNoOptional directory for Gretl run workspaces
GRETLMCP_ENFORCE_GUI_ONLYNoSet to 'true' to reject any headless workflow request

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gretl_versionB

Return the installed Gretl version by running gretlcli.

gretl_gui_versionB

Return the installed Gretl GUI version by running gretl.exe --version.

gretl_gui_launchB

Launch the visible Gretl desktop GUI, optionally opening a local dataset/script or running a provided script on startup.

gretl_run_scriptC

Run any Gretl/Hansl script through gretlcli. By default this also requires opening the same workflow in the visible Gretl GUI.

gretl_run_commandsC

Run one or more raw Gretl command lines. By default this also requires opening the same workflow in the visible Gretl GUI.

gretl_run_script_fileB

Run an existing local Gretl .inp script file with gretlcli. By default this also requires opening the same workflow in the visible Gretl GUI.

gretl_capabilitiesC

List Gretl commands, built-in functions, and package-management help from the installed Gretl version.

gretl_packageB

Install, query, run samples for, unload, remove, or index Gretl function/data packages using the native pkg command. By default this also requires opening the generated workflow in the visible Gretl GUI.

gretl_make_packageC

Build a Gretl function package (.gfn or .zip) using the native makepkg command. By default this also requires opening the generated workflow in the visible Gretl GUI.

gretl_helpB

Ask Gretl for command help, for example ols, summary, open, arima, or gnuplot. By default this also requires opening the help workflow in the visible Gretl GUI.

gretl_dataset_summaryC

Open a Gretl-supported dataset file, return summary statistics, and open the same workflow in Gretl GUI by default.

gretl_olsB

Open a dataset, estimate an OLS model, and open the same workflow in Gretl GUI by default.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/OndrejLapes/GretlMCP'

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