Skip to content
v0.11 · MCP-native · AGPL-3.0

q-ring — Quantum Keyring for AI Agents

q-ring — quantum keyring for AI agents

The first quantum-inspired keyring built for AI coding agents. Anchor secrets to your OS vault — never paste another API key into .env.

Install
$ pnpm add -g @i4ctime/q-ring
npm versionGitHub starsAGPL-3.0 licenseKo-fi
scroll

Trusted by AI-first builders

Built for the agent era

MCP Tools
44
+12 since v0.9
Quantum Features
24
+6 since v0.9
CLI Commands
9
groups
AI Editors
5
Cursor · Kiro · Claude · VSCode · Windsurf

Works everywhere

Drop into your AI editor of choice

MCP-native, hook-friendly, and CLI-first. q-ring slots into the agent toolchain you already use.

The honest comparison

Why q-ring instead of .env?

Other tools were built for humans. q-ring is the first secret store built so AI coding agents can rotate, decay, and audit credentials without ever touching a plaintext file.

Capabilityq-ring.env filesdotenv-vault1Password CLI
Anchored to OS keyringmacOS Keychain, Linux Secret Service, Windows Credential Vault
MCP-native (AI agents)Cursor / Claude / Kiro can read & rotate secrets
Quantum decay (auto-expire)
Per-environment isolation
Free + open source
AGPL-3.0
Audit log of agent reads
Zero cloud dependency
One-shot env injectionqring run -- node app.js
Pre/post-commit hooks

Comparison reflects features at v0.10. PRs to update this table are welcome.

Try it in your browser

One palette, every command.

Press K anywhere on this site to fuzzy-search every page, MCP tool, and CLI command. Hit Enter to copy, navigate, or open docs.

  • 44 MCP tools grouped by capability — pick one to copy its tool name into your editor.
  • 23 CLI examples across 9 groups — from qring set to qring teleport pack.
  • Keyboard-first — arrow keys to navigate, Enter to act, Esc to close.
Browse all MCP tools
~/quantum_ring · live preview

What ships in q-ring

Quantum Features

Twenty-three capabilities inspired by quantum physics — engineered for real-world secret management. Click any feature to peek at how it works.

Quick Start

Five commands. Your secrets are quantum-secured.

~ / terminal
# Store a secret (prompts securely if value is omitted)
$ qring set OPENAI_API_KEY sk-...

# Retrieve it anytime
$ qring get OPENAI_API_KEY

# List all keys (values are never shown)
$ qring list

# Generate a cryptographic secret and save it
$ qring generate--format api-key --prefix "sk-" --save MY_KEY

# Run a full health scan
$ qring health

Model Context Protocol

MCP Integration

44 tools for seamless AI agent integration. Pick a category to browse the tools, then drop the snippet into your editor.

ToolDescription
get_secretRetrieve with superposition collapse + observer logging
list_secretsList keys with quantum metadata
set_secretStore with optional TTL, env state, tags
delete_secretRemove a secret
has_secretBoolean check (respects decay)
export_secretsExport as .env/JSON with key and tag filters
import_dotenvParse and import secrets from .env content
check_projectValidate secrets against .q-ring.json manifest
env_generateGenerate .env from project manifest

Configuration

Drop in your MCP config

Same single binary, every host. Pick your editor and paste.

.cursor/mcp.json
{
  "mcpServers": {
    "q-ring": {
      "command": "qring-mcp"
    }
  }
}

Under the hood

Architecture

A modular core engine bridging CLI and MCP to your OS-native keyring. Hover any module to see what it does.

qring CLI
MCP Server
Core Engine
@napi-rs/keyring
OS Keyring

Background daemon

Agent Mode

Autonomous background daemon that guards your secrets 24/7 — rotates, audits, and alerts so you don't have to.

Continuous Monitoring
99.9%
uptime, last 30d
Auto-Rotation
0
manual rotations needed
Anomaly Detection
4
burst alerts, last 7d

Continuous Monitoring. Scans secret health at configurable intervals. Detects expiration, anomalies, and staleness in real time.

Auto-Rotation. Regenerates expired secrets via providers or quantum noise. Zero downtime, zero pages.

Anomaly Detection. Tracks access patterns and flags burst access, unusual hours, and suspicious behavior.

~/agent
$ qring agent --interval 60 --auto-rotate --verbose

Drop into Cursor

Cursor Plugin

Quantum secret management built into your IDE. Rules, skills, agents, commands, hooks, and the MCP connector — pre-wired to q-ring's 44 tools. Click any card for details.

~/install
# Install from the Cursor marketplace, or manually:
$ cp -r cursor-plugin/ ~/.cursor/plugins/qring/

Operator surface

Status Dashboard

Headline KPIs, secrets table, manifest gaps, policy posture, approvals, hooks, anomalies, and a filterable 24h audit feed — streaming live from 127.0.0.1 with qring status.

127.0.0.1:9876
Health Summary
12of 14
12 healthy2 stale0 expired
Environment
prodauto-detected · git/main
Access (24h)
Decay Timers
API_KEY
DB_PASS
STRIPE_KEY
Entanglement
API_KEYAPI_BACKUPDB_PASSDB_REPLICA
Anomalies

All clear

No suspicious access in the last 7 days.

Live SSE updates

Snapshots stream every 5s. Search input, sort order, and scroll position survive each tick — no lost typing.

KPI strip + 13 panels

Headline KPIs, then health, env, manifest, policy, secrets table, decay, superposition, entanglement, tunnels, approvals, hooks, agent memory, anomalies, and a filterable audit feed.

Fully local, never values

Self-contained HTML on 127.0.0.1. No dependencies, no cloud — and the page never renders secret values, only metadata.

~/terminal
# Launch the dashboard (auto-opens your browser)
$ qring status

# Custom port
$ qring status --port 4200

# Don't auto-open the browser
$ qring status --no-open

Common questions

Frequently asked

Everything you might want to know before adopting q-ring. If something isn't covered here, open an issue on GitHub — we update this list regularly.

Still curious? Open a questionand we'll add it.

AGPL-3.0 · MIT-spirit

Free, open, and yours — forever.

q-ring is licensed under AGPL-3.0. Use it on personal projects, in your startup, inside your enterprise — no asterisks. The only commitment we ask back: improvements stay open so the next builder benefits too.

Free forever

Every feature, every command, every MCP tool — no paywall, no premium tier, no upsell.

No telemetry

q-ring never phones home. The only outbound traffic is the provider call you explicitly request.

Local-first

Your secrets live in your OS keyring. The dashboard runs on 127.0.0.1. There is no cloud.

Want to support the work?Buy me a coffee on Ko-fi·Optional. Always optional.
Ready when you are

Stop leaking secrets.
Start shipping with confidence.

Three minutes to install, zero seconds of cloud setup. q-ring meets your AI agents where they already live — and your secrets never have to.

Free under AGPL-3.0. No accounts. No telemetry. No vendor lock-in.