New advertisers: 50% off your first month with code FIRSTMONTHSee slots
rosostolato avatar

Lockbox

rosostolato/lockbox-mcp

Store an API key in a chosen destination while the agent never sees the value.

GitHub stars
2
tools
5
transport
STDIO
env var
1
last updated
Nov 14, 2026
View on GitHub

What it does

  • Creates and tracks credential requests with secret_store, secret_status, secret_cancel, and secret_revise; values are entered only in Lockbox's local window
  • Returns metadata and references only, using secret_status for polling and secret_destinations for the definition contract and saved destinations
  • Writes to files, local programs such as gcloud, or HTTPS endpoints, and requires Node 20+ with LOCKBOX_ENV_ALLOWED_ROOTS set
  • Designed for setting up API keys in .env files, secret managers, and deployment settings without exposing them to the model

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

secret_storeCreate a credential request. Returns non-sensitive metadata and a request id.

Create a credential request. Returns non-sensitive metadata and a request id.

No parameter schema in public metadata yet.

secret_statusPoll a request. Never returns credential material.

Poll a request. Never returns credential material.

No parameter schema in public metadata yet.

secret_cancelCancel a pending request; any entered value is destroyed.

Cancel a pending request; any entered value is destroyed.

No parameter schema in public metadata yet.

secret_reviseInvalidate an authorization and start a new one. Nothing is edited in place.

Invalidate an authorization and start a new one. Nothing is edited in place.

No parameter schema in public metadata yet.

secret_destinationsThe definition contract, worked examples, and the user's saved destinations.

The definition contract, worked examples, and the user's saved destinations.

No parameter schema in public metadata yet.

Configuration

LOCKBOX_ENV_ALLOWED_ROOTS

Folders that file destinations may write inside. Defaults to the current directory.

Readme

Lockbox

Let your AI agent set up API keys without ever seeing them.

CI License: Apache 2.0 Node 20+

You ask Claude, Cursor or any MCP client to "put the Stripe key in our .env" — or in Secret Manager, Vercel, your own API. The agent describes where it goes. You read that in Lockbox's own window and paste the value there. The key goes straight to the destination and never enters the chat, the prompt or the logs.

Lockbox's window: a red PRODUCTION band, 'Paste STRIPE_SECRET_KEY', the destination 'Production env · .env.production', a masked field confirming a live key, a Continue button and a closed 'See exactly what will be sent'


View the full README on GitHub

Details

Repository
github.com/rosostolato/lockbox-mcp
Categories
Security, DevOps & Cloud, Developer Tools
Package
lockbox-mcp
Transport
STDIO
Registry
MCP registry, active

Similar to Lockbox

More Security