Onepassword MCP Server
by pulsemcpcom.pulsemcp/onepasswordv0.5.4
MCP server for interacting with 1Password via the CLI to read and manage credentials.
context tax
queued
security
queued
cold start
queued
freshness
Maintained40d ago
Install Onepassword MCP server
Install in Claude Code
claude mcp add onepassword -e OP_SERVICE_ACCOUNT_TOKEN='<op-service-account-token>' -- npx -y onepassword-mcp-serverInstall in Cursor
{
"mcpServers": {
"onepassword": {
"command": "npx",
"args": [
"-y",
"onepassword-mcp-server"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<op-service-account-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"onepassword": {
"command": "npx",
"args": [
"-y",
"onepassword-mcp-server"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<op-service-account-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"onepassword": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"onepassword-mcp-server"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<op-service-account-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"onepassword": {
"command": "npx",
"args": [
"-y",
"onepassword-mcp-server"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<op-service-account-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OP_SERVICE_ACCOUNT_TOKEN | yes | yes | Service account token for authentication with 1Password CLI. |
| ENABLED_TOOLGROUPS | — | — | Comma-separated tool groups to enable (readonly, write). |
| SKIP_HEALTH_CHECKS | — | — | Skip credential validation on server startup. |
| DANGEROUSLY_SKIP_ELICITATIONS | — | — | Bypass all credential approval prompts (exposes all secrets). |
| OP_ELICITATION_READ | — | — | Prompt for approval before revealing credentials. |
| OP_ELICITATION_WRITE | — | — | Prompt for approval before creating or sharing items. |
| OP_WHITELISTED_ITEMS | — | — | Comma-separated item titles or IDs that bypass read elicitation. |
Freshness
Maintained — last maintenance signal 40d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-30 · 40d ago · GitHub
Latest release
2025-07-03 · 15mo ago · GitHub · monorepo-latest-placeholder@0.0.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-17 · 4mo ago · official registry · v0.5.4
FAQ
›How do I install the Onepassword MCP server in Claude Code?
Run: claude mcp add onepassword -e OP_SERVICE_ACCOUNT_TOKEN='<op-service-account-token>' -- npx -y onepassword-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Onepassword require an API key?
Yes. It expects OP_SERVICE_ACCOUNT_TOKEN, of which 1 is a secret.
›Can I use Onepassword as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Onepassword in the official MCP registry?
Yes, as com.pulsemcp/onepassword.