Local secrets manager that injects encrypted credentials into commands while sanitizing output returned to AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Secretctl.
Stop pasting API keys into AI chat.
When you paste sk-proj-xxx into Claude Code, that secret is now in your conversation history, Anthropic's logs, and potentially exposed to prompt injection attacks.
secretctl fixes this. Your AI gets command results, never secret values.

Every day, developers paste secrets into AI coding assistants:
This is a security incident waiting to happen.
secretctl injects secrets as environment variables. Your AI runs commands and sees results, but never sees the actual credentials.
Your secrets, your machine β No cloud sync, no third-party servers, no subscription fees. Your credentials stay on your device, period.
AI agents don't need plaintext β When Claude runs aws s3 ls, it needs the result, not your AWS keys. secretctl injects credentials directly into commandsβAI never sees them.
Defense in depth β AES-256-GCM encryption at rest, Argon2id key derivation, MCP policy controls, and automatic output sanitization. Multiple layers, not a single point of failure.
Download the latest release from GitHub Releases.
CLI:
secretctl-linux-amd64 β Linux (x86_64)secretctl-linux-arm64 β Linux (ARM64)secretctl-darwin-amd64 β macOS (Intel)secretctl-darwin-arm64 β macOS (Apple Silicon)secretctl-windows-amd64.exe β Windows (x86_64)Desktop App:
secretctl-desktop-macos β macOS (Universal)secretctl-desktop-linux β Linux (AppImage)secretctl-desktop-windows.exe β Windows (Installer)macOS may show a security warning for unsigned apps. To allow:
Windows SmartScreen may show a warning. To allow:
Inject secrets as environment variables without exposing them in your shell history:
Note: Output sanitization uses exact string matching. Encoded secrets (Base64, hex) or partial matches are not detected.
Export secrets for use with Docker, CI/CD, or other tools:
Import secrets from existing .env or JSON files:
Create secure random passwords:
Create encrypted backups and restore your vault:
Security: Backups are encrypted with AES-256-GCM using a fresh salt. The HMAC-SHA256 integrity check detects any tampering.
secretctl implements AI-Safe Access β a security principle where AI agents never receive plaintext secrets.
Unlike traditional secret managers that might expose credentials directly to AI, secretctl uses a fundamentally different approach:
This follows the "Access Without Exposure" philosophy used by industry leaders like 1Password and HashiCorp Vault.
secretctl includes an MCP server for secure integration with AI coding assistants like Claude Code:
Available MCP Tools:
secret_list β List secret keys with metadata (no values exposed)secret_exists β Check if a secret exists with metadatasecret_get_masked β Get masked value (e.g., ****WXYZ)secret_run β Execute commands with secrets as environment variablessecret_list_fields β List field names for multi-field secrets (no values)secret_get_field β Get non-sensitive field values onlysecret_run_with_bindings β Execute with predefined environment bindingsFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/forest6511-secretctl)<a href="https://allmcps.com/mcp/forest6511-secretctl"><img src="https://allmcps.com/api/badge/forest6511-secretctl?style=directory" alt="Secretctl on AllMCPs" /></a>