1Password Credential Retrieval
STDIOMCP server for securely retrieving credentials from 1Password using Python SDK.
MCP server for securely retrieving credentials from 1Password using Python SDK.
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. ⚠️
To install 1Password Credential Retrieval Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @dkvdm/onepassword-mcp-server --client claude
uv
(fast Python package installer): pip install uv
uv sync
AI
, and add the items you want to use.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 } } } }
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" } } } }