Expand description
Configuration structs for the Soma MCP server.
Values are loaded in priority order:
config.toml(checked in, defaults only — no secrets)- Environment variables (
SOMA_*,SOMA_MCP_*)
Customize: rename SomaConfig to match your service. Adjust env prefixes
throughout. Add any domain-specific config fields you need.
Structs§
- Auth
Config - OAuth / JWT auth sub-config.
- Config
- Top-level config (maps to
config.tomlsections). - McpConfig
- MCP HTTP server configuration.
- Soma
Config - Config for the Soma runtime or deployed platform API.
Enums§
Functions§
- default_
data_ dir - Return the default local data directory for this service.
- load_
dotenv - Load
<appdata>/.env(~/.<service>/.envon bare metal,/data/.envin a container) into the process environment if present.