-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
93 lines (72 loc) · 3.04 KB
/
Copy path.env.example
File metadata and controls
93 lines (72 loc) · 3.04 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
# Mesh MCP Server Environment Configuration
# Copy this file to .env and fill in your values.
#
# Mesh uses a CLI-first architecture:
# 1. Gemini CLI (`gemini` on PATH) — direct subprocess calls
# 2. Codex CLI (`codex` on PATH) — direct subprocess calls
# 3. OpenRouter (HTTPS API) — fallback for everything else
# At least one of these must be available.
# ===========================================
# OpenRouter (HTTP fallback)
# ===========================================
# Get your key from https://openrouter.ai/. Required if neither CLI is installed.
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Optional: restrict which OpenRouter models are usable.
# Comma-separated, case-insensitive. Empty = no restriction.
# Examples:
# OPENROUTER_ALLOWED_MODELS=opus,sonnet
# OPENROUTER_ALLOWED_MODELS=google/gemini-2.5-pro,openai/o3
# OPENROUTER_ALLOWED_MODELS=
# ===========================================
# CLI binaries (optional path overrides)
# ===========================================
# By default Mesh searches PATH for `gemini` and `codex`. Override here if needed.
# GEMINI_CLI_PATH=/usr/local/bin/gemini
# CODEX_CLI_PATH=/usr/local/bin/codex
# Subprocess timeout in seconds (default 30).
# CLI_TIMEOUT_SECONDS=30
# ===========================================
# Defaults
# ===========================================
# Default model. 'auto' lets Mesh pick the best available model per task.
# Other examples: gemini-2.5-pro, gpt-5, o3, opus, sonnet
DEFAULT_MODEL=auto
# Default thinking depth for the thinkdeep tool. Only models that support
# extended thinking honor this; others ignore it.
# Options: minimal | low | medium | high | max
DEFAULT_THINKING_MODE_THINKDEEP=high
# ===========================================
# Conversation memory
# ===========================================
CONVERSATION_TIMEOUT_HOURS=24
MAX_CONVERSATION_TURNS=40
# ===========================================
# Logging
# ===========================================
# DEBUG | INFO | WARNING | ERROR
LOG_LEVEL=DEBUG
LOG_MAX_SIZE=10MB
# ===========================================
# Tool selection
# ===========================================
# Comma-separated list of tools to disable. Essential tools (version,
# listmodels) cannot be disabled. By default, non-essential tools are
# disabled to minimize context window usage.
DISABLED_TOOLS=analyze,refactor,testgen,secaudit,docgen,tracer
# ===========================================
# Locale (optional)
# ===========================================
# Force AI responses into a specific language. Empty = English default.
# Examples: fr-FR, en-US, zh-CN, ja-JP
# LOCALE=
# ===========================================
# Mesh internals
# ===========================================
# Force .env values to override system environment variables. Useful when
# multiple MCP clients pass conflicting environment vars; safe to leave
# false for production/CI deployments.
MESH_MCP_FORCE_ENV_OVERRIDE=false
# Docker compose project name (when using docker-compose.yml)
COMPOSE_PROJECT_NAME=mesh
# Container timezone
TZ=UTC