1password-mcp
v0.1.111Password MCP server for any MCP-compatible AI client (Claude Code, Codex, Antigravity, Cursor, etc.) - list vaults and items, get secrets, generate passwords…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
op_list_instances
List configured 1Password instances (service accounts or desktop). Tokens are never returned.
op_add_instance
Add or update a 1Password instance. Two auth modes: (1) 'serviceAccount' — provide token (ops_...). (2) 'desktop' — provide accountName (e.g. 'my.1password.com'); auth is delegated to the installed 1Password 8 desktop app via biometric unlock. Config is stored at ~/.config/1password-mcp/config.json with 0600 permissions.
| Parameter | Type | Description |
|---|---|---|
name * | string | Unique name (e.g., 'work', 'personal'). |
accountName | string | 1Password account (e.g. 'my.1password.com' or shorthand) — required for authType=desktop. Uses the logged-in 1Password 8 app. |
authType | string | 'serviceAccount' (default) or 'desktop'. |
description | string | Optional human-readable description. |
setDefault | boolean | Set this instance as the default (default: false). |
token | string | Service account token (ops_...) — required for authType=serviceAccount. |
op_remove_instance
Remove a 1Password instance by name. Cannot remove the last one.
| Parameter | Type | Description |
|---|---|---|
name * | string | Instance name to remove. |
op_list_vaults
List all vaults visible to the given instance's 1Password account.
| Parameter | Type | Description |
|---|---|---|
instance | string | Instance name. Uses default if omitted. |
op_list_items
List items in a vault. `vault` accepts a vault id or title (case-insensitive exact, then prefix).
| Parameter | Type | Description |
|---|---|---|
vault * | string | Vault id or title. |
instance | string | Instance name. Uses default if omitted. |
op_search_items
Search items by title across vaults. When the user asks for a specific credential by name (e.g. 'give me the wifi password', 'what's my GitHub login'), call this with `reveal: true` to get the password/credential values back in a single call — no follow-up op_get_item needed. If `vault` is omitted, searches every vault the account can see. When there are 1–5 matches with reveal=true, return all of them; the user already consented to seeing concealed values by asking for them.
| Parameter | Type | Description |
|---|---|---|
query * | string | Case-insensitive substring of the item title. |
instance | string | Instance name. Uses default if omitted. |
limit | number | Max results (default 25, or 5 when reveal=true to avoid fetching too many items). |
reveal | boolean | If true, fetch each match's full item and return concealed field values (passwords, TOTPs) in cleartext. Use this when the user is asking for a credential by name — one call gets search + retrieval… |
vault | string | Optional vault id or title to scope the search. |
op_get_item
Fetch a full item with all fields. By default concealed fields (passwords, TOTP) are redacted; set includeConcealed=true to return them in cleartext. `item` and `vault` accept ids or titles.
| Parameter | Type | Description |
|---|---|---|
item * | string | Item id or title. |
vault * | string | Vault id or title. |
includeConcealed | boolean | Return concealed values in cleartext (default: false). |
instance | string | Instance name. Uses default if omitted. |
op_get_secret
Resolve a 1Password secret reference (op://vault/item/field) and return the value.
| Parameter | Type | Description |
|---|---|---|
reference * | string | Secret reference like 'op://Private/GitHub/password'. |
instance | string | Instance name. Uses default if omitted. |
op_generate_password
Generate a password using 1Password's generator (Random / Memorable / Pin). Does not talk to the account.
| Parameter | Type | Description |
|---|---|---|
capitalize | boolean | Memorable only (default true). |
includeDigits | boolean | Random only (default true). |
includeSymbols | boolean | Random only (default true). |
length | number | Length for Random/Pin (default 20/8). |
type | string | 'Random' (default), 'Memorable', or 'Pin'. |
wordCount | number | Memorable only (default 5). |
op_create_item
Create a new item in a vault. Fields is an array of { title, type, value, sectionId? }. Type is Text | Concealed | Totp | Email | Url | Phone.
| Parameter | Type | Description |
|---|---|---|
title * | string | Item title. |
vault * | string | Vault id or title. |
category | string | Item category (default: Login). One of: Login, SecureNote, Password, ApiCredentials, Database, Server, Email, Identity, CreditCard, etc. |
fields | array | Field definitions: [{ title, type, value, sectionId? }]. |
instance | string | Instance name. Uses default if omitted. |
notes | string | Optional notes (stored as a Text field called 'notesPlain'). |
tags | array | |
websites | array |
op_update_item
Update any part of an existing item — title, category, fields, tags, websites, sections, or notes. Omitted parameters are preserved. Fields are patched by title (existing fields match case-insensitively; new fields require `type`). Tags, websites, and sections are REPLACED when passed.
| Parameter | Type | Description |
|---|---|---|
item * | string | Item id or title to update. |
vault * | string | Vault id or title. |
category | string | New category (rare). One of Login, SecureNote, Password, ApiCredentials, Database, Server, Email, Identity, CreditCard, etc. |
fields | array | Field patches: [{title, value, type?, sectionId?}]. Existing fields matched by title have their values replaced. New fields require `type` (Text | Concealed | Totp | Email | Url | Phone). |
instance | string | Instance name. Uses default if omitted. |
notes | string | Replace the notesPlain field. Omit to preserve existing notes. |
sections | array | Replace the section list. Each section is {title, id?}. |
tags | array | Replace the tag list. Omit to preserve existing tags; pass [] to clear. |
title | string | New title (optional). |
websites | array | Replace the website list. Each website is {url, label?, autofillBehavior?}. Omit to preserve existing websites. |
op_update_vault
Update a vault's title and/or description. Pass at least one of them.
| Parameter | Type | Description |
|---|---|---|
vault * | string | Vault id or title. |
description | string | New description (optional). |
instance | string | Instance name. Uses default if omitted. |
title | string | New title (optional). |
op_delete_item
Delete an item by vault + item reference.
| Parameter | Type | Description |
|---|---|---|
item * | string | Item id or title. |
vault * | string | Vault id or title. |
instance | string | Instance name. Uses default if omitted. |
op_create_vault
Create a new vault.
| Parameter | Type | Description |
|---|---|---|
title * | string | Vault title. |
description | string | Optional description. |
instance | string | Instance name. Uses default if omitted. |
op_delete_vault
Delete a vault by id or title.
| Parameter | Type | Description |
|---|---|---|
vault * | string | Vault id or title. |
instance | string | Instance name. Uses default if omitted. |