Skip to main content
Glama

Stata-MCP

Configuration.md569 B
# Configuration File Stata-MCP stores settings in `~/.stata-mcp/config.toml`. A sample file is located at `src/stata_mcp/config/example.toml`. Copy it to your home folder if the file does not exist and modify as needed. ## Accessing Values You can read and write values in the configuration using dot notation: ```python from stata_mcp.config import Config cfg = Config() model = cfg.get("llm.ollama.MODEL") cfg.set("stata.stata_cli", "/path/to/stata") ``` Sections mirror the TOML hierarchy, so `llm.ollama.MODEL` refers to the `MODEL` key inside `[llm.ollama]`.

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/SepineTam/stata-mcp'

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