# Secret Safe Env

> Secret Safe Env is an open-source MCP server. Write secrets into .env without the agent ever seeing the value - Windows masked dialog (繁中 UI). It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/irrenwill/secret-safe-env
- **MCP Registry name:** io.github.irrenwill/secret-safe-env
- **Listing updated:** 2026-11-13

## About

Write secrets into .env without the agent ever seeing the value - Windows masked dialog (繁中 UI)

## Install

### Claude Code (Terminal)

```sh
claude mcp add secret-safe-env -- npx -y secret-safe-env
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "secret-safe-env": {
      "command": "npx",
      "args": [
        "-y",
        "secret-safe-env"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "secret-safe-env": {
      "command": "npx",
      "args": [
        "-y",
        "secret-safe-env"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "secret-safe-env": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "secret-safe-env"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "secret-safe-env": {
      "command": "npx",
      "args": [
        "-y",
        "secret-safe-env"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "secret-safe-env": {
      "command": "npx",
      "args": [
        "-y",
        "secret-safe-env"
      ]
    }
  }
}
```

## FAQ

### Is Secret Safe Env free?

Yes. Secret Safe Env is open source, so you can use and self-host it for free.

### How do I add Secret Safe Env to Claude Code?

Run this command in your terminal: claude mcp add secret-safe-env -- npx -y secret-safe-env

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/secret-safe-env
