secret-drop
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SECRET_DROP_LOG | No | Where the audit log goes, or `off`. | ~/.secret-drop/log.jsonl |
| SECRET_DROP_OPEN | No | Set to `0` to not open a browser. The agent is then handed the page link to give you, e.g. on a remote or headless machine where you forward the port. | 1 |
| SECRET_DROP_PORT | No | A fixed port for the page. | random |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Secret drop moves secrets (API keys, passwords, tokens, pre-shared keys, one-time PINs) from the user into files and commands on this computer without them passing through the chat.
Never ask the user to paste or type a secret into the conversation, and never put a secret value in a tool argument, command or file yourself. Call request_secret and say where it goes:
destination "env": a KEY in a dotenv file (.env, .env.local …). Other lines are kept.
destination "file": replace a placeholder you have already written into a file (e.g. STRIPE_KEY in config.yaml), or write a whole file (a private key, a service-account JSON).
destination "command": a command that reads the secret from stdin (default) or from an environment variable, e.g. "gh secret set STRIPE_KEY", "firebase functions:secrets:set NAME --data-file=-", "npx wrangler secret put NAME". The secret is never put into the command line itself.
A page opens in the user's browser showing your reason and exactly where the secret will go. They paste it there and it's written. You get the status, never the value.
Paths are absolute and inside the user's home folder. If the status is "waiting", call wait_for_secret with the request_id (each call waits up to 55 s), or carry on with other work and check back.
Once it's delivered: don't read, cat, grep, print, log, echo or commit the value. Use check_secret to confirm it's set. If the result warns that the file isn't git-ignored, add it to .gitignore.
If the user declines, ask them how they'd like to go on. Don't fall back to asking for the secret in the chat.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| request_secretA | Have the user paste a secret (API key, password, token, pre-shared key, one-time PIN) into a local page, which writes it straight to where it's needed: a KEY in a .env file, a placeholder or a whole file, or a command's stdin. You never see the value; you get back whether it was delivered and where. Use this instead of asking for any secret in the chat. |
| wait_for_secretA | Wait for the user to answer a request_secret (up to 55 s per call) and return its status: waiting, delivered, declined, cancelled, expired or failed. Never returns the value. |
| check_secretA | Check, without reading it out, whether a secret is in place: whether a KEY is in a dotenv file and has a value, how many of a placeholder are left in a file, or whether a file exists. Also says whether git would pick the file up. Use this rather than reading the file. |
| list_secret_requestsA | Requests from this session that are waiting for the user, and recent ones with what happened. Metadata only. |
| cancel_secret_requestB | Withdraw a request that's still waiting (it disappears from the page), e.g. when you no longer need it. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool has a fairly distinct role: create a request, wait for it, check secret state, list requests, cancel a request. The only mild overlap is between wait_for_secret (blocking status of a specific request) and check_secret (whether a secret is in place), but the descriptions clearly separate these concerns.
All names follow a verb_noun pattern (request_secret, check_secret, list_secret_requests, cancel_secret_request). Minor deviation: wait_for_secret uses a preposition while others don't, and the object alternates between 'secret' and 'secret_requests', but the pattern remains legible.
Five tools map cleanly to the request lifecycle (request, wait, check, list, cancel) with no redundancy. Well-scoped for the server's purpose.
The request lifecycle is well covered: create, wait, cancel, list, and verify. Minor gap: no dedicated get-single-request tool, and no way to inspect a delivered request's destination after delivery beyond list metadata, but agents can work around this.