safevibe
v0.3.4
Published
Safevibe CLI - Simple personal secret vault for AI developers and amateur vibe coders
Maintainers
Readme
Safevibe CLI
Zero-knowledge secret management for AI developers. Ship agents, not API keys.
Installation
Install globally via npm:
npm install -g safevibeOr use with npx (no installation required):
npx safevibe initQuick Start
Initialize Safevibe:
safevibe initAuthenticate with Google OAuth (opens browser automatically)
Start the MCP server for Cursor integration:
safevibe startUse Cursor to manage secrets via MCP tools:
- "Store my OpenAI API key securely"
- "Get my database password"
- "What secrets do I have stored?"
- "Rotate my API key"
Commands
safevibe init
Initialize Safevibe with Google OAuth authentication.
Options:
--force- Overwrite existing configuration--backend-url <url>- Custom backend URL (default: https://safevibe-backend.vercel.app)
What it does:
- Sets up Google OAuth authentication
- Generates local encryption keys
- Configures backend connection
- Prepares MCP server integration
safevibe start
Start the MCP server for Cursor integration.
Options:
-d, --daemon- Run in daemon mode-p, --port <port>- Port number
What it does:
- Starts the Model Context Protocol server
- Enables Cursor integration
- Provides MCP tools for secret management
Cursor Integration
Safevibe integrates with Cursor via the Model Context Protocol (MCP). After running safevibe init, add the generated configuration to your Cursor settings:
- Open Cursor
- Press
Cmd+,(macOS) orCtrl+,(Windows/Linux) - Click "Open Settings (JSON)"
- Add the configuration shown after
safevibe init - Restart Cursor
Available MCP Tools
Once integrated, Cursor provides these tools for secret management:
save_key- Store encrypted secretsget_key- Retrieve encrypted secretslist_keys- List all your secretsrotate_key- Rotate secret versions
Usage Examples
Ask Cursor natural language questions:
"Store my OpenAI API key sk-abc123 securely"
"What's my database password?"
"List all my secrets"
"Rotate my GitHub token"Why This Approach?
The Safevibe CLI is intentionally minimal:
- 🎯 Focused: Only handles setup and server management
- 🔗 Integrated: All secret operations through Cursor's natural interface
- 🚀 Efficient: No context switching between CLI and editor
- 🤖 AI-Native: Designed for AI-assisted development workflows
Traditional CLI commands like save, get, list are replaced by natural language interactions with Cursor.
Security
- Zero-knowledge encryption: Secrets are encrypted locally before sending to the server
- End-to-end security: Safevibe never sees your secrets in plain text
- Google OAuth: Secure authentication with industry-standard OAuth 2.0
- Audit logs: Track all secret access and modifications
Requirements
- Node.js 20 or higher
- Google account for authentication
- Cursor editor for secret management
Configuration
Configuration is stored in ~/.safevibe/:
config.json- CLI configuration and authenticationkeys.json- Local encryption keys
Troubleshooting
Authentication Issues
# Re-initialize with force flag
safevibe init --forceConnection Issues
# Check backend connectivity
curl https://safevibe-backend.vercel.app/api/healthMCP Server Issues
# Restart the MCP server
safevibe startPermission Issues
# Check config directory permissions
ls -la ~/.safevibe/