Skip to main content
Glama
TheoryofShadows

@mcpx-digital/env-check

README.md
# @mcpx-digital/env-check

**MCP server that compares `.env.example` vs `.env`, finds missing/extra/empty keys, and produces redacted reports.**

> **Never echoes secrets.** All value reports are redacted (`***redacted***` / `***present***`). Local files only — no uploading env files anywhere.

## Install (MCPX / npx)

```bash
npx -y @mcpx-digital/env-check
```

> Prepared for npm as `@mcpx-digital/env-check`. Until published, run from a local clone.

## Cursor `mcp.json` example

```json
{
  "mcpServers": {
    "env-check": {
      "command": "npx",
      "args": ["-y", "@mcpx-digital/env-check"]
    }
  }
}
```

Local clone:

```json
{
  "mcpServers": {
    "env-check": {
      "command": "node",
      "args": ["/absolute/path/to/env-check-mcp/index.js"]
    }
  }
}
```

## Tools

| Tool | What it does |
|------|----------------|
| `compare_env_files` | Missing / extra / empty keys vs `.env.example` |
| `detect_empty_required` | Empty or missing required vars (values redacted) |
| `redact_env_report` | Paste-safe key inventory with all values redacted |

## Disclaimer

Use only on env files you own. Do not commit real `.env` files. This tool helps catch misconfiguration; it does not replace a secrets manager.

## Example prompts

- “Compare .env.example to .env and list missing keys”
- “Which required env vars are empty? (redacted)”
- “Give me a redacted inventory of .env for a ticket”

## Development

```bash
git clone https://github.com/TheoryofShadows/env-check-mcp.git
cd env-check-mcp
npm install
npm test
node index.js
```

## Sell / list on MCPX

Suggested listing price: **$6**.

Install command: `npx -y @mcpx-digital/env-check`

## License

MIT © TheoryofShadows

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation3/5

compare_env_files and detect_empty_required overlap in identifying missing/empty required keys, though the former is example-based diffing and the latter supports explicit requiredKeys. redact_env_report is clearly distinct.

Naming Consistency5/5

All three tools use a consistent snake_case verb_noun pattern (compare_env_files, detect_empty_required, redact_env_report). This makes the tool surface predictable and easy to navigate.

Tool Count5/5

Three tools is within the ideal scope for a focused env-check utility, and each tool serves a distinct operation. There is no sense of bloat or a too-thin surface.

Completeness5/5

The set covers the core env-check lifecycle: comparing env files, validating required variables, and producing redacted output. For the stated local .env-focused purpose, there are no obvious dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues