envspeak MCP Server
MCP server and CLI that resolves config/env-var cascade across .env, docker-compose, and Kubernetes
envspeak scores 30 (Limited), licensed MIT and written in JavaScript. It installs as a local process. It declares 5 tools. Filed under Developer tools. GitHub shows 0 stars. Package registries report about 47 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
30 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Where the 30 comes from
0 + 6 + 3 + 10 + 4 + 7 = 30. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "patrizzos-envspeak": { "command": "npx", "args": [ "-y", "@patrizzos/envspeak@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade C
All capabilitiesconfig_manifesttoola compressed, whole-project summary: every variable, its sources, and risk hotspots (secrets sitting in a tracked file, variables read in code with no fallback and no source anywhere).
resolve every variable under two environments/services/workloads and see what's actually different between them.
impact_previewtoolif I change this value in this file, what actually changes downstream — and what's shielded by something higher-precedence?
resolve_variabletoolwhat does DATABASEURL actually evaluate to, and which file wins?
trace_variabletoolevery place this variable is set, across every domain and environment.
About
EnvSpeak
MCP server and CLI that resolves config/env-var cascade across .env files, Docker Compose, and Kubernetes — tells AI agents (and you) what a variable actually evaluates to at runtime, and why.
Same problem shape as CSS cascade — several sources, non-obvious precedence rules, and a value that "wins" only because of where it's defined — applied to application configuration instead of stylesheets. A sibling project to stylesafe and stylespeak, which do the same thing for CSS.
The problem
A real app's config comes from .env, .env.local, .env.production, docker-compose.yml (environment: vs env_file:), Kubernetes ConfigMap/Secret objects, and hard-coded fallbacks in code — five-plus layers, each with its own precedence rules that don't compose the way you'd guess. The best-known gotcha: a plain .env.local overrides .env.production unless you also have a .env.production.local — because "local" outranks "environment-specific" in the conventional dotenv cascade. An agent editing config has no way to know what a variable actually resolves to, or what breaks if it changes one layer.
Tools
resolve_variable— what doesDATABASE_URLactually evaluate to, and which file wins?trace_variable— every place this variable is set, across every domain and environment.impact_preview— if I change this value in this file, what actually changes downstream — and what's shielded by something higher-precedence?config_manifest— a compressed, whole-project summary: every variable, its sources, and risk hotspots (secrets sitting in a tracked file, variables read in code with no fallback and no source anywhere).diff_environments— resolve every variable under two environments/services/workloads and see what's actually different between them.
Install
npm install -g @patrizzos/envspeak
As an MCP server
{
"mcpServers": {
"envspeak": {
"command": "envspeak"
}
}
}
As a CLI
envspeak resolve DATABASE_URL --environment production
envspeak trace LOG_LEVEL
envspeak impact --file .env --variable LOG_LEVEL --newValue debug
envspeak manifest
envspeak diff --a '{"nodeEnv":"development"}' --b '{"nodeEnv":"production"}'
If --files is omitted, envspeak auto-discovers .env*, Compose, and Kubernetes manifest files under --projectRoot (default: current directory). Pass --files a,b,c to scope it explicitly — recommended for MCP calls, so the agent controls exactly what's read.
Precedence conventions encoded
dotenv (Next.js/Vite-style, the de facto standard): process.env (shell) > .env.[env].local > .env.local > .env.[env] > .env > code fallback (process.env.X || 'default'). Note .env.local outranks .env.[env] — the gotcha above.
Docker Compose: docker compose run -e (CLI) > environment: > env_file: (last file in the list wins on conflicts) > Dockerfile ENV (not analyzed).
Kubernetes: inline env: always overrides envFrom: (bulk ConfigMap/Secret import; last entry in the list wins among those). Env values are frozen at pod start — editing a referenced ConfigMap/Secret does not reach a running pod without a restart or rollout. impact_preview flags this.
Every result includes a confidence level and a caveat string, because a shell-exported or CLI-passed override is always possible and never visible to static analysis — envspeak says so explicitly rather than pretending certainty it doesn't have.
Security
- Zero runtime dependencies. The YAML subset parser used for Compose/Kubernetes files is hand-written rather than pulled in from npm, so there's no third-party supply-chain surface.
npm auditis clean by construction. - Path-traversal guarded. File reads are resolved against
projectRootand refuse to escape it, even if a tool call is given a crafted relative path. - Prototype-pollution guarded. Object keys parsed from YAML content (
__proto__,constructor,prototype) are never used for property assignment. - Secrets are redacted by default. Kubernetes
Secretvalues are shown only asab***yz, never in full, regardless of which tool surfaces them. - Secret-likelihood heuristics. Variable names and value shapes (AWS keys, GitHub tokens, PEM blocks, high-entropy credential-shaped strings) are flagged, cross-referenced against
.gitignore, and surfaced as asecretFlag/ risk hotspot rather than silently passed through. - Bounded, non-backtracking regexes. Pattern matching used for code-default scanning caps match length and avoids nested quantifiers to avoid ReDoS on large files.
- Regardless of these guards, envspeak reads whatever files you point it at — scope the
fileslist an agent can pass, the same way you'd scope any tool with filesystem access.
Development
npm test # zero dependencies — no install step needed
License
MIT
Frequently asked questions
What is envspeak MCP Server?
MCP server and CLI that resolves config/env-var cascade across .env, docker-compose, and Kubernetes
How do I install envspeak MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. envspeak MCP Server runs locally from the npm package @patrizzos/envspeak with the command npx -y @patrizzos/envspeak@0.1.0.
Is envspeak MCP Server free and open source?
Yes. envspeak MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does envspeak MCP Server support remote (HTTP) connections?
No remote endpoint is listed for envspeak MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does envspeak MCP Server provide?
envspeak MCP Server provides 5 tools, including config_manifest, diff_environments, impact_preview, and resolve_variable. See the full tool list for descriptions and parameters.
How is envspeak MCP Server's trust score calculated?
envspeak MCP Server scores 30 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.