1Password MCP server
33 operations0 webhooks
Password manager for secure vaults, item storage, and team credential management.
Try 1Password with your agent
Connect 1Password, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in 1Password on my account, then run one read-only example and show me the result.
1Password tools and triggers
Tools are what your agent can do in 1Password through Corsair's MCP server. Triggers are the 1Password events a routine can start from.
Items
- ArchiveWrite
Archive an item (moves it out of the vault's active items; it stays restorable in 1Password). Service account only
items.archive
- CreateWrite
Create a new item in a vault
items.create
- Create AllWrite
Create several items in one vault in a single call; reports each item's result
items.createAll
- DeleteDestructive
Delete an item from a vault
items.delete
- Delete AllDestructive
Delete several items from one vault in a single call; reports each item's result
items.deleteAll
- GetRead-only
Get details of a vault item (e.g. login credentials, notes)
items.get
- Get AllRead-only
Get several items from one vault in a single call, with field values; reports each item found or not
items.getAll
- ListRead-only
List items inside a specific vault (active items by default; archived or all with a service account)
items.list
- UpdateWrite
Update details of an existing vault item
items.update
Vaults
- CreateWrite
Create a vault. The service account needs permission to create vaults. Service account only
vaults.create
- DeleteDestructive
Delete a vault. Service account only
vaults.delete
- GetRead-only
Get details of a specific vault by ID
vaults.get
- Get AccessRead-only
Get a vault with the users and groups that can access it and their permissions. Service account only
vaults.getAccess
- Grant Group AccessDestructive
Give groups access to a vault with the listed permissions. Service account only
vaults.grantGroupAccess
- ListRead-only
List all vaults the integration can access
vaults.list
- Revoke Group AccessDestructive
Remove a group's access to a vault. Service account only
vaults.revokeGroupAccess
- UpdateWrite
Rename a vault or change its description. Service account only
vaults.update
- Update Group AccessDestructive
Change the permissions groups have on vaults. Service account only
vaults.updateGroupAccess
Files
- AttachWrite
Attach a file to an item. Service account only
files.attach
- Create DocumentWrite
Create a DOCUMENT item holding one file. Service account only
files.createDocument
- DeleteDestructive
Remove a file attached to an item. Service account only
files.delete
- ListRead-only
List the files attached to an item, and a DOCUMENT item's file
files.list
- ReadRead-only
Read a file attached to an item, or a DOCUMENT item's file, as base64 or text
files.read
- Replace DocumentWrite
Replace the file of a DOCUMENT item. Service account only
files.replaceDocument
Secrets
- ResolveRead-only
Read one secret value by its secret reference (op://vault/item[/section]/field). Service account only
secrets.resolve
- Resolve AllRead-only
Read several secret values by secret reference in one call; reports each reference's value or error. Service account only
secrets.resolveAll
- Validate ReferenceRead-only
Check a secret reference's syntax (op://vault/item[/section]/field) without contacting 1Password
secrets.validateReference
Shares
- CreateDestructive
Create a share link that lets people outside the account open an item, with an expiry and optional one-time view. Service account only
shares.create
- Get Account PolicyRead-only
Get the account's item sharing policy (allowed expiries, view limits, recipient types). Service account only
shares.getAccountPolicy
- Validate RecipientsRead-only
Check which email addresses or domains an item share link may be sent to. Service account only
shares.validateRecipients
Environments
- Get VariablesRead-only
Read the variables (with values) of a 1Password Environment (beta in 1Password). Service account only
environments.getVariables
Groups
- GetRead-only
Get a group by ID, optionally with the vaults it can access. Service account only
groups.get
Passwords
- GenerateRead-only
Generate a random, PIN or memorable password locally; nothing is saved to 1Password
passwords.generate
Connect 1Password to Claude, ChatGPT or Cursor
- 1
Connect 1Password in Corsair
Add your 1Password API key once in Corsair. Corsair stores the credential encrypted and makes the 1Password API calls for your agent, so it never goes into a prompt or a config file. Connect 1Password
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs 1Password. On a ChatGPT personal plan, connect 1Password here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, 1Password's read and write operations run right away and its 8 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/onepassword, add the 1Password plugin, and connect with an API key. Then call methods like corsair.onepassword.api.environments.getVariables() from your app. Corsair syncs data per tenant.
Yes. 1Password requires an API key from your 1Password account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit 1Password, GitHub, Notion, Stripe, and the rest. Trigger 1Password from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for password manager for secure vaults, item storage, and team credential management. Common builds include sync jobs, admin tooling, and agents that call 1Password APIs from your backend. Local DB entities let you query synced 1Password records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per 1Password API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/onepassword in the open repo. When 1Password ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your 1Password data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store 1Password data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put 1Password on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 8 destructive 1Password operations. You can change a link's mode at hub.corsair.dev/me.