See every gap at a glance
A matrix of keys × environments shows what is set, what falls back to a default and what is missing, before a deploy finds out for you.
env-ctrl keeps one list of the environment variables your app needs, a value for each environment, and gives every app a single token. See at a glance which environment is missing which key.
| Key | dev | stage | prod |
|---|---|---|---|
DATABASE_URLsecret | set | set | set |
STRIPE_SECRET_KEYsecret | set | missing | set |
API_URLconfig | set | set | set |
LOG_LEVELconfig | set | default | default |
SENTRY_DSNsecret | default | set | missing |
“Works on dev, crashes on stage.” A key someone added locally and forgot everywhere else.
Secrets in chat messages. .env files passed around in DMs and pasted into CI by hand.
“What is FEATURE_X for?” Nobody remembers, and nobody dares to delete it.
env-ctrl is the single source of truth for what your apps need to run, in every environment.
A matrix of keys × environments shows what is set, what falls back to a default and what is missing, before a deploy finds out for you.
Apps get ENVCTRL_TOKEN instead of twenty variables. Rotate a secret once and every environment that uses it picks it up on the next start.
Each key carries a description, type, validation rule and a link to where the value comes from. .env.example is generated, never hand-edited.
An MCP server lets agents find missing keys and add new ones while they write the code that needs them, without ever seeing production secrets.
Every change is a new version with its author, person or token. Look at an older value and roll back in one click.
Diff two environments without exposing values, spot secrets accidentally shared between stage and prod, and copy what is missing.
Three steps, no changes to your application code.
Import an existing .env file or add keys one by one: secret or config, type, description, validation and where to get the value.
Set a value per environment. The matrix highlights every gap; protected environments such as prod need an admin.
Create a token for the app's environment and start it through the CLI, or call the REST API.
ENVCTRL_TOKEN=ec_svc_… \ npx @env-ctrl/cli run -- npm start
A secrets manager has one job: keep secrets secret. env-ctrl is built around that.
Connect Claude Code, Cursor or any MCP client. When the agent writes code that reads a new variable, it adds the key with a description and fills it where it's allowed to. Secret values stay hidden unless you grant access.
claude mcp add --transport http env-ctrl \
https://api.envctrl.com/mcp \
--header "Authorization: Bearer ec_mcp_…"
tools: list_environments list_keys find_missing
create_key set_value get_values env_exampleenv-ctrl is a hosted manager for environment variables, secrets and configuration. You define the list of keys an application needs once, store a value for each environment (local, dev, test, stage, prod and so on), and each application fetches all of its values with a single token.
Give the app one environment variable, ENVCTRL_TOKEN, and start it with the env-ctrl CLI: npx @env-ctrl/cli run -- npm start. The CLI fetches every value for that token's environment over HTTPS and starts your command with them already set, so application code keeps reading process.env or System.getenv and nothing is written to disk. Apps can also call the REST API directly.
The dashboard shows a matrix of keys by environments. Every cell is either set, using the default, missing or optional, and each environment shows how many required keys it is missing. The CLI command envctrl check fails a CI pipeline when a required key is missing.
Every value is encrypted with AES-256-GCM using envelope encryption: a per-project data key, itself encrypted with a master key kept outside the database. Production-like environments can be marked protected so only admins can change or reveal them. Access tokens are stored as hashes, and every secret reveal is written to an audit log.
Yes. A public token returns only the configuration values you explicitly mark as public, never secrets. It can be restricted to allowed origins and IP ranges and is rate limited.
Yes. env-ctrl includes an MCP server. Claude Code, Cursor and other MCP clients can list keys, find which environments are missing values, add new keys when code starts reading a new variable, and fill values in non-protected environments. Secret values stay hidden from agents unless you grant the secrets:read scope.
For shared and deployed environments, yes: values live in one place instead of files passed around in chats. For local development you can still pull a .env file with envctrl pull, and env-ctrl generates a documented .env.example from the schema.
Set up your first project in minutes: import a .env file and see the gaps right away.