You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server searches for configuration files in this order:
Path specified via -c/--config CLI option
./tfo-mcp.yaml (current directory)
./configs/tfo-mcp.yaml
~/.config/tfo-mcp/config.yaml
/etc/tfo-mcp/config.yaml
Configuration Structure
classDiagram
class Config {
+ServerConfig server
+ClaudeConfig claude
+MCPConfig mcp
+LoggingConfig logging
+CacheConfig cache
+QueueConfig queue
+DatabaseConfig database
+AnalyticsConfig analytics
+TelemetryMCPConfig telemetry_mcp
+TelemetryConfig telemetry
}
class ServerConfig {
+str name
+str version
+str host
+int port
+str transport
+bool debug
+float read_timeout
+float write_timeout
}
class ClaudeConfig {
+str api_key
+str default_model
+int max_tokens
+float temperature
+float timeout
+int max_retries
+str base_url
}
class MCPConfig {
+str protocol_version
+bool enable_tools
+bool enable_resources
+bool enable_prompts
+bool enable_logging
+bool enable_sampling
+float tool_timeout
+int max_message_size
}
class LoggingConfig {
+str level
+str format
+str output
}
class CacheConfig {
+str redis_url
+bool cache_enabled
+int cache_ttl
}
class QueueConfig {
+bool queue_enabled
+int queue_concurrency
+str nats_url
}
class DatabaseConfig {
+str postgres_url
+int postgres_max_conns
+int postgres_min_conns
}
class AnalyticsConfig {
+str clickhouse_url
}
class TelemetryMCPConfig {
+bool enabled
+str backend
+str otlp_endpoint
+str service_name
}
class TelemetryConfig {
+bool enabled
+str api_key
+str api_key_id
+str api_key_secret
+str service_name
+str endpoint
+str protocol
}
Config --> ServerConfig
Config --> ClaudeConfig
Config --> MCPConfig
Config --> LoggingConfig
Config --> CacheConfig
Config --> QueueConfig
Config --> DatabaseConfig
Config --> AnalyticsConfig
Config --> TelemetryMCPConfig
Config --> TelemetryConfig
Loading
Environment Variables Summary
Quick Reference
Variable
Description
Default
ANTHROPIC_API_KEY
Claude API key (required)
-
TELEMETRYFLOW_MCP_SERVER_TRANSPORT
Transport type
stdio
TELEMETRYFLOW_MCP_SERVER_PORT
Server port (SSE/WS)
8080
TELEMETRYFLOW_MCP_LOG_LEVEL
Log level
info
TELEMETRYFLOW_MCP_LOG_FORMAT
Log format
json
TELEMETRYFLOW_MCP_DEBUG
Debug mode
false
TELEMETRYFLOW_MCP_CLAUDE_DEFAULT_MODEL
Default Claude model
claude-sonnet-4-20250514
TELEMETRYFLOW_MCP_OTLP_ENDPOINT
OTEL collector endpoint
localhost:4317
TELEMETRYFLOW_API_KEY
TelemetryFlow API key
-
TELEMETRYFLOW_ENDPOINT
TelemetryFlow endpoint
api.telemetryflow.id:4317
Server Configuration
server:
name: "TelemetryFlow-MCP"# Server nameversion: "1.1.2"# Server versionhost: "localhost"# Host (for future HTTP transports)port: 8080# Port (for future HTTP transports)transport: "stdio"# Transport type: stdio, sse, websocketdebug: false # Debug moderead_timeout: 300.0# Read timeout in secondswrite_timeout: 60.0# Write timeout in seconds
Option
Environment Variable
Default
Description
name
TELEMETRYFLOW_MCP_SERVER_NAME
TelemetryFlow-MCP
Server name
version
TELEMETRYFLOW_MCP_SERVER_VERSION
1.1.2
Server version
host
TELEMETRYFLOW_MCP_SERVER_HOST
localhost
Server host
port
TELEMETRYFLOW_MCP_SERVER_PORT
8080
Server port
transport
TELEMETRYFLOW_MCP_SERVER_TRANSPORT
stdio
Transport type
debug
TELEMETRYFLOW_MCP_SERVER_DEBUG
false
Debug mode
read_timeout
TELEMETRYFLOW_MCP_SERVER_READ_TIMEOUT
300.0
Read timeout (s)
write_timeout
TELEMETRYFLOW_MCP_SERVER_WRITE_TIMEOUT
60.0
Write timeout (s)
Claude Configuration
claude:
api_key: ""# Anthropic API keydefault_model: "claude-sonnet-4-20250514"# Default modelmax_tokens: 4096# Max tokens per requesttemperature: 1.0# Temperature (0.0-2.0)timeout: 120.0# Request timeout in secondsmax_retries: 3# Max retry attemptsbase_url: null # Custom base URL (optional)
Option
Environment Variable
Default
Description
api_key
ANTHROPIC_API_KEY
-
Anthropic API key (required)
api_key
TELEMETRYFLOW_MCP_CLAUDE_API_KEY
-
Alternative API key env var
default_model
TELEMETRYFLOW_MCP_CLAUDE_DEFAULT_MODEL
claude-sonnet-4-20250514
Default Claude model
max_tokens
TELEMETRYFLOW_MCP_CLAUDE_MAX_TOKENS
4096
Maximum tokens
temperature
TELEMETRYFLOW_MCP_CLAUDE_TEMPERATURE
1.0
Temperature
timeout
TELEMETRYFLOW_MCP_CLAUDE_TIMEOUT
120.0
Timeout (seconds)
max_retries
TELEMETRYFLOW_MCP_CLAUDE_MAX_RETRIES
3
Max retries
base_url
TELEMETRYFLOW_MCP_CLAUDE_BASE_URL
null
Custom base URL
Available Models
graph LR
subgraph Claude4["Claude 4"]
Opus["claude-opus-4-20250514<br/>Most Capable"]
Sonnet4["claude-sonnet-4-20250514<br/>Balanced"]
end
subgraph Claude35["Claude 3.5"]
Sonnet35["claude-3-5-sonnet-20241022"]
Haiku35["claude-3-5-haiku-20241022<br/>Fast"]
end
Opus -.->|"More capable"| Sonnet4
Sonnet4 -.->|"More capable"| Sonnet35
Sonnet35 -.->|"More capable"| Haiku35