An MCP server that integrates 1Password with AI agents, providing secure access to vaults and items with secrets redacted by default.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.ComSpecOP_CONNECT_HOST— connect-host http://127.0.0.1:8080 Localhost Connect API URL, required to stay on localhost for this POCOP_CONNECT_TOKEN— "<connect-token>" \OP_MCP_ACCOUNT— account - Account name or UUID, required in desktop modeOP_MCP_ACKNOWLEDGE_UNRESTRICTED_RUNNER— acknowledge-unrestricted-runner - Required only when disabling session approval; exact value: I_UNDERSTAND_THIS_ALLOWS_UNRESTRICTED_LOCAL_COMMAND_EXECUTIONOP_MCP_APPROVAL_REMEMBER_KEY_PATH— approval-remember-key-path ~/.onepassword-mcp/approval-grants.key Local 32-byte AES key file used to encrypt remembered approval grantsOP_MCP_APPROVAL_REMEMBER_STORE_PATH— approval-remember-store-path ~/.onepassword-mcp/approval-grants.enc.json Encrypted local approval grants file for the approval page's 24h remember checkboxOP_MCP_APPROVAL_REMEMBER_TTL_MS— approval-remember-ttl-ms 86400000 Lifetime for approvals remembered across MCP sessionsOP_MCP_AUDIT_LOG_PATH— audit-log-path ~/.onepassword-mcp/audit.jsonl Audit log pathOP_MCP_AUTH_MODE— auth-mode desktop desktop, service-account, or connectOP_MCP_CONNECT_TIMEOUT_MS— connect-timeout-ms 30000 Connect request timeoutOP_MCP_DIAGNOSTICSOP_MCP_ENABLE_DESTRUCTIVE_ACTIONS— enable-destructive-actions false Allow archive and delete operationsOP_MCP_ENABLE_PERMISSION_MUTATION— enable-permission-mutation false Allow vault permission changesOP_MCP_ENABLE_SCRIPT_RUNNER— enable-script-runner false Allow execution of allowlisted scriptsOP_MCP_ENABLE_SECRET_REVEAL— enable-secret-reveal false Allow plaintext secret revealOP_MCP_ENABLE_UNRESTRICTED_RUNNER— enable-unrestricted-runner false Allow the separate free-form shell command runnerOP_MCP_ENABLE_UNRESTRICTED_SCRIPT_RUNNER— enable-unrestricted-script-runner false Enable op_script_run free-form shell commands with 1Password injection after one local approval per MCP process; allowlists are ignoredOP_MCP_ENABLE_WRITES— enable-writes false Allow item and vault creation/updateOP_MCP_HTTP_ALLOWED_ORIGINS— http-allowed-origin Localhost origins for the current port Browser origins allowed for HTTP transport; strict Origin validation, repeatable flag, comma-separated envOP_MCP_HTTP_BEARER_TOKEN— "$(openssl rand -base64 32)" \OP_MCP_HTTP_HOST— http-host 127.0.0.1 HTTP bind addressOP_MCP_HTTP_MAX_SESSIONS— http-max-sessions 64 Maximum active HTTP MCP sessionsOP_MCP_HTTP_PATH— http-path /mcp HTTP path prefixOP_MCP_HTTP_PORT— http-port 17337 HTTP portOP_MCP_HTTP_REQUEST_TIMEOUT_MS— http-request-timeout-ms 30000 HTTP request timeoutOP_MCP_HTTP_REQUIRE_BEARER— http-require-bearer true when HTTP is enabled Require Authorization: BearerOP_MCP_HTTP_SESSION_IDLE_MS— http-session-idle-ms 900000 Idle HTTP session expiryOP_MCP_LOG_LEVEL— log-level info debug, info, warn, or errorOP_MCP_OP_CLI_AUTH_MODE— op-cli-auth-mode auto auto, desktop, manual-session, or service-accountOP_MCP_OP_CLI_PATH— op-cli-path op Path to the op binary; must be absolute when the script runner is enabledOP_MCP_SCRIPT_RUNNER_ALLOWLISTS— script-runner-allowlist - Absolute path to an allowlist file; repeatableOP_MCP_SCRIPT_RUNNER_ALLOWLIST_MANIFESTS— script-runner-allowlist-manifest - Absolute path to a manifest listing allowlist files; repeatableOP_MCP_SCRIPT_RUNNER_ROOTS— script-runner-root - Trusted workspace root; repeatableOP_MCP_SERVICE_ACCOUNT_TOKENOP_MCP_SMOKE_AUDIT_LOG_PATHOP_MCP_TEST_SECRETOP_MCP_TRANSPORT— transport stdio stdio or httpOP_MCP_UNRESTRICTED_RUNNER_APPROVAL_HOST— unrestricted-runner-approval-host 127.0.0.1 Local approval server bind host; localhost onlyOP_MCP_UNRESTRICTED_RUNNER_APPROVAL_PORT— unrestricted-runner-approval-port 0 Local approval server port; 0 picks a free portOP_MCP_UNRESTRICTED_RUNNER_APPROVAL_TTL_MS— unrestricted-runner-approval-ttl-ms 43200000 In-memory approval lifetimeOP_MCP_UNRESTRICTED_RUNNER_COMMAND_TIMEOUT_MS— unrestricted-runner-command-timeout-ms 600000 Free-form command timeoutOP_MCP_UNRESTRICTED_RUNNER_REQUIRE_SESSION_APPROVAL— unrestricted-runner-require-session-approval true Require local approval page before commands can runOP_MCP_UNRESTRICTED_RUNNER_ROOTS— unrestricted-runner-root - Root path eligible for unrestricted execution approval; repeatableOP_SERVICE_ACCOUNT_TOKEN— "": "<service-account-token>"[](https://m8ven.ai/mcp/kefapps-onepassword-mcp-codex-0tk1uf)