BM

bitwarden/mcp-server

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

328 stars 45 forks 质量 85 趋势 22GPL-3.0

bitwarden/mcp-server 是从 https://github.com/bitwarden/mcp-server. 导入的 MCP 服务器候选

概览

bitwarden/mcp-server 是从 https://github.com/bitwarden/mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,通过两个互补接口为AI助手提供对Bitwarden密码管理器功能的安全访问:

  • Vault 管理和 CLI 工具通过 Bitwarden CLI
  • 组织管理通过Bitwarden公共API

[!警告] 该 MCP 服务器专为本地使用设计,绝不能公开托管或通过网络暴露。

当您授权 AI 助理访问该服务器时,您提供了以下能力:

  • 读取保险库中的物品,包括密码、安全笔记和敏感数据
  • 创建、修改和删除保险库物品
  • 访问组织秘密和管理功能
  • 通过AI响应公开凭证和保险库内容

你负有以下责任:

  • 确保该服务器仅运行在您的本地机器或自架环境中
  • 了解你向AI助手暴露了哪些数据
  • 意识到人工智能的回应可能无意中泄露敏感信息
  • 使用合适的人工智能提供商(考虑自托管或本地LLM处理敏感数据)
  • 绝不共享包含会话令牌或API凭证的配置文件

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Bitwarden MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with secure access to Bitwarden password manager functionality through two complementary interfaces:

  • Vault Management and CLI tools via Bitwarden CLI
  • Organization Administration via Bitwarden Public API

[!WARNING] This MCP server is designed exclusively for local use and must never be hosted publicly or exposed over a network.

When you grant an AI assistant access to this server, you are providing the ability to:

  • Read vault items including passwords, secure notes, and sensitive data
  • Create, modify, and delete vault items
  • Access organization secrets and administrative functions
  • Expose credentials and vault contents through AI responses

You are responsible for:

  • Ensuring this server runs only on your local machine or self-hosted environment
  • Understanding what data you’re exposing to your AI assistant
  • Being aware that AI responses may inadvertently reveal sensitive information
  • Using appropriate AI providers (consider self-hosted or local LLMs for sensitive data)
  • Never sharing configuration files containing session tokens or API credentials
  • Monitoring logs for unexpected activity

Never:

  • Deploy this server to cloud hosting, containers, or public servers
  • Share your MCP configuration files with others
  • Use this server over untrusted networks
  • Grant access to untrusted AI clients or services

Use this tool responsibly and at your own risk.

What is MCP?

The Model Context Protocol is an open standard that enables AI assistants to securely interact with local tools and services. This server exposes Bitwarden’s vault management and organization administration capabilities to MCP-compatible AI clients like Claude Desktop.

Features

Vault Management and CLI tools (CLI)

  • Session Management: Unlock vault via native OS password dialog, lock vault, sync with server, check status
  • Item Operations: List, retrieve, create, edit, delete, restore vault items
    • Supports logins, secure notes, cards, and identities
    • Advanced filtering by URL, folder, collection, or trash status
  • Folder Management: Organize items with folders
  • Attachments: Upload, download, and manage file attachments
  • Password Tools: Generate secure passwords and retrieve TOTP codes
  • Bitwarden Send: Create and manage secure ephemeral shares (text/file)
  • Organization Items: Move items to organizations, manage collections
  • Device Approval: Approve or deny new device login requests
  • Member Management: Confirm organization member registrations

Organization Administration (API)

  • Collections: Create, update, delete, and manage collection permissions
在 GitHub 查看完整 README

安装

npx -y @bitwarden/mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bitwarden": { "command": "npx", "args": ["-y", "@bitwarden/mcp-server"], "env": { "BW_SESSION": "your-session-token-here" } } } }