Skip to main content
Your configuration lives in the config.toml file of Coral’s configuration folder. By default the folder is located in:
  • macOS: ~/Library/Application Support/com.withcoral.coral
  • Linux: ~/.config/coral
  • Windows: %APPDATA%\withcoral\coral\config
You can override the location of the config folder with the CORAL_CONFIG_DIR environment variable.

General

[listeners.grpc]

[listeners.mcp]

[listeners.auth]

[listeners.web]

[credentials]

[outbound]

Controls the policy for outbound calls from Coral to providers. Policies can have one of the following values:
  • deny: Denies all requests to the policy target
  • https: Allows only https requests, no plain http.
  • http-and-https: Allows both http and https requests.
All provider calls not covered by an explicit policy in this section are treated under the https policy.

[runtime]

[otel]

Controls telemetry export to an OpenTelemetry endpoint. Every request has a trace, even when you do not set endpoint. A failed MCP tool call returns its trace_id. trace_filter controls which spans Coral exports, not which requests are traced. Coral records a request even when its caller’s traceparent marks it unsampled. Request spans use the target coral.request.

Auth

[auth]

[auth.session]

[auth.provider]

Register <listeners.auth.public_url>/auth/oidc/callback as the redirect URI at the OIDC issuer.

[auth.provider.access_token]

Optional section that can be used to require certain values on the OIDC’s access token.

Database

[database]