mesh-config — Centralized configuration management for Mesh Protocol
mesh config [args]
get, set, unset, list, export, import, diff, history, validate
---
tool: mesh-config
layer: infrastructure
status: active
created: 2026-02-20
ledger: true
cli: mesh config|cfg
---
# mesh-config — Centralized Configuration Management
Manages mesh-wide and per-tool configuration with dot-notation keys, versioned history snapshots, import/export, and change auditing via JSONL ledger.
## Commands
- `get <key>` — Get config value (supports dot notation: `mesh.version`)
- `set <key> <value>` — Set config value (auto-creates nested objects)
- `unset <key>` — Remove config key
- `list` — List all key=value pairs (flattened)
- `export [file]` — Export config JSON to stdout or file
- `import <file>` — Import config from JSON file (with validation)
- `diff` — Diff last two config versions
- `history [count]` — Show change history from ledger
- `validate` — Validate config structure
## Storage
- Config: `.mesh/config/mesh.json`
- History snapshots: `.mesh/config/history/`
- Ledger: `.mesh/config/config-ledger.jsonl`
## Integration
- Uses `ledger-write.sh` for standardized event logging
- Wired into mesh CLI as `mesh config|cfg`
- 47th active tool