onepassword-agent-mcp
MCP server by gambadio Community
Lets AI agents use 1Password secrets through a local MCP server without returning plaintext to the agent. Also lets agents save copied passwords and API keys into 1Password. Built for people who want control over agent access to their credentials.
Install onepassword-agent-mcp
Built from the published package, never by AI.
claude mcp add onepassword-agent-mcp -- npx -y onepassword-agent-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"onepassword-agent-mcp": {
"args": [
"-y",
"onepassword-agent-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install onepassword-agent-mcp in Claude Desktop
{
"mcpServers": {
"onepassword-agent-mcp": {
"args": [
"-y",
"onepassword-agent-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"onepassword-agent-mcp": {
"args": [
"-y",
"onepassword-agent-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add onepassword-agent-mcp -- npx -y onepassword-agent-mcp{
"mcpServers": {
"onepassword-agent-mcp": {
"args": [
"-y",
"onepassword-agent-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install onepassword-agent-mcp in Antigravity CLI
gemini mcp add onepassword-agent-mcp npx -y onepassword-agent-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the onepassword-agent-mcp block.
About
The 1Password Agent MCP server runs locally and gives AI agents encrypted handles to approved 1Password fields. The server resolves the selected field and copies or pastes it on the local machine, so the plaintext is not returned to the agent. A local dashboard lets you choose which fields are approved and which websites they may be used on.
Agents can also save secrets copied in a browser or local app into 1Password, using metadata-only tool arguments. New item creation, clipboard capture, and automatic approval are off on a fresh installation and must be turned on in the dashboard. Users can optionally connect a scoped 1Password service account to avoid repeated desktop unlock prompts. The project is independent and not affiliated with or endorsed by 1Password.
Written from the project's README and checked against it.
Tools it gives your assistant
save_secret_from_clipboardSaves a copied password or API key to 1Password using metadata-only arguments.save_secret_itemSaves a secret value that is already in the assistant's context to 1Password.get_profile_dataLets agents read profile values, such as email or address, that the user entered in the dashboard.
What you need
- Node.js 20 or later
- 1Password CLI (op)
- A 1Password account with desktop integration or a scoped service account
- An MCP client that supports local stdio servers
Try asking
- Find the approved login for this website and paste the password into the field.
- Save the password I just copied as a login for example.com.
- Get my email address from my profile data for this signup form.
Good to know
- The server binds to loopback by default and is meant for the local computer.
- The clipboard tool reads the clipboard of the computer hosting the MCP server, not a remote browser's clipboard.
- Service accounts cannot access the built-in Personal, Private, or Employee vaults.
- Metadata such as titles, usernames, and URLs remains visible to the model.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to onepassword-agent-mcp
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
onepassword-agent-mcp: common questions
Does the agent see my 1Password passwords?
The source says agents receive encrypted handles and the server pastes or copies the selected field locally without returning its plaintext to the agent. Metadata such as titles and usernames remains visible to the model.
Is automatic approval on by default?
No. The source says the automatic approval option is off on a fresh installation and must be enabled in the dashboard or with the CLI.
Can I use it without the 1Password desktop app?
The source says you can authenticate with a scoped 1Password service account instead of desktop integration, granting read_items and write_items for saves.
How do I install onepassword-agent-mcp?
In Claude Code run claude mcp add onepassword-agent-mcp -- npx -y onepassword-agent-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is onepassword-agent-mcp the official server?
onepassword-agent-mcp is a community project by gambadio, not verified by a company domain.
Is onepassword-agent-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is onepassword-agent-mcp safe to use?
It scores 69 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to onepassword-agent-mcp?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does onepassword-agent-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
