Open-source CLI that blocks risky npm, pnpm, and bun installs before they run.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add safeinstall -- npx -y safeinstall-cli~/.codex/config.toml
[mcp_servers.safeinstall]
command = "npx"
args = ["-y", "safeinstall-cli"]
# codex mcp add safeinstall -- npx -y safeinstall-cli~/.cursor/mcp.json
{
"mcpServers": {
"safeinstall": {
"command": "npx",
"args": [
"-y",
"safeinstall-cli"
]
}
}
}.vscode/mcp.json
{
"servers": {
"safeinstall": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"safeinstall-cli"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"safeinstall": {
"command": "npx",
"args": [
"-y",
"safeinstall-cli"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"safeinstall": {
"command": "npx",
"args": [
"-y",
"safeinstall-cli"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"safeinstall": {
"command": "npx",
"args": [
"-y",
"safeinstall-cli"
]
}
}
}