freshcrate
Home > MCP Servers > Noxkey

Noxkey

macOS secrets manager with Touch ID. Stores API keys in the Keychain, detects AI agents, delivers secrets via encrypted handoff. Free, open source, local-only. A dotenv alternative for developers.

Description

macOS secrets manager with Touch ID. Stores API keys in the Keychain, detects AI agents, delivers secrets via encrypted handoff. Free, open source, local-only. A dotenv alternative for developers.

README

NoxKey โ€” macOS secrets manager with Touch ID

NoxKey

macOS secrets manager with Touch ID. A secure dotenv alternative.
Stop putting API keys in .env files. Stop pasting secrets into AI chats.

MIT License macOS 14+ Homebrew

Website ยท Blog ยท Install ยท CLI Reference ยท vs dotenv ยท vs 1Password CLI


What is NoxKey?

NoxKey is a free, open-source macOS secrets manager that stores API keys, tokens, and credentials in the macOS Keychain (hardware-encrypted via Secure Enclave) and gates every access with Touch ID.

It replaces .env files with a developer CLI and native menu bar app. No cloud. No master password. No subscription. NoxKey detects AI coding agents (Claude Code, Cursor, Copilot) and delivers secrets through an encrypted handoff so the raw value never enters the agent's context window.

brew install no-box-dev/noxkey/noxkey

The problem

You have API keys in .env files. Plaintext. No authentication. Any process on your machine can read them โ€” including AI coding agents that treat your .env as just another project file.

12.8 million secrets were exposed in public GitHub repos in 2024. The .env pattern was designed in 2012, before AI agents existed. It's a liability.

How NoxKey fixes it

NoxKey stores secrets in the macOS Keychain (Secure Enclave, hardware-encrypted) and gates every access with Touch ID. No files on disk. No master password. No cloud.

# Store a secret (from clipboard โ€” never in shell history)
noxkey set myorg/project/STRIPE_KEY --clipboard

# Use it in your shell
eval "$(noxkey get myorg/project/STRIPE_KEY)"
# โ†’ Touch ID prompt โ†’ STRIPE_KEY loaded into environment

# List your secrets (names only, never values)
noxkey ls myorg/

When an AI agent calls noxkey get, NoxKey detects the agent by walking the process tree and returns an encrypted handoff โ€” the secret reaches the agent's environment but never enters its conversation context.

NoxKey demo

Install

# 1. Install via Homebrew
brew install no-box-dev/noxkey/noxkey

# 2. Launch the app (it lives in your menu bar)
open /Applications/NoxKey.app

# 3. Done โ€” the CLI works immediately
noxkey ls

Migrate from .env files

noxkey import myorg/project .env   # import all secrets
noxkey ls myorg/project/           # verify
rm .env                             # delete the liability

Why NoxKey

.env files 1Password CLI HashiCorp Vault NoxKey
Encryption None AES-256 (cloud) Server-side Secure Enclave (hardware)
Auth model None Master password Token-based Touch ID per access
AI agent safety None None None Process-tree detection
Network required No Yes (sync) Yes (server) No
Cost Free $36/yr Free (self-host) Free
Setup None Account + master pw Server infra brew install

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         Unix socket          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  noxkey CLI   โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ JSON โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ถ โ”‚  NoxKey.app      โ”‚
โ”‚  (Swift)      โ”‚                              โ”‚  (SwiftUI)       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                                       โ”‚
                                              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                              โ”‚ Agent Detection   โ”‚
                                              โ”‚ (process-tree     โ”‚
                                              โ”‚  walk, 20 levels) โ”‚
                                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                                       โ”‚
                              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                              โ”‚  Touch ID    โ”‚ โ”‚ macOS Keychain    โ”‚
                              โ”‚  (Secure     โ”‚โ—€โ”‚ (Data Protection) โ”‚
                              โ”‚   Enclave)   โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Menu bar app โ€” native SwiftUI. Manages the Keychain, handles Touch ID, detects AI agents via proc_pidinfo, serves requests over a Unix domain socket.

CLI โ€” Swift binary. Talks to the app over the socket. Every request is validated server-side โ€” the CLI can't bypass agent detection.

Agent detection โ€” walks the process tree from the requesting PID up to launchd, checking each ancestor against known agent signatures (claude, cursor, codex, windsurf, copilot). Full explanation โ†’

Key features

Security

  • Touch ID on every access โ€” not a password, your fingerprint
  • Secure Enclave storage โ€” decryption key never leaves the chip
  • Strict mode โ€” mark high-value secrets to always require Touch ID, even during sessions
  • Zero network โ€” no telemetry, no sync, no cloud. Secrets never leave your machine
  • DLP guard โ€” scans AI agent output for leaked secret values before they enter context

Developer experience

  • eval "$(noxkey get org/proj/KEY)" โ€” one command, any terminal
  • Session unlock โ€” noxkey unlock org/proj โ†’ one Touch ID, then batch access
  • Import/export โ€” noxkey import org/proj .env migrates everything in one step
  • Peek โ€” noxkey peek org/proj/KEY shows first 8 chars for verification
  • Organize โ€” noxkey organize reviews keys and adds missing metadata
  • Rotate โ€” noxkey rotate org/proj/KEY guides you through secret rotation

Password & login management

  • Generate โ€” create login credentials with auto-generated passwords from the quick-access panel
  • Organizations โ€” managed org list, linked emails auto-selected per org
  • Email aliases โ€” generate unique +alias variants per project (e.g. user+react-frontend-a1b2@domain)
  • Tabbed view โ€” All | Logins | Recovery Codes | Generate in both panel and main app
  • Step-through clipboard โ€” username copied first, click Next for password
  • Browser detection โ€” auto-detects project from active localhost tab (Chrome, Safari, Arc, Edge)

AI agent safety

  • Automatic detection โ€” Claude Code, Cursor, Codex, Windsurf, Copilot identified by process tree
  • Encrypted handoff โ€” agents get secrets in their environment, never in conversation context
  • Command blocking โ€” --raw, --copy, load, export, bundle blocked for agent callers
  • DLP scanning โ€” noxkey guard catches leaked values in agent output

CLI reference

Core

noxkey set <org/proj/KEY> --clipboard   Store from clipboard
noxkey get <org/proj/KEY>               Copy to clipboard (Touch ID)
noxkey peek <org/proj/KEY>              Show first 8 chars
noxkey rm  <org/proj/KEY>               Delete a secret
noxkey ls  [prefix]                     List key names (no values)
noxkey ls  --type=login --org=n1       Filter by type, org, or search
noxkey import <org/proj> <file>         Import from .env file
noxkey export <org/proj> <file>         Export to .env file

Sessions

noxkey unlock <org/proj> [--timeout=4h]   One Touch ID, then batch access
noxkey lock [org/proj]                     Lock prefix (or all)
noxkey session                             Show active sessions

Security

noxkey strict <org/proj/KEY>       Always require Touch ID (even during sessions)
noxkey unstrict <org/proj/KEY>     Remove strict mode
noxkey guard                       DLP scan stdin for leaked values
noxkey verify                      Print security verification commands
noxkey audit [N]                   Show last N audit log entries

Maintenance

noxkey rotate <org/proj/KEY>              Guided rotation workflow
noxkey organize [--dry-run] [--auto]      Review and fix metadata
noxkey scan [path] [--prefix=org/proj]    Find and import .env files
noxkey config <org/proj> --timeout=8h     Set session timeout per prefix
noxkey update                             Update app and/or CLI

Naming convention

org/project/KEY          โ€” project-specific secrets
shared/KEY               โ€” cross-project secrets (e.g. shared/CLOUDFLARE_API_TOKEN)

Security model

What Where
Secret values macOS Data Protection Keychain (Secure Enclave)
Metadata Separate Keychain item per secret
Session cache In-memory only, cleared on lock/quit
Socket User-only permissions (0600), peer UID verified
  • Secrets never leave the machine in plaintext
  • Agent callers receive AES-256-CBC encrypted payloads via self-deleting temp scripts
  • Sessions are bound to PID + process start time (prevents PID recycling attacks)
  • noxkey ls and noxkey peek never expose full values

Build from source

git clone https://github.com/No-Box-Dev/Noxkey.git
cd Noxkey
open NoxKey.xcodeproj
# Build and run (Cmd+R)

The CLI auto-installs to ~/.local/bin/noxkey when the app launches. Add ~/.local/bin to your PATH.

Requires macOS 14+ and Xcode 15+.

Blog

Deep dives into how NoxKey works and why:

FAQ

Is NoxKey free? Yes. MIT-licensed, open source, no account, no subscription, no cloud.

How is NoxKey different from 1Password CLI? NoxKey is local-only (no cloud, no account), free, and includes AI agent detection with encrypted handoff. Full comparison.

How is NoxKey different from dotenv? dotenv stores secrets as plaintext files with zero authentication. NoxKey stores them in the hardware-encrypted Keychain with Touch ID. Full comparison.

Does NoxKey work on Linux or Windows? No. NoxKey is macOS only โ€” it depends on the macOS Keychain and Touch ID. For cross-platform needs, consider 1Password CLI or HashiCorp Vault.

Does NoxKey send data to the cloud? No. Zero outbound network connections. Verifiable via macOS network monitoring.

How does NoxKey detect AI agents? It walks the macOS process tree when a secret is requested. If an AI agent is in the calling chain, the secret is delivered through an encrypted, self-deleting temp script instead of as a raw value. Technical deep-dive.

License

MIT โ€” Copyright (c) 2024-2026 No-Box-Dev

Release History

VersionChangesUrgencyDate
v0.9.60## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.60/NoxKey-0.9.60.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.60/NoxKey-0.9.60.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * Trust surface: integrity page + onboarding step + menu bar window (v0.9.60) by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/488 **Full Changelog**: https://github.com/No-BHigh4/19/2026
v0.9.57## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.57/NoxKey-0.9.57.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.57/NoxKey-0.9.57.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * UX pass: Emails window, Shortcuts capture, Add Secret polish (v0.9.57) by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/484 **Full Changelog**: https://github.com/No-Box-DeHigh4/18/2026
v0.9.43## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.43/NoxKey-0.9.43.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.43/NoxKey-0.9.43.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * Template chip: system accent blue selection (v0.9.43) by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/469 **Full Changelog**: https://github.com/No-Box-Dev/Noxkey/compare/High4/16/2026
v0.9.26## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.26/NoxKey-0.9.26.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.26/NoxKey-0.9.26.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * Unify Add Credential: inline generators + remembered scope by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/452 * Bump version to 0.9.26 by @JasperNoBoxDev in https://github.High4/15/2026
v0.9.24## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.24/NoxKey-0.9.24.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.24/NoxKey-0.9.24.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * Rewrite MCP instructions, remove AI copy button, fix double Touch ID by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/445 * Collapse credential types to secret + recoveryCodeHigh4/14/2026
v0.9.22## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.22/NoxKey-0.9.22.pkg) โ€” installs the app and registers the MCP server in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.22/NoxKey-0.9.22.dmg) โ€” drag NoxKey.app into /Applications. ## What's Changed * Simplify QuickAccess row icons by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/443 * Bump version to 0.9.22 by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/4High4/13/2026
v0.9.4## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.9.4/NoxKey-0.9.4.pkg) โ€” installs app + CLI + MCP in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.9.4/NoxKey-0.9.4.dmg) (manual CLI install required) ## What's Changed * Upgrade actions/checkout to v5 by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/401 * Log companion reveal failures + rename metadata vars by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/402 High4/11/2026
v0.8.56## Install **Recommended:** Download the [installer (.pkg)](https://releases.noxkey.ai/v0.8.56/NoxKey-0.8.56.pkg) โ€” installs app + CLI + MCP in one step. Alternative: [DMG](https://releases.noxkey.ai/v0.8.56/NoxKey-0.8.56.dmg) (manual CLI install required) Or via Homebrew: `brew install --cask no-box-dev/noxkey/noxkey` ## What's Changed * Skip bundle verification for debug builds by @JasperNoBoxDev in https://github.com/No-Box-Dev/Noxkey/pull/367 * Revert bundle verification until App Store High4/2/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

wp-ux-design-claude-skill๐Ÿ›  Enhance WordPress UX with skillful design practices focused on Core Web Vitals, mobile-first design, and seamless navigation.main@2026-04-21
zeniiYour machine's AI brain. One 20MB binary gives every tool, script, and cron job shared AI memory + 114 API routes. Desktop app, CLI, Telegram โ€” all connected. Rust-powered.app-v0.1.12
claude-code-statuslineโšก Real-time token, context & agent dashboard for Claude Code โ€” zero polling, pure stdinv1.1.0
openyakๅผ€ๆบ็‰›ๅญ Rust-first local coding-agent CLI with a local /v1/threads server, plugins/skills, and Python/TypeScript SDK alphas.main@2026-04-11
mockdHigh-performance, multi-protocol mock server. HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, SOAP in one binary.v0.6.5