Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://api.clockify.me/api/v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.6.0
type Config struct {
// Clockify
APIKey string
WorkspaceID string
BaseURL string
RequestTimeout time.Duration
MaxRetries int
Insecure bool
Timezone string
// MCP transport
Transport string
AuthMode string
HTTPBind string
GRPCBind string
BearerToken string
AllowedOrigins []string
AllowAnyOrigin bool
StrictHostCheck bool
MaxBodySize int64
MetricsBind string
MetricsAuthMode string
MetricsBearerToken string
// Enterprise shared-service
ControlPlaneDSN string
SessionTTL time.Duration
TenantClaim string
SubjectClaim string
DefaultTenantID string
OIDCIssuer string
OIDCAudience string
OIDCJWKSURL string
OIDCJWKSPath string
// OIDCResourceURI is the canonical URI clients use to address this
// MCP server. When set, every OIDC token must list this URI in its
// audience claim — RFC 8707 / MCP OAuth 2.1 resource indicator
// binding. Wired from MCP_RESOURCE_URI.
OIDCResourceURI string
ForwardTenantHeader string
ForwardSubjectHeader string
MTLSTenantHeader string
// Tool execution
ToolTimeout time.Duration
ConcurrencyAcquireTimeout time.Duration
// Dispatch-layer concurrency bound for stdio tools/call. 0 disables.
MaxInFlightToolCalls int
// Hard cap on entries aggregated by report tools. 0 disables.
ReportMaxEntries int
}
func (Config) Fingerprint ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.