envdiff
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
envdiff
"It works on my machine" — which part of the machine? envdiff compares two environment descriptors, typically a developer's local environment and a CI environment, and reports exactly where they differ:
Node version, OS, and lockfile presence, compared as fields (a missing field is reported as
null)env vars present on one side only, by key
env vars whose values differ — by key name only. Values are compared but never echoed into the report, so a descriptor may carry secrets without leaking them.
A descriptor is a small JSON object:
{"node": "20.11.0", "os": "linux", "env": {"CI": "true"}, "lockfile_present": true}
— every field optional.
Pure local computation: no network, no configuration.
CLI
npx @reneturcios/envdiff diff local.json ci.json
npx @reneturcios/envdiff --versionOutput is the comparison report as JSON, with a
summary.total_differences count. Exit codes: 0 on success
(differences are a result, not an error), 1 on a runtime
error (unreadable or invalid descriptor), 2 on a usage error.
Related MCP server: @mcpx-digital/env-check
MCP server
npx -y @reneturcios/envdiff mcpMCP client config:
{
"mcpServers": {
"envdiff": {
"command": "npx",
"args": ["-y", "@reneturcios/envdiff", "mcp"]
}
}
}Tools
diff_environments— Compare two environment descriptors.local(object, required) — the local descriptorci(object, required) — the CI descriptor
Each descriptor:
node(string),os(string),env(string map),lockfile_present(boolean), all optional.
Docker
docker run -i ghcr.io/cloudcorprecords/envdiff
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/envdiff diff /w/local.json /w/ci.jsonDevelopment
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (pure local, no network)
npm run dev # run the CLI from sourceLicense
MIT — Copyright (c) 2026 Rene Turcios
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Compare two JSON files deeply, regardless of order. Get a detailed difference report highlighting…
Diff two npm/PyPI versions or lockfiles: new install scripts, network/shell/eval calls, new deps.
Compare two JSON files deeply without worrying about key or array order. Detect missing, extra, an…
Detect breaking changes, generate changelogs, diff, and validate OpenAPI specs.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables comparing container image versions to see package and CVE changes, including shedding/introductions, and comparing Chainguard images to upstream.-
- AlicenseAqualityCmaintenanceCompares a project's .env file against its .env.example template to surface missing, extra, and empty keys, flag empty required variables, and produce paste-safe key inventories for tickets or sharing. Runs entirely on local files with every value redacted, so secrets are never echoed or uploaded.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables scanning a repository's source files for actual environment variable reads and diffing those names against .env.example or .env.sample. Returns a deterministic JSON report with the sync verdict, counts, and findings for used-but-undocumented, documented-but-unused, and missing-example vars, without ever reading values.53 npmMIT
- AlicenseNot gradedqualityBmaintenanceRuns deterministic local environment checks against a repository and returns a JSON pass/fail report covering Node version, git and npm availability, lockfiles, and env-file key completeness without executing repository code or exposing secret values.44 npmMIT