1Password MCP Server

by dkvdm

Integrations

  • Securely retrieves credentials from a 1Password vault, allowing AI agents to access stored login information for various services based on item names.

  • Enables access to TickTick credentials stored in 1Password, which can be used to log into the TickTick service through browser automation.

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 claude

Prerequisites

  • Python 3.11 or higher
  • uv (fast Python package installer): pip install uv
  • Install packages: uv sync
  • Create 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" } } } }
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A proof-of-concept server that securely retrieves credentials from 1Password vaults and provides them to AI agents via Model Context Protocol (MCP), enabling AI assistants to use stored credentials for tasks like automated logins.

  1. Installing via Smithery
    1. Prerequisites
      1. Automate Browser with 1Password and Browser-Use MCP

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A personal MCP server for securely storing and accessing API keys across projects using the macOS Keychain, letting AI assistants and applications retrieve credentials through natural language.
          Last updated -
          10
          TypeScript
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server that enables AI agents to authenticate with and interact with Open eClass platform instances, supporting UoA's SSO authentication system for retrieving course information and performing basic platform operations.
          Last updated -
          4
          1
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          Provides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.
          Last updated -
          13
          Python
          MIT License
          • Linux
          • Apple
        • A
          security
          F
          license
          A
          quality
          An MCP server that allows AI assistants to interact with the ServiceTitan API, requiring client credentials for authentication.
          Last updated -
          454
          TypeScript

        View all related MCP servers

        ID: 0oufiq9qa2