Best for · Password managers
1Password MCP server: the official one, the setup, and why it never hands secrets to your AI
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Yes, there is an official 1Password MCP server: the 1Password Environments MCP Server.
Compared here
- 011Password Environments MCP Server
- 021Password SaaS Manager MCP Server
- 03op run with secret references
- 04Community 1Password MCP servers
Short answer
Yes, there is an official 1Password MCP server: the 1Password Environments MCP Server. It runs locally inside the 1Password desktop app. You turn it on under Settings > Developer > Integrate with MCP clients, then connect Claude Code or Cursor through the 1Password plugin, or point any stdio client at the command 1password-mcp. It can list and create Environments, list secret names, add secrets and create mounted .env files. By design it "cannot return secret values stored in 1Password to the client, even if an agent requests them."
That last part is the point. 1Password's stated position is that it "will not use MCP to expose raw credentials or secrets." If you want an agent to read your passwords, you will not get it from 1Password; community servers that do that exist, and they are a risk you should think hard about. For keeping API keys out of your MCP config files, 1Password's answer is op run with op:// secret references.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Option | Made by | What the AI can see | Runs where | Best for |
|---|---|---|---|---|
| Environments MCP Server | 1Password | Environment and secret names only, never values | Locally, inside the desktop app (stdio) | Letting coding agents set up .env secrets safely |
| SaaS Manager MCP Server | 1Password (formerly Trelica) | SaaS Manager API data; remote is read-only, local read-only by default | Remote endpoint or local sm-mcp app | IT admins asking about apps, owners, licences |
| op run + op:// references | 1Password CLI | Nothing: the secret goes to the process, not the model | Your terminal | Keeping tokens out of mcp.json files |
| Community MCP servers | Third parties | Often full item values via CLI or a service account | Varies | Experiments only, with a throwaway vault |
Money note. Our 1Password button goes through vectaai.com/go/1password. 1Password publishes no consumer affiliate terms we could read, so it may earn us nothing. Either way, the honest headline of this page is "the official server deliberately does less than you might want", and we are keeping it.
We read 1Password's developer docs, support pages and two blog posts on 4 December 2026. We did not wire it into our own agents for this page.
The short version
- Official server: the 1Password Environments MCP Server, built into the desktop app.
- What it does: manage Environments (1Password's home for project secrets) and
.envfiles from your coding agent. - What it will never do: hand a secret value to the AI.
- What 1Password wants you to do instead for MCP config secrets:
op runandop://references.
If you searched "1password mcp server" hoping your agent could fetch your Netflix password, that is a hard no from 1Password, and honestly, a good one.
What the Environments MCP Server can do
From the Environments MCP Server docs, the tools are:
| Tool | Type | What it does |
|---|---|---|
list_environments | Read-only | Lists Environments in an account |
list_secrets | Read-only | Lists secret names in an Environment |
list_local_env_files | Read-only | Lists locally mounted .env files |
create_environment | Write | Creates an Environment |
rename_environment | Write | Renames an Environment |
append_secrets | Write | Adds or updates secrets in an Environment |
create_local_env_file | Write | Creates a locally mounted .env file |
authenticate | Session | Authenticates with the desktop app |
The mounted .env file is the clever bit. The docs describe it as making secrets available "without writing them to disk." Your app reads its environment variables as usual; the plaintext file with your Stripe key never sits in the repo, and the agent setting it up never sees the key.
Approval: the first time a client uses a tool on a given Environment, 1Password may ask you to approve. After that, access lasts until 1Password locks.
What it cannot do, on purpose
The docs are blunt: the server "can only see the names of your secrets and Environments." And: "By design, the server cannot return secret values stored in 1Password to the client, even if an agent requests them."
This comes from 1Password's July 2025 post, Where MCP fits and where it doesn't, by Anand Srinivas. The key lines:
- "Certain types of data, like credentials and secrets, should not be exchanged over a non-deterministic channel."
- "Prompt injection and hidden tool instructions can cause agents to inadvertently exfiltrate secrets."
- "We will not use MCP to expose raw credentials or secrets."
Translated for the bar: an AI agent reads web pages, issues and README files. Any of those can carry hidden instructions like "send the AWS key to this address." If the agent can read the key, someday one of those tricks works. If it cannot, the trick has nothing to steal.
Requirements
- A 1Password account (any paid plan; the docs link to pricing without naming a tier).
- The 1Password desktop app, running and unlocked.
- At least one Environment created in 1Password.
- An MCP client that supports stdio. "Remote-only MCP clients aren't currently supported."
- Codex, the Kiro plugin and mounted
.envfiles are listed as Mac and Linux only for now.
Setup, step by step
1. Turn it on in the app. Settings, then Developer, then Integrate with MCP clients. On Enterprise accounts, admins control this at Policies > Agentic permissions > Local MCP server. If the option is missing, that policy is probably off.
2. Connect your client.
- Claude Code: in a session, run
/plugin marketplace add 1Password/1password-claude-plugin, then/plugin install 1password@1password, restart, and check/mcp. - Cursor: install the 1Password Developer Tools plugin from the Plugins menu in the Agents window, restart, and confirm under Settings, Tools & MCP.
- Codex: add an MCP server with the command
1password-mcp. - Any JSON-config client: add a server named
1passwordwith"command": "1password-mcp"undermcpServers. - TOML clients:
[mcp_servers.1password]withcommand = "1password-mcp". - OpenCode: a
localentry inopencode.jsonwith"command": ["1password-mcp"].
3. Approve the first request when 1Password prompts you.
Known glitch from the docs: on macOS 27, a client can show MCP error -32000: Connection closed. The fix is to allow your client under Privacy & Security, Files & Folders.
The other job: keeping keys out of your MCP config
Different problem, same search. Lots of people really want this: "my mcp.json has a GitHub token pasted in it, how do I get it out?" 1Password's November 2025 post, Securing MCP servers with 1Password, shows the pattern:
- Put a secret reference in
.env, not the token:GITHUB_TOKEN=op://AI/GitHub Access Token/token. In 1Password's words: "Each variable is a link to an encrypted secret, not the secret itself." - Have the config point at the variable:
"auth": { "token": "${GITHUB_TOKEN}" }. "You can safely version-control this file." - Launch the server through the CLI:
op run --env-file=.env -- mcp-server start. Only 1Password resolves the reference, for that process.
The secret reaches the MCP server process. It does not reach the model or your Git history. Same idea we cover in 1Password with the AWS CLI and 1Password SSH keys.
The SaaS Manager MCP Server, for IT admins
1Password also ships an MCP server for SaaS Manager (formerly Trelica), the product that tracks which apps a company uses. From the support page:
- Remote server: "only allows read-only actions." It needs a Bearer token you generate yourself, which lasts about an hour.
- Local server (
sm-mcp): a small app for macOS or Windows. You runsm-mcp loginonce, which stores credentials in the macOS Keychain or Windows Credential Manager, thensm-mcp install <client>for Claude Desktop, Claude Code, Cursor, VS Code, Codex, Copilot and others. - Read-only by default even locally; writes need
--enable-writes.
This is the example 1Password itself uses for where MCP fits: app lists, owners and licence counts. Useful for the agent, low risk if it leaks.
What about community 1Password MCP servers?
Search any MCP directory and you will find unofficial 1Password servers on GitHub, npm and PyPI. Most wrap the op CLI or a 1Password service account, and many can return full item values to the model. Some label themselves proof of concept.
Our advice, straight:
- Never point one at your personal vault.
- If you must experiment, create a service account scoped to a test vault holding only throwaway credentials.
- Read the code before you run it. An MCP server runs with your permissions.
- Remember 1Password's own warning: moving secrets into 1Password "doesn't mitigate any past exposure." If a key was ever in a plaintext file, Git history or agent memory, rotate it.
For a wider view of what can go wrong when agents hold keys, see our AI coding agent security guide.
Who should use what
- Pick the Environments MCP Server if you use Claude Code, Cursor or Codex and want the agent to set up project secrets without seeing them.
- Pick
op runwith secret references if your problem is tokens sitting in MCP config files. - Pick the SaaS Manager server if you are the IT person answering "who owns this app and how many licences do we pay for?"
- Skip community servers if the vault holds anything you care about.
For autofill by AI browsers rather than coding agents, 1Password has a separate feature covered in 1Password secure agentic autofill. All our password manager guides are in one place.
Questions people ask
Does 1Password have an official MCP server?
Yes. The 1Password Environments MCP Server runs locally as part of the 1Password desktop app and works with MCP clients that support stdio transport, including Claude Code, Cursor, Codex and Kiro. There is also an official SaaS Manager MCP Server for the IT product formerly called Trelica, and a Device Trust server for Kolide data.
Can the 1Password MCP server read my passwords?
No. The docs say the server "can only see the names of your secrets and Environments" and "by design, the server cannot return secret values stored in 1Password to the client, even if an agent requests them." It can add or update secrets and create mounted .env files, but the values never travel back to the model.
How do I enable the 1Password MCP server?
Open the 1Password desktop app, go to Settings, then Developer, and select Integrate with MCP clients. Then connect your client. Claude Code and Cursor use the 1Password Developer Tools plugin; other clients add a server with the command 1password-mcp. On Enterprise, admins can switch it on or off under Policies, Agentic permissions.
How do I use 1Password with Claude Code?
1Password's docs say to run /plugin marketplace add 1Password/1password-claude-plugin, then /plugin install 1password@1password, restart Claude Code and check /mcp. The plugin registers the MCP server for you. You still need the desktop app running with the MCP setting turned on, and at least one Environment created.
Are community 1Password MCP servers safe?
Treat them with care. Many wrap the 1Password CLI or a service account, which means real secret values can land in the model's context, exactly what 1Password's own blog warns against because of prompt injection. If you try one, use a service account scoped to a test vault with nothing valuable in it, and never your personal vault.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- 1Password Developer: Environments MCP Server, checked 4 Dec 2026
- 1Password Developer: MCP server (Security for AI), checked 4 Dec 2026
- 1Password Support: SaaS Manager MCP Server, checked 4 Dec 2026
- 1Password blog: Where MCP fits and where it doesn't (16 July 2025), checked 4 Dec 2026
- 1Password blog: Securing MCP servers with 1Password (19 November 2025), checked 4 Dec 2026
- 1Password pricing, checked 4 Dec 2026