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.

项目说明:⚠️ 此 MCP 服务器为概念验证,仅供教育用途。它利用1Password Python SDK安全地从您的 1Password 帐户中检索凭证,并通过MCP Python SDK将其提供给 Agentic AI 以供其运行。⚠️

快速入门

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 1Password Credential Retrieval Server:

npx -y @smithery/cli install @dkvdm/onepassword-mcp-server --client claude

先决条件

  • Python 3.11 或更高版本
  • uv (快速 Python 包安装程序): pip install uv
  • 安装软件包: uv sync
  • 在 1Password 中创建一个名为AI的保险库,并添加您想要使用的项目。
  • 创建一个服务帐户,并在保存要与 SDK 一起使用的项目的保管库中授予其适当的权限。
  • 配置你的服务帐户令牌,并配置客户端(例如 Claude Desktop)以连接到此服务器。将以下结构添加到客户端的配置中(例如claude_desktop_config.json ),并根据需要调整路径和环境变量:
// 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 } } } }
  • 启动 Claude 并尝试提示,例如“获取 ticktick.com 的 1Password 凭据”(基于项目名称)

使用 1Password 和 Browser-Use MCP 实现浏览器自动化

安装mcp-browser-use并配置两个 MCP 服务器:

// 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

概念验证服务器可以安全地从 1Password 库中检索凭据,并通过模型上下文协议 (MCP) 将其提供给 AI 代理,从而使 AI 助手能够使用存储的凭据执行自动登录等任务。

  1. 通过 Smithery 安装
    1. 先决条件
      1. 使用 1Password 和 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