-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.env.example
More file actions
150 lines (111 loc) · 6.51 KB
/
.env.example
File metadata and controls
150 lines (111 loc) · 6.51 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Mapbox MCP Server Configuration
# Copy this file to .env and configure as needed
# =============================================================================
# Required Configuration
# =============================================================================
# Mapbox API Access Token (required)
# Get your token at: https://account.mapbox.com/access-tokens
MAPBOX_ACCESS_TOKEN=your-mapbox-token-here
# =============================================================================
# OpenTelemetry Tracing (Optional)
# =============================================================================
# Enable tracing by setting an OTLP endpoint
# For local development with Jaeger:
# 1. Start Jaeger: npm run tracing:jaeger:start
# 2. Uncomment the line below
# 3. View traces at: http://localhost:16686
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
# Service identification
OTEL_SERVICE_NAME=mapbox-mcp-server
# OTEL_SERVICE_VERSION=0.6.1
# Resource attributes (customize as needed)
OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0
# Optional: OTEL diagnostic log level (default: NONE)
# Set to DEBUG, INFO, WARN, or ERROR for troubleshooting OTEL issues
# Note: Logs will output to stderr and may interfere with stdio transport if not careful
# OTEL_LOG_LEVEL=ERROR
# Optional: OTLP authentication headers (for production backends)
# OTEL_EXPORTER_OTLP_HEADERS={"Authorization": "Bearer your-token"}
# Optional: Sampling (useful for high-volume production environments)
# OTEL_TRACES_SAMPLER=traceidratio
# OTEL_TRACES_SAMPLER_ARG=0.1
# =============================================================================
# AWS X-Ray Configuration (Optional)
# =============================================================================
# Uncomment these settings if using AWS X-Ray instead of Jaeger
# AWS region (required for X-Ray)
# AWS_REGION=us-east-1
# X-Ray specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0,aws.region=us-east-1
# X-Ray trace headers (example format)
# OTEL_EXPORTER_OTLP_HEADERS={"x-amzn-trace-id": "Root=1-5e2b3c4d-5f6a7b8c9d0e1f2a3b4c5d6e;Parent=7f8a9b0c1d2e3f4a;Sampled=1"}
# Note: AWS credentials should be configured separately via:
# - IAM role (recommended for EC2/ECS/Lambda)
# - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
# - AWS CLI profile (~/.aws/credentials)
# =============================================================================
# Azure Monitor Configuration (Optional)
# =============================================================================
# Uncomment these settings if using Azure Monitor Application Insights
# Azure Monitor OTLP endpoint (replace with your ingestion endpoint)
# OTEL_EXPORTER_OTLP_ENDPOINT=https://<your-region>.livediagnostics.monitor.azure.com/v1/traces
# Azure Monitor authentication (use your connection string or AAD token)
# OTEL_EXPORTER_OTLP_HEADERS={"x-ms-client-principal-id": "your-connection-string"}
# Azure-specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0,cloud.provider=azure,cloud.region=eastus
# Note: Set up Azure Application Insights first
# See: https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable
# =============================================================================
# Google Cloud Trace Configuration (Optional)
# =============================================================================
# Uncomment these settings if using Google Cloud Trace
# GCP Trace OTLP endpoint
# OTEL_EXPORTER_OTLP_ENDPOINT=https://cloudtrace.googleapis.com/v2/projects/<project-id>/traces
# GCP-specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0,cloud.provider=gcp,gcp.project.id=your-project-id
# Note: Ensure you have Application Default Credentials configured
# gcloud auth application-default login
# Or use a service account with Cloud Trace Agent role
# =============================================================================
# Datadog Configuration (Optional)
# =============================================================================
# Uncomment these settings if using Datadog APM
# Datadog OTLP endpoint (use your Datadog site)
# OTEL_EXPORTER_OTLP_ENDPOINT=https://api.datadoghq.com/api/v2/traces
# Datadog API key authentication
# OTEL_EXPORTER_OTLP_HEADERS={"dd-api-key": "your-datadog-api-key"}
# Datadog-specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0,deployment.environment=production
# Note: Datadog also supports agent-based collection via localhost:4318
# See: https://docs.datadoghq.com/tracing/trace_collection/opentelemetry/
# =============================================================================
# New Relic Configuration (Optional)
# =============================================================================
# Uncomment these settings if using New Relic
# New Relic OTLP endpoint
# OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.nr-data.net:4318
# New Relic license key authentication
# OTEL_EXPORTER_OTLP_HEADERS={"api-key": "your-new-relic-license-key"}
# New Relic-specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0
# Note: Use your specific New Relic data center endpoint:
# US: https://otlp.nr-data.net:4318
# EU: https://otlp.eu01.nr-data.net:4318
# See: https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/opentelemetry-setup/
# =============================================================================
# Honeycomb Configuration (Optional)
# =============================================================================
# Uncomment these settings if using Honeycomb
# Honeycomb OTLP endpoint
# OTEL_EXPORTER_OTLP_ENDPOINT=https://api.honeycomb.io:443
# Honeycomb API key and dataset
# OTEL_EXPORTER_OTLP_HEADERS={"x-honeycomb-team": "your-api-key", "x-honeycomb-dataset": "mapbox-mcp-server"}
# Honeycomb-specific resource attributes
# OTEL_RESOURCE_ATTRIBUTES=service.name=mapbox-mcp-server,service.version=0.8.0
# Note: Get your API key from: https://ui.honeycomb.io/account
# See: https://docs.honeycomb.io/getting-data-in/opentelemetry-overview/
# =============================================================================
# Custom API Endpoint (Optional)
# =============================================================================
# Override the default Mapbox API endpoint if needed
# MAPBOX_API_ENDPOINT=https://api.mapbox.com/