MCP server
1password
MCP server for 1Password service accounts — tools and resources for vaults and credentials
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 2.5.0
- Listing updated
- 5 days ago
About 1password
1password is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add 1password --env OP_SERVICE_ACCOUNT_TOKEN='<OP_SERVICE_ACCOUNT_TOKEN>' -- npx -y @takescake/1password-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"1password": {
"command": "npx",
"args": [
"-y",
"@takescake/1password-mcp"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<OP_SERVICE_ACCOUNT_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"1password": {
"command": "npx",
"args": [
"-y",
"@takescake/1password-mcp"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<OP_SERVICE_ACCOUNT_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"1password": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@takescake/1password-mcp"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<OP_SERVICE_ACCOUNT_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"1password": {
"command": "npx",
"args": [
"-y",
"@takescake/1password-mcp"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<OP_SERVICE_ACCOUNT_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"1password": {
"command": "npx",
"args": [
"-y",
"@takescake/1password-mcp"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "<OP_SERVICE_ACCOUNT_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
OP_SERVICE_ACCOUNT_TOKENThe Service Account Token from 1Password (required unless OP_KEYCHAIN_SERVICE is used on macOS)OP_KEYCHAIN_SERVICEmacOS only: Keychain service name to read the 1Password service account token from when OP_SERVICE_ACCOUNT_TOKEN is not setOP_KEYCHAIN_ACCOUNTmacOS only: Optional Keychain account name to narrow the lookup used with OP_KEYCHAIN_SERVICE
Pricing
Open source
1password FAQ
Is 1password free?
Yes. 1password is open source, so you can use and self-host it for free.
How do I add 1password to Claude Code?
Run this command in your terminal: claude mcp add 1password --env OP_SERVICE_ACCOUNT_TOKEN='<OP_SERVICE_ACCOUNT_TOKEN>' -- npx -y @takescake/1password-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.