onepassword-mcp-server
Retrieves credentials from a specified 1Password vault using a service account token, making them available to AI agents for authentication.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@onepassword-mcp-serverLog into amazon.com using my saved credentials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Project Note: ⚠️ This MCP server is a proof of concept and is intended for educational purposes only. It utilizes the 1Password Python SDK to securely retrieve credentials from your 1Password account and provides them via the MCP Python SDK to Agentic AI for use in its operations. ⚠️
Quick Start
Installing via Smithery
To install 1Password Credential Retrieval Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @dkvdm/onepassword-mcp-server --client claudePrerequisites
Python 3.11 or higher
uv(fast Python package installer):pip install uvInstall packages:
uv syncCreate a vault within 1Password named
AI, and add the items you want to use.Create a service account and give it the appropriate permissions in the vaults where the items you want to use with the SDK are saved.
Provision your service account token, and configure clients like Claude Desktop to connect to this server. Add the following structure to the client's configuration (e.g.,
claude_desktop_config.json), adjusting the path and environment variables as needed:
// Example for Claude Desktop config
{
"mcpServers": {
"1Password": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"onepassword-sdk",
"mcp",
"run",
"/your/dir/here/onepassword-mcp-server/server.py" // Change this path
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "INSERT_KEY_HERE" // Insert 1Password Service Account Token
}
}
}
}Launch Claude and try a prompt such as "Get 1Password credentials for ticktick.com" (based on item name)
Automate Browser with 1Password and Browser-Use MCP
Install mcp-browser-use and configure both MCP servers as such:
// Example for Claude Desktop config
{
"mcpServers": {
"1Password": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"onepassword-sdk",
"mcp",
"run",
"/your/dir/here/onepassword-mcp-server/server.py"
],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "INSERT_KEY_HERE"
}
},
"browser-use": {
"command": "uv",
"args": [
"--directory",
"/your/dir/here/mcp-browser-use",
"run",
"mcp-server-browser-use"
],
"env": {
"MCP_USE_OWN_BROWSER": "true",
"CHROME_CDP": "http://127.0.0.1:9222",
"ANTHROPIC_API_KEY": "INSERT_KEY_HERE",
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1",
"PYTHONUTF8": "1"
}
}
}
}Launch Claude and try a prompt such as "get 1Password credentials for ticktick.com and log into https://ticktick.com/signin"
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents and automation scripts to securely interact with self-hosted Vaultwarden instances through the Bitwarden CLI, automatically managing vault sessions and providing tools to read, create, update, and delete secrets programmatically.Last updated291MIT
- AlicenseAqualityCmaintenanceGives your AI agent a persistent browser identity with anti-detection, credential vault, and multi-persona support for automated web browsing, login, and signup.Last updated318MIT
- Alicense-qualityDmaintenanceZero-knowledge credential injection for AI agents. Your agent authenticates to websites and APIs without ever seeing a password, TOTP code, or API key.Last updated101MIT
- Alicense-qualityDmaintenanceEnables AI agents to securely fill web forms with credentials from SecureVault, keeping raw secrets hidden from the agent.Last updated8MIT
Related MCP Connectors
Encrypted secret store and rotation for autonomous agent credentials
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lwsinclair/onepassword-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server