Quantum keyring for AI agents — manage secrets, scan for leaks, rotate keys, and enforce policy directly from Cursor.
Install the q-ring CLI and MCP server globally:
# npm
npm install -g @i4ctime/q-ring
# Homebrew
brew install i4ctime/tap/qringVerify the MCP server is available:
qring-mcp --help| Rule | Purpose |
|---|---|
secret-hygiene |
Never hardcode secrets — always use q-ring |
qring-workflow |
Use q-ring MCP tools for all secret operations |
env-file-safety |
Warn about .env files, suggest importing into q-ring |
| Skill | Triggers On |
|---|---|
secret-management |
Mentions of secrets, API keys, tokens, credentials, .env files |
secret-scanning |
Requests to scan, lint, audit, or find leaked credentials |
secret-rotation |
Expired keys, rotation, validation, CI checks |
project-onboarding |
New project setup, manifests, environment detection |
| Agent | Purpose |
|---|---|
security-auditor |
Proactive security monitoring — audit trails, anomalies, governance |
secret-ops |
Day-to-day secret management — store, share, organize |
| Command | Action |
|---|---|
/qring:scan-secrets |
Scan codebase for hardcoded secrets, offer auto-fix |
/qring:health-check |
Full health report — decay, anomalies, audit integrity |
/qring:rotate-expired |
Find and rotate expired/stale credentials |
/qring:setup-project |
Initialize q-ring — manifest, imports, hooks |
/qring:teleport-secrets |
Encrypted cross-machine secret transfer |
| Event | Behavior |
|---|---|
afterFileEdit |
Scan edited files for hardcoded secrets |
sessionStart |
Load project context and note expired secrets |
The plugin connects to the qring-mcp server via stdio transport, providing access to all 44 q-ring MCP tools for secret management, scanning, rotation, auditing, and governance.
Install from the Cursor marketplace, or clone the plugin directory:
# From the quantum_ring repo
cp -r cursor-plugin/ ~/.cursor/plugins/qring/The plugin works out of the box with default settings. For project-specific configuration, create a .q-ring.json manifest in your project root:
{
"env": "dev",
"defaultEnv": "dev",
"branchMap": {
"main": "prod",
"develop": "dev"
},
"secrets": {
"DATABASE_URL": { "required": true, "description": "PostgreSQL connection string" },
"API_KEY": { "required": true, "provider": "openai" }
}
}Or run /qring:setup-project to create one interactively.
MIT — Part of the q-ring project.