Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STATA_DIRNoPath to the Stata installation directory. Defaults to automatic search (e.g. /Applications/Stata, /Applications/StataNow on macOS). Set this if Stata is not in a default location.
STATA_EDITIONNoStata edition: mp, se, or be. Defaults to automatic detection based on the installation directory.
STATA_MCP_WORKDIRNoProject working directory for the server. Defaults to automatic selection (session folder, otherwise the default directory).
STATA_MCP_DEFAULT_DIRNoDefault project directory when no session folder is available. Defaults to ~/Documents/Stata研究.
STATA_MCP_WAIT_SECONDSNoNumber of seconds to wait for a Stata command before returning; the task continues in the background and can be retrieved with stata_wait. Defaults to 240.
STATA_MCP_OUTPUT_SUBDIRNoName of the output subdirectory created under the project folder (containing do, logs, tables, figures). Defaults to stata_output.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources