envspeak
v0.1.0MCP server and CLI that resolves config/env-var cascade across .env, docker-compose, and Kubernetes
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resolve_variable
Resolves what a config/env variable actually evaluates to across dotenv, docker-compose, and Kubernetes sources, and which source wins.
| Parameter | Type | Description |
|---|---|---|
files * | array | Paths (relative to projectRoot) to .env*, compose, and k8s manifest files to consider |
variable * | string | The variable name, e.g. DATABASE_URL |
container | string | Kubernetes container name within the workload |
environment | string | Target NODE_ENV-style value for dotenv resolution, e.g. "production" |
projectRoot | string | Directory the file paths are relative to |
service | string | docker-compose service name to resolve for |
workload | string | Kubernetes workload (Deployment/Pod/etc.) name to resolve for |
trace_variable
Lists every place a variable is defined or read across dotenv, compose, k8s, and code, and what wins in each discovered environment/service/workload context.
| Parameter | Type | Description |
|---|---|---|
files * | array | |
variable * | string | |
projectRoot | string |
impact_preview
Predicts which environments/services/workloads are actually affected if a variable's value in one file is changed (or removed) — including which contexts are shielded by a higher-precedence source.
| Parameter | Type | Description |
|---|---|---|
file * | string | The file that would be edited |
files * | array | |
variable * | string | |
newValue | string | Omit to simulate removing the assignment entirely |
projectRoot | string |
config_manifest
Compressed, project-wide summary of every config variable found — sources, domains, and risk hotspots (likely secrets in tracked files, variables read in code with no source). Load once per session instead of repeated resolve_variable calls.
| Parameter | Type | Description |
|---|---|---|
files * | array | |
maxVariables | number | |
projectRoot | string |
diff_environments
Resolves every variable under two different environment/service/workload selectors and reports what differs between them.
| Parameter | Type | Description |
|---|---|---|
environmentA * | object | { nodeEnv?, service?, workload?, container?, label? } |
environmentB * | object | { nodeEnv?, service?, workload?, container?, label? } |
files * | array | |
projectRoot | string | |
variables | array | Optional subset; defaults to every variable discovered |