MCP server for 1Password service accounts
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by 1password.
vault_listList vaults the service account can access (id, name, description, type).
item_lookupSearch a vault by title substring; optional `limit` (max 200).
item_listList every item in a vault (id, title, category, tags, `updatedAt`) — never secrets.
item_getFull item: title, category, tags, notes, fields. Concealed values stay hidden unless `reveal: true`. Accepts `op://…` **or** `vaultId` + `itemId`.
password_readRead one field (default `password`) via `op://…` or ids. **Metadata-only unless `reveal: true`.** Prefer `op_run` to *use* a secret.
op_check_refValidate `op://vault/item/field` and return non-secret metadata only (vault, item, field). Never the value.
Give your AI assistant a locked door to 1Password — not a pile of passwords in the chat.
@takescake/1password-mcp is a community Model Context Protocol (MCP) server. It lets Claude, Cursor, VS Code Copilot, OpenAI Codex, Gemini, and other MCP clients manage vaults and credentials through a 1Password Service Account.
Built on the MCP TypeScript SDK v2 with protocol negotiation for 2026-07-28 (and legacy clients). Secrets stay in 1Password; agents prefer op:// references and op_run so plaintext never has to land in the model transcript.
Not an official 1Password product. Community-built, Apache 2.0 licensed.
| You are… | You get… |
|---|---|
| Not deeply technical | A one-time setup: create a service account, paste the token into your AI app’s MCP settings, then ask in plain English (“list my automation vault”, “rotate the staging DB password”). |
| An agent / LLM | Fifteen typed tools, four workflow prompts, three browsable resources, and clear rules: prefer op_run + op:// over revealing secrets. |
| A developer / SRE | Full item CRUD, secure notes, password generation, vault allow-lists, Keychain token loading on macOS, and CI-friendly env config. |
password_read and item_get return metadata unless you opt in with reveal: true.op_run (the MCP equivalent of op run) — inject op://vault/item/field into a local command’s environment; plaintext is redacted from stdout/stderr and never logged back to the model.1password://… URIs (no secrets in resource payloads).Grouped the way agents and humans actually use them.
| Tool | What it does |
|---|---|
vault_list | List vaults the service account can access (id, name, description, type). |
item_lookup | Search a vault by title substring; optional limit (max 200). |
item_list | List every item in a vault (id, title, category, tags, updatedAt) — never secrets. |
| Tool | What it does |
|---|---|
item_get | Full item: title, category, tags, notes, fields. Concealed values stay hidden unless reveal: true. Accepts op://… or vaultId + itemId. |
password_read | Read one field (default password) via op://… or ids. Metadata-only unless reveal: true. Prefer op_run to use a secret. |
op_check_ref | Validate op://vault/item/field and return non-secret metadata only (vault, item, field). Never the value. |
| Tool | What it does |
|---|---|
password_create | Create a Login or Password item (username, URL, tags, notes). returnSecret defaults to false. |
note_create | Create a Secure Note with optional tags and custom fields. |
password_update | Rotate a password / concealed field (creates the field if missing). |
item_edit | Update title, notes (empty string clears), tags, URL; upsert or remove fields. Unreferenced fields stay untouched. |
password_generate | Cryptographically secure random password (length 8–128; symbols/numbers/uppercase toggles). |
password_generate_memorable | Memorable passphrase from a ~500-word list (word count, separator, number/symbol suffixes). |
| Tool | What it does |
|---|---|
op_run | Run a local command (command or argv) with env vars. Values matching op://… are resolved into the child process only; resolved secrets are redacted from returned output. Optional cwd, shell, timeout_ms, stdin. |
| Tool | What it does |
|---|---|
item_archive | Move an item to the archive (hidden from normal views). |
item_delete | Permanently delete an item — cannot be undone. |
| Prompt | When to use it |
|---|---|
generate-secure-password | Generate (random or memorable) and optionally store — without dumping the password into chat. |
credential-rotation | Find → verify access → generate → update → confirm op:// reference. |
vault-audit | Inventory a vault by category; flag duplicates / oddities — never reveal secrets. |
secret-reference-helper | Build a paste-ready op://vault/item/field from names. |
| URI | Contents |
|---|---|
1password://config | Non-secret server config (name, version, log level, token source, Node version). |
1password://vaults | JSON list of accessible vaults. |
1password://vaults/{vaultId}/items | JSON item metadata for one vault (no secret values). |
You need two things:
Automation or CI vault — not your personal banking vault).Add this to your MCP config (exact file depends on the app):
Restart the app, then try: “List my 1Password vaults.”
Store the token in Keychain, then point the server at it:
Token resolution order: CLI (--service-account-token / --token) → OP_SERVICE_ACCOUNT_TOKEN → macOS Keychain. OP_KEYCHAIN_ACCOUNT is optional when the service name alone is unique.
Option A — token in config:
Option B (recommended) — config only names the env var:
Set OP_SERVICE_ACCOUNT_TOKEN in your shell or CI. Note: codex mcp add ... --env OP_SERVICE_ACCOUNT_TOKEN=... writes the secret into Codex config; prefer env_vars when you can.
On macOS you can omit the token env and use OP_KEYCHAIN_SERVICE (+ optional OP_KEYCHAIN_ACCOUNT) instead.
op_run / op_check_ref to certain vaultsBy default those tools may resolve op:// references from any vault the service account can see. To allow-list vaults:
Names or IDs work. References outside the list are rejected before resolution. Same setting via --allowed-vaults.
Follow this order every time:
vault_list → item_lookup / item_list (metadata only).op_check_ref — never reveal just to see if a path exists.op_run and op://vault/item/field in env.password_read / item_get + reveal: true only when the human explicitly needs the value in chat.password_generate → password_update (keep returnSecret: false unless asked).item_archive over item_delete unless permanent removal is required.op_run sketchPrefer argv over a shell command string when you can — fewer quoting surprises.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/1password)<a href="https://allmcps.com/mcp/1password"><img src="https://allmcps.com/api/badge/1password?style=directory" alt="1password on AllMCPs" /></a>