Skip to content
Grok

secret safe env for Grok

io.github.irrenwill/secret-safe-env

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

client:Grok transport:stdio runtime:npm

Install secret safe env in Grok

.mcp.json (in your project root)

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

secret safe env in other clients