Repository navigation
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
79 lines (69 loc) · 2.43 KB
/
Copy pathconfig.example.yaml
File metadata and controls
79 lines (69 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Example configuration for mcp-noderings.
# Secrets: prefer TOKEN / TOKEN_FILE and NRMCP_HTTP_SERVERAUTHTOKEN env vars over committing values.
transport: stdio # stdio | streamable-http | sse
http:
address: localhost:8000
endpointPath: /mcp
# required for every HTTP transport (≥32 characters each).
# File is one secret per line (current + previous for rotation, or one per client).
# Must not equal TOKEN / TOKEN_FILE.
# serverAuthTokenFile: /var/run/secrets/mcp-caller-token
allowedHosts: []
allowedOrigins: []
backend:
grpcAddress: "127.0.0.1:10000"
# httpURL: "https://gateway.example" # used only when grpcAddress is empty
# token / tokenFile also accepted via TOKEN / TOKEN_FILE
tokenFile: ""
# Required for non-loopback HTTP. Pin the SA to one tenant UUID.
organizationID: ""
tlsCAFile: ""
tlsServerName: ""
# Allowed for stdio / loopback HTTP only (e.g. local port-forward).
tlsInsecure: false
timeout: 30s
log:
level: info
noColor: false
timeouts:
read: 30s
write: 0s # 0 = no write deadline (Streamable HTTP GET / SSE)
idle: 120s
shutdown: 15s
limits:
maxBodyBytes: 1048576
maxHeaderBytes: 1048576
maxConcurrentTools: 32
httpRequestsPerSecond: 32 # 0 = unlimited
httpBurst: 32
session:
idleTimeout: 30m
tools:
enabled:
- identity
- vms
- dns
- tickets
- catalog
# provider is off unless the SA is meant to list nodes/platforms/regions
# - provider
# empty enabled list registers no tools
disableWrite: true # false to register create_virtual_machine and other writes
# Which organization's tools to register:
# auto - detect from the service-account token at startup (default)
# client - VMs, DNS, marketplace (plus identity, tickets, plans)
# provider - nodes, platforms, regions (plus identity, tickets, plans)
# An explicit value must match the detected type or startup fails. If detection
# fails under "auto", only tools that work for every organization are registered.
orgType: auto
observability:
# healthzAddress: ":8081" # GET /healthz (liveness), GET /readyz (readiness)
# metricsAddress: ":8082" # GET /metrics
otel:
enabled: false
# endpoint: "http://otel-collector:4318" # OTLP HTTP; no userinfo
# serviceName: noderings-mcp
health:
# When true, /readyz calls MetadataService.HealthCheck (SERVING required).
# Default false so k8s liveness on /healthz does not depend on the backend.
backendCheck: false