Envshed is a hosted secrets manager for dev teams. It stores environment variables encrypted with AES-256-GCM and delivers them through a web app, CLI, API and Node.js SDK. AI coding agents run commands with secrets through envshed run, which masks values in the output. No MCP tool returns a secret value.
Does the agent see secret values?
Through Envshed's MCP server, no: no MCP tool returns a secret value, and the tools deal in key names and request statuses. To run your app, the agent uses envshed run, which puts the values in the program's environment instead of the conversation.
The limit: an agent with a shell can still print that environment, run envshed secret get or copy .env to another name and read the copy. For Claude Code, envshed agent install adds hooks that block the common routes. Limits that must hold, such as who can read production, belong on the server, in roles and scoped tokens.
Is the output masked?
With --redact, Envshed replaces known secret values in the command's output with [ENVSHED:KEY_NAME]. Masking is on by default when Claude Code launches the command and with --oidc; elsewhere use --redact or set ENVSHED_AGENT_MODE=1.
envshed run --redact -- npm start
The limit: a transformed value or a file written by the command gets around masking. In Cursor, masking is not automatic: ask the agent to use --redact, or set ENVSHED_AGENT_MODE=1 in the environment of its terminal. After a session, envshed scan searches local agent history for your vault's values and for known token formats, without showing a value.
How does the agent ask for a key it is missing?
It calls request_secret through MCP, or runs envshed request <KEY> --reason "...". It gets a link, a person opens it and enters the value in the Envshed dashboard, and the value never passes through the conversation. The reason field is free text, so never put a secret in it.
Can CI run without a stored token?
On GitHub Actions, yes. With OIDC, the job proves which repository it runs in and gets a read-only session of at most an hour, so there is no token to store or rotate. Create a trust policy, give the workflow id-token: write, and pin the policy to a protected branch.
envshed run --oidc <policy-id> -- npm run deploy
Elsewhere, use a machine token: read-only, limited to one environment and optionally to some keys, and it stops after 90 days without use.
Which agents does Envshed have a guide for?
- Claude Code: hooks, MCP server and project rule.
- Cursor: MCP server and project rule. Envshed's hooks support only Claude Code, so masking is not automatic in Cursor.
- Codex: OAuth connection to the MCP server and an AGENTS.md rule.
The MCP page lists the server's tools and how to connect any MCP client.
What does Envshed not do?
- It is hosted only. Self-hosting is on the roadmap with no date.
- It is not open source: the main repository is private, and the CLI is source-available under FSL-1.1-MIT.
- It has no SOC 2 or ISO 27001 certification, and it is not a zero-knowledge vault: the decryption key is part of the production server configuration, so anyone with access to those servers could decrypt a value.
- The audit log is tamper-evident: each entry's hash covers the previous one, so an edited entry is detected. It records changes and CLI or API reads.
What does it cost?
The Developer plan is free for 2 members and 3 projects. Team is $5 per user per month, with unlimited members and projects. Business is $9 per user per month and adds SAML SSO and priority support. Paid plans have a 14-day trial. To compare it with other tools, see the comparison pages.
FAQ
Does an AI agent ever see my secret values with Envshed?
Not through the MCP server: no MCP tool returns a secret value. The agent runs your app with envshed run, which puts values in the program's environment and masks known secret values in the output. An agent with shell access can still print that environment, so keep its token scoped to what the job needs.
What is different in Cursor?
Envshed's hooks support only Claude Code, and masking is not automatic in Cursor. You connect the MCP server in mcp.json, write the project rule with the Envshed CLI, and ask the agent to run envshed run --redact, or set ENVSHED_AGENT_MODE=1 in its terminal. The rule is an instruction an agent can ignore.
Can a CI job get secrets without a stored token?
On GitHub Actions, yes, with OIDC. The job proves which repository it runs in and gets a read-only session of at most an hour. Create a trust policy, give the workflow id-token: write, and run envshed run --oidc with the policy id. Pin the policy to a protected branch.
Is Envshed open source, and can I self-host it?
No to both today. The main repository is private, the CLI is source-available under FSL-1.1-MIT, and the Node.js SDK is MIT. Envshed is hosted only, and self-hosting is on the roadmap with no date. If you must run the secrets store yourself, check tools that document self-hosting.