secret safe env for Cursor
io.github.irrenwill/secret-safe-env
Write secrets into .env without the agent ever seeing the value - Windows masked dialog (繁中 UI)
client:Cursor
transport:stdio
runtime:npm
Install secret safe env in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"secret-safe-env": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"secret-safe-env"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs