1Password MCP Server
Published
At a glance
- Category
- Security & auth
- Hosted by the vendor
- https://www.1password.dev/environments/mcp-codex-server
- Watch out for
- Secrets that were stored in plaintext before migration should be rotated, because 1Password notes that moving them does not remove earlier exposure in Git history or agent memory.
1Password ships its MCP server inside the 1Password desktop app rather than as a separate package. Once you turn it on, the app puts a 1password-mcp command on your PATH, and any client that supports local stdio servers can launch it. It works with 1Password Developer Environments, which hold the secrets a project needs.
The design is deliberately narrow. The agent can see Environment names and secret names, add secrets and set up local .env mounts, but 1Password says the server never returns the secret values themselves. The desktop app asks for approval the first time a client touches a given Environment, and that approval lasts until 1Password locks.
There is no public source for the server binary. 1Password maintains plugins that wire it up for Claude Code, Cursor, Codex and Kiro, and the Codex and Kiro plugins are on GitHub.
How it connects
Your AI app
An assistant or agent that supports MCP
1Password MCP Server
Runs as
- Local process
- Remote (HTTP)
Gives the agent
- Authentication
- Browse Environments
- Manage Environments
- Secret names
- Local .env mounts
1Password
The data or system the tools act on
What it can do
- Authentication
- authenticate connects the client to the desktop app, which handles the approval prompt.
- Browse Environments
- list_environments lists the Developer Environments you can access. It is read-only.
- Manage Environments
- create_environment and rename_environment set up and rename Environments for a project.
- Secret names
- list_secrets shows the names of secrets in an Environment without their values, and append_secrets adds or updates secrets.
- Local .env mounts
- create_local_env_file creates a locally mounted .env file backed by an Environment, and list_local_env_files shows the existing mounts.
Setting it up
Install the 1Password desktop app, then go to Settings > Developer and turn on Integrate with MCP clients; if an admin has disabled it, the policy lives under Policies > Sharing and permissions > Agentic permissions > Local MCP server. In Claude Code, install the 1Password Developer Tools plugin from the 1Password marketplace, restart, and check /mcp. In Cursor, install the same plugin from the Plugins menu, restart, and look under Settings > Tools & MCP. For Codex or another stdio client, add a server whose command is 1password-mcp, for example {"mcpServers": {"1password": {"command": "1password-mcp"}}}, or [mcp_servers.1password] with command = "1password-mcp" in TOML. Test it by asking the client to list your Environments. On macOS 27, if the connection closes with MCP error -32000, enable the Data shared by 1Password setting for your client under System Settings > Privacy & Security > Files & Folders.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- List the secret names in a project's Environment to see what a new service is missing.
- Add a placeholder secret for an OpenAI API key so a teammate can fill in the value in 1Password.
- Create a local .env mount in the current project instead of committing a plaintext .env file.
- Move a project off plaintext .env files and into a 1Password Environment.
Limitations and things to watch
- Secrets that were stored in plaintext before migration should be rotated, because 1Password notes that moving them does not remove earlier exposure in Git history or agent memory.
- append_secrets adds or updates secrets, so an agent with an approved session can change what an Environment holds.
- Approval is granted per Environment and stays in effect until 1Password locks, so leaving the app open for hours gives the client continued access.
- Only clients that support local stdio servers work; remote-only MCP clients are not supported.
- Local .env files work only on Mac and Linux, and the Claude Code, Cursor and Kiro integrations are labelled beta.
Sources
Written from the project's own documentation, checked November 2026.
- 1password.dev /environments/mcp-codex-server
- github.com /1Password/1password-codex-plugin
- github.com /1Password/1password-kiro-plugin
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.