MCP Server Studio
OS keychain secrets for AI coding agents, over MCP.
Registry name: io.github.I4cTime/q-ring
Add to claude_desktop_config.json:
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/[email protected]"
],
"env": {
"QRING_BACKEND": "<QRING_BACKEND>",
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>",
"QRING_FILE_BACKEND_PATH": "<QRING_FILE_BACKEND_PATH>",
"QRING_CONFIG_DIR": "<QRING_CONFIG_DIR>"
}
}
}
}Run in your terminal:
claude mcp add q-ring -e QRING_BACKEND='<QRING_BACKEND>' -e QRING_FILE_PASSPHRASE='<QRING_FILE_PASSPHRASE>' -e QRING_FILE_BACKEND_PATH='<QRING_FILE_BACKEND_PATH>' -e QRING_CONFIG_DIR='<QRING_CONFIG_DIR>' -- npx -y @i4ctime/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/[email protected]"
],
"env": {
"QRING_BACKEND": "<QRING_BACKEND>",
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>",
"QRING_FILE_BACKEND_PATH": "<QRING_FILE_BACKEND_PATH>",
"QRING_CONFIG_DIR": "<QRING_CONFIG_DIR>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"q-ring": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@i4ctime/[email protected]"
],
"env": {
"QRING_BACKEND": "<QRING_BACKEND>",
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>",
"QRING_FILE_BACKEND_PATH": "<QRING_FILE_BACKEND_PATH>",
"QRING_CONFIG_DIR": "<QRING_CONFIG_DIR>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/[email protected]"
],
"env": {
"QRING_BACKEND": "<QRING_BACKEND>",
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>",
"QRING_FILE_BACKEND_PATH": "<QRING_FILE_BACKEND_PATH>",
"QRING_CONFIG_DIR": "<QRING_CONFIG_DIR>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
QRING_BACKEND | No | Secret storage backend. Defaults to the OS keychain; set to "file" for headless hosts with no Secret Service (CI, containers). |
QRING_FILE_PASSPHRASE | No | Passphrase for the encrypted file backend (AES-256-GCM). Required only when QRING_BACKEND=file — without it the file backend fails closed. |
QRING_FILE_BACKEND_PATH | No | Custom path for the encrypted file store (default: ~/.config/q-ring/file-backend.enc). |
QRING_CONFIG_DIR | No | Directory for q-ring's registries — hooks, entanglement, approvals, canary webhooks, agent memory (default: ~/.config/q-ring). |