OS keychain secrets for AI coding agents, over MCP. Native vault storage (macOS Keychain, Linux Secret Service, Windows Credential Vault), policy-governed access, audit log — CLI + 44 MCP tools.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add q-ring --env QRING_FILE_PASSPHRASE='<QRING_FILE_PASSPHRASE>' -- npx -y @i4ctime/q-ring~/.codex/config.toml
[mcp_servers.q-ring]
command = "npx"
args = ["-y", "@i4ctime/q-ring"]
env = { QRING_FILE_PASSPHRASE = "<QRING_FILE_PASSPHRASE>" }
# codex mcp add q-ring --env QRING_FILE_PASSPHRASE='<QRING_FILE_PASSPHRASE>' -- npx -y @i4ctime/q-ring~/.cursor/mcp.json
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/q-ring"
],
"env": {
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"q-ring": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@i4ctime/q-ring"
],
"env": {
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/q-ring"
],
"env": {
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/q-ring"
],
"env": {
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"q-ring": {
"command": "npx",
"args": [
"-y",
"@i4ctime/q-ring"
],
"env": {
"QRING_FILE_PASSPHRASE": "<QRING_FILE_PASSPHRASE>"
}
}
}
}需要的环境变量
QRING_FILE_PASSPHRASE
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。