Does the agent ever see my key?
No. It only sees the key's name and whether the write succeeded.
@offprompt
基本信息
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.



使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"offprompt": {
"command": "npx",
"args": [
"-y",
"offprompt",
"mcp"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
offprompt is an open-source (MIT) MCP server that keeps API keys out of your AI agent's context. When Claude Code, Cursor, Codex or any MCP client needs a secret, it asks offprompt. A page opens in your browser on 127.0.0.1, you type or paste the value there, and offprompt writes it straight into .env.local. The transcript, the model's context and the provider's logs only ever see the key's name.
Run npx offprompt init in your project (Node 22 or later). It detects your agents and adds the MCP server for them. To add it by hand, use:
{"mcpServers":{"offprompt":{"command":"npx","args":["-y","offprompt","mcp"]}}}
Then ask your agent to do something that needs a key, for example "add Stripe webhooks". It calls collect_secret, the page opens, and you fill it in.
collect_secret, await_secret and cancel_secret..env with several keys in one go.No. It only sees the key's name and whether the write succeeded.
In your project's `.env.local` (or the file you choose), the same place you'd put them by hand.
Any MCP client, including Claude Code, Cursor and Codex. Try it in the [playground](https://offprompt.dev/playground) or read the [docs](https://docs.offprompt.dev).

AI SEO tools for MCP clients — audit whether AI crawlers can read a website, validate JSON-LD and robots.txt, and generate llms.txt, AI-crawler-aware robots.txt, and JSON-LD schema without leaving the conversation.

Turn Perfex CRM into an AI-ready workspace. This MCP server exposes your full REST API to Claude, ChatGPT and any AI agent, so leads, invoices and tasks are one prompt away.

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.
评论