Install
$ agentstack add mcp-prvthmpcypher-envpreflight ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
envpreflight
> Check your machine can actually run this project — before you waste a day finding out it can't.
One command, one report. envpreflight reads the manifests already in the repository and verifies your local runtime versions, service availability, Docker state, port bindings, and environment variables in under 3 seconds with zero network calls and zero configuration.
[](https://github.com/prvthmpcypher/envpreflight/actions) [](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@envpreflight/cli)
Quickstart
Run directly from any project root without installation:
npx @envpreflight/cli
Or install globally to use the direct envpreflight command anywhere:
npm install -g @envpreflight/cli
# Then run anywhere:
envpreflight
Terminal Output Sample
envpreflight · my-fullstack-app
Runtime
✓ Node.js 20.11.0 (.nvmrc wants 20)
✗ Python 3.9.6 pyproject.toml wants >=3.11
→ pyenv install 3.11.7 && pyenv local 3.11.7
Services
✓ PostgreSQL reachable on 5432
✗ Redis nothing listening on 6379
→ docker compose up -d redis
Environment
! .env 2 keys in .env.example are missing:
STRIPE_SECRET_KEY, RESEND_API_KEY
Ports
✗ 3000 in use by node (pid 48213)
→ kill 48213
3 failed · 1 warning · 2 passed · 0.8s
Core Checks
| Check Area | Supported Manifests & Detection | Fix Suggestions | | :--- | :--- | :--- | | Node.js | .nvmrc, package.json (engines.node) | nvm install && nvm use | | Python | pyproject.toml (requires-python), .python-version | pyenv install && pyenv local | | Go | go.mod | brew install go@ | | Rust | rust-toolchain.toml, rust-toolchain | rustup toolchain install | | Services | Postgres (5432), Redis (6379), MySQL (3306), MongoDB (27017) | docker compose up -d / brew services start | | Docker | Docker daemon responsiveness, docker-compose.yml service states | open -a Docker, docker compose up -d | | Environment | Keys diff between .env.example and .env | cp .env.example .env or missing key names | | Ports | Application ports from .env.example / compose / configs | kill |
CLI Flags
| Flag | Description | | :--- | :--- | | (default) | Run all detected checks against the current working directory | | --json | Emit pure machine-readable Report JSON (ideal for CI / scripts) | | --only | Comma-separated list of check IDs or categories (e.g. --only runtime,services) | | --skip | Comma-separated list of check IDs or categories to skip | | --fix | Interactively prompt before executing suggested fix commands | | -q, --quiet | Display failures and warnings only | | --cwd | Target a specific project directory | | --version | Print current version | | --help | Show help manual |
Exit Codes for CI
envpreflight is designed for build pipelines and pre-commit hooks:
0: All checks passed (or no project manifests detected)1: Blocking failure detected (e.g. wrong runtime version, missing service, occupied port)2: Warnings only (e.g. non-blocking env key drift)
Three Surfaces, One Core
envpreflight is architected as a modular monorepo:
- CLI (
envpreflight): Utilitarian terminal runner with aligned columns, distinct symbols (✓,!,✗,-,→), andNO_COLORsupport. - VS Code Extension (
envpreflight-vscode): Silent status bar item on launch, interactive report panel with native theme tokens and "Run in terminal" fix buttons. - MCP Server (
@envpreflight/mcp): Model Context Protocol toolenvpreflight_checkfor AI coding agents (Claude Code, Cursor, Windsurf).
MCP Server Setup
Add to your mcpServers configuration:
{
"mcpServers": {
"envpreflight": {
"command": "npx",
"args": ["-y", "@envpreflight/mcp"]
}
}
}
Security & Privacy Guarantee
- Zero Network Calls:
envpreflightruns entirely locally with zero telemetry, zero analytics, and zero remote registry lookups. - Strict Zero Value Leakage:
.envand.env.examplefiles are parsed for variable keys only. Secret values are never read, stored, printed, logged, or transmitted under any condition.
Platform Support
- macOS & Linux: Full native support.
- Windows: Full support within WSL (Windows Subsystem for Linux) and native Node/PowerShell environments.
License
MIT License. Crafted for developers who value fast, frictionless repo setup.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: prvthmpcypher
- Source: prvthmpcypher/envpreflight
- License: MIT
- Homepage: https://www.npmjs.com/package/@envpreflight/cli
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.