OTPilot

io.github.OTPilot由 GitHub 帳號 OTPilot 發布v0.2.0更新於 Oct 24, 2026

Use your OTPilot accounts (passwords, 2FA codes) to sign in and run commands, without seeing them.

發布方自己的服務:QuickBooks Connector by Meridian

概覽

AI 產生的概覽

OTPilot 讓 AI 代理使用你儲存的密碼和 2FA 驗證碼登入網站並執行指令,而代理始終看不到這些機密。

可以做什麼
依名稱和網站列出代理可使用的帳號,並可附上理由申請更多帳號,由你在瀏覽器擴充功能中核准。使用帳號的使用者名稱、密碼和 2FA 登入網站,回傳 Playwright 工作階段狀態檔而非憑證。在注入機密(例如資料庫密碼或新的 2FA 驗證碼)的環境中執行指令,回傳的輸出會清除所有機密。查詢尚未處理的存取申請是否已回覆。
適用情境
當代理需要登入網站或執行需要憑證的指令,而你不想把機密貼進對話時適用。適合在自己的電腦或可信任伺服器上使用 Claude Code、Codex、Cursor 等代理的開發者。
執行需求
需要本機 Node.js 執行環境以透過 stdio 執行這個 npm 套件,以及免費的 OTPilot 帳號和 OTPilot 瀏覽器擴充功能來核准代理及其帳號。瀏覽器登入需要已安裝的 Google Chrome 或 Edge,或安裝 Playwright Chromium。沒有鑰匙圈的機器上,憑證會存放在本機設定檔中。
安裝前請注意
代理可憑你的憑證行事:能執行指令的代理自行決定指令內容,可能刻意試圖洩露機密,因此應限制可用帳號和指令或開啟每次詢問。獲准的帳號可被執行該機器的 root 使用者使用。工作階段檔案存放在本機目錄,應避免提交到 git。除本機中斷連線外,還需在擴充功能中撤銷授權。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OTPilot,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

OTPilot for AI agents (@otpilot/mcp)

Let Claude Code, Codex, Cursor or any MCP agent sign in to websites and run commands with your passwords and 2FA codes — without the agent ever seeing them. You choose which accounts each agent may use, in the OTPilot browser extension.

bash
npx -y @otpilot/mcp@latest connect
  1. It shows a verification code and opens a page to sign in to OTPilot (a free account works).
  2. In the extension, Agents shows the agent: approve it if the code matches.
  3. Allow it some accounts (Agents → + Add account), or let it ask for them as it works.

Claude Code plugin (the MCP server plus a skill that teaches Claude to use it):

/plugin install otpilot --marketplace OTPilot/OTPilot

(Before Claude Code 2.1.275: /plugin marketplace add OTPilot/OTPilot, then /plugin install otpilot@otpilot.)

then connect it once: npx -y @otpilot/mcp@latest connect --name "Claude Code".

Or add the server to your agent yourself (connect prints these for you):

Agent
Claude Codeclaude mcp add otpilot -- npx -y @otpilot/mcp@latest
Codex~/.codex/config.toml: [mcp_servers.otpilot] command = "npx" args = ["-y", "@otpilot/mcp@latest"]
Cursor~/.cursor/mcp.json: { "mcpServers": { "otpilot": { "command": "npx", "args": ["-y", "@otpilot/mcp@latest"] } } }

For Codex and other agents that read AGENTS.md, add a line so they reach for it: "For passwords, 2FA codes, API keys or any login, use the otpilot MCP tools (list_accounts, browser_login, run); never ask me to paste a secret."

Each agent is its own identity, approved on its own: connect Claude Code and Codex separately (connect --name Codex), and add --profile <name> as connect shows.

On a server or VPS

Run it where the agent runs — your laptop, a VPS, a container. On a server without a browser, skip the opener and open the printed link on any device signed in to OTPilot, then approve it in the extension if the codes match:

bash
npx -y @otpilot/mcp@latest connect --name VPS --no-opennpx -y @otpilot/mcp@latest --profile vps                 # what the agent runsnpx playwright install --with-deps chromium       # only for browser_login without Chrome

With no keychain (a bare Linux box) the credentials go to ~/.config/otpilot/mcp-<profile>.json (0600): the accounts you allow are opened on that machine, so connect only machines you trust — whoever has root there can use them.

Tools

ToolWhat the agent gets
list_accountsThe accounts it may use, by name and site
request_access(query, reason)Asks you for another account; you pick it in the extension
browser_login(account, url?)OTPilot signs in (username, password, 2FA — only on the account's own site) and returns a Playwright storageState file with the session
run(command, env)Runs the command with secrets in its environment ({ "PGPASSWORD": "Staging DB/password" }, …/totp for a fresh 2FA code); output comes back with every secret removed
check_request(request_id)Whether you answered a request that was still waiting

No tool returns a password, a 2FA code or any other value.

Security

  • The agent's own key. connect creates an ECDH P-256 keypair; the private key stays in your OS keychain. Each account you allow is a copy, holding only what you chose (just the 2FA code, the sign-in, or chosen fields), encrypted for that key in the extension. OTPilot's servers only see ciphertext.
  • Two approvals. Connecting an agent gives it nothing; each account is allowed per agent. The verification code is derived from the agent's public key on every side, so a swapped key shows a different code.
  • Limits you set: for a while or until revoked, "ask me every time", and "only with these commands": run then accepts only that program, called by name and resolved on the server's PATH (never from the working or temp directory), as a single command with no chaining or redirection — a guard against mistakes and simple tricks, not against an agent that can plant its own binary on your PATH.
  • Only over HTTPS (plain HTTP just for local hosts), and every secret is scrubbed from what comes back — before the output is cut, so none is left half-removed. A timeout kills the command and everything it started.
  • Only on the right site. browser_login fills only on pages the account's saved sites cover.
  • Activity and revoke in the extension's Agents view.
  • The honest limit: an agent that runs commands decides what they do and could try to reveal a secret on purpose. OTPilot scrubs secrets from what it returns; for sensitive accounts allow only the 2FA code, limit the commands, or turn on "ask me every time".

Commands

otpilot-mcp connect [--name "Claude Code"] [--profile p] [--no-open]otpilot-mcp status [--profile p]       # name, verification code, allowed accountsotpilot-mcp disconnect [--profile p]   # forget the credentials here (revoke it in the extension too)otpilot-mcp [serve] [--profile p]      # the MCP server (stdio) — what your agent runs

browser_login uses your installed Google Chrome (or Edge); without one, run npx playwright install chromium. Sessions are saved to .otpilot/ in the working directory: keep it out of git.

License: GPL-3.0. Source: github.com/OTPilot/OTPilot.

來源:mcp/README.md,提交 c38acff

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Oct 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Pilot 整合