Documentation
¶
Overview ¶
Package config provides configuration loading for the MCP server.
Index ¶
Constants ¶
View Source
const ( TransportStdio = "stdio" TransportHTTP = "http" )
Transport constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Shared
APIURL string // DEPLOYBASE_API_URL — defaults to https://api.deploybase.eu
Transport string // TRANSPORT — "stdio" (default) or "http"
Port int // PORT — HTTP listen port (default 8082)
// stdio-only
APIKey string // DEPLOYBASE_API_KEY — required for stdio transport
// http-only
ZitadelIssuerURL string // ZITADEL_ISSUER_URL — defaults to https://auth.deploybase.eu
PublicURL string // MCP_PUBLIC_URL — defaults to https://mcp.deploybase.eu
}
Config holds MCP server configuration.
func LoadConfig ¶
LoadConfig reads configuration from environment variables. transport overrides the TRANSPORT env var if non-empty (from --transport flag).
Click to show internal directories.
Click to hide internal directories.