Agents

Envlet for Claude Code

Add one MCP server and run the migrate prompt. Claude Code signs you in, creates the project, imports your .env files, and creates its own token with production withheld.

envlet run -- claudeproduction withheld

Set up

Three steps. The host keeps one secret and everything else arrives at boot.

  1. 01

    Add the MCP server

    One command registers the Envlet MCP server for every project on your machine.

    Terminal
    claude mcp add --scope user envlet -- npx -y @envlet/cli mcp
  2. 02

    Give it a token

    Add Claude Code under Access in the dashboard, or let the migrate prompt do it. Its token opens one environment, and production starts fully withheld.

    agent/claude-codeagent
    Its own token, separate from your login.
    token
    envlet_•••••••• shown once
    opens
    one project, one environment
    expires
    always
    production
    withheld
  3. 03

    Run it through Envlet

    Start Claude Code with envlet run. It sees the values its token allows and nothing else, and every read shows up under its name.

    Terminal
    envlet run -- claude

Migrate with one prompt

The migrate prompt runs the whole migration in Claude Code. Values never enter the chat.

Claude Code
Move us to Envlet.
  1. 01Signs you in if it has to. You approve in the browser.
  2. 02Creates the project with development, staging, and production.
  3. 03Finds every .env file and imports each one. No value enters the chat.
  4. 04Links the repository so every command knows its environment.
  5. 05Creates a token for your CI provider.
  6. 06Creates its own token. Production stays withheld until you name what it may read.
  7. 07Puts envlet run in front of your start scripts.
  8. 08Lists the names you can now delete from .env files, GitHub, Vercel, and AWS. Names only.

Questions

Can Claude Code read production secrets?

Not by default. A new agent grant withholds every current and future production variable. You allow specific names when you decide to.

Do agents count toward my plan?

No. Agents and CI jobs are unlimited on every plan. Only humans are members.

Stop pasting .env files.

One command. The right values for whoever runs it.