Ask the human for API keys in a browser page and write them to .env. The model only sees key names.
MCPpedia last refreshed this data
io.github.offprompt/offprompt is an MCP server that ask the human for API keys in a browser page and write them to .env. The model only sees key names. Its tool list has not been published yet over stdio and http, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-offprompt-offprompt": {
"args": [
"-y",
"offprompt"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Ask the human for API keys in a browser page and write them to .env. The model only sees key names.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked offprompt against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
System 1 decision models (Jev, Laya, Cua-S1) as brain for agents: Browser use, computer use, games and robotics
MCP Security Weekly
Get CVE alerts and security updates for io.github.offprompt/offprompt and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
offprompt lets a coding agent ask you for a secret and have it land where the project needs it, without the value passing through the model.
Agents need API keys. Paste one into the chat and it goes into the model's context, the transcript on disk and the provider's logs, and stays there. offprompt gives the agent another way to ask: a tool call that opens a page in your browser, from which the value goes straight into the file. The transcript only ever sees the key's name.
collect_secret with every key it needs, why it needs them, and
the file they go in, then waits inside the call.127.0.0.1 in your browser. It says which agent is asking, what for, and
which file it writes to. Each field checks its value as you type, paste or import it, and
links to where the key is made.When the agent runs in a cloud sandbox, it gives you a link to the page instead. The page reaches you through a Cloudflare tunnel, and your browser encrypts the values first, to a key only the sandbox holds.
The page itself can be tried at offprompt.dev/playground.
In a project's folder:
npx offprompt init
That puts the server in the project as tools/offprompt/mcp.mjs, one file that runs on node
alone, and declares it in the project config of each agent found on your machine. Commit those
files together with tools/offprompt/, and everyone on the project gets offprompt, as does every
cloud sandbox that clones it.
To have offprompt in every project you open instead, install it for yourself:
npx offprompt init -g
npx offprompt list # every agent, whether it was found, and how offprompt reaches it
npx offprompt remove # out of this project
npx offprompt remove -g # out of every agent that has it
offprompt runs on Node 22 or later. Installation covers
choosing agents with --agent, and updating.
offprompt is an MCP server, so any agent that speaks MCP can use it. init sets these up:
| Agent | In a project | With -g |
|---|---|---|
| Claude Code | .mcp.json | A plugin |
| Codex | .codex/config.toml | A plugin |
| Cursor | .cursor/mcp.json | A copy of the plugin in ~/.cursor/plugins/local/ |
| Pi | .pi/mcp-adapter.json, through pi-mcp-adapter | A server in Pi's agent directory |
| Every other agent add-mcp knows, such as Gemini CLI, VS Code, OpenCode, Goose, Kiro CLI, Windsurf and Zed | No | A server in its MCP config |
Claude Code asks once before it starts a server a project declares. Codex and Pi read a project's config only in a project you trust. Agents has each one in detail.
docs.offprompt.dev has the rest: what the agent can ask for, the page, every provider offprompt knows and the checks on its keys, the tools, cloud sandboxes and troubleshooting. offprompt.dev shows offprompt at work.
A value goes from your browser to offprompt to the file, and never through the model, the transcript, or a tool's arg