Back to Home
bitwarden icon

mcp-server

Verified Safe

by bitwarden

Overview

Enables AI assistants to securely manage Bitwarden personal vaults and organization administration functions locally.

Installation

Run Command
npx -y @bitwarden/mcp-server

Environment Variables

  • BW_SESSION
  • BW_CLIENT_ID
  • BW_CLIENT_SECRET
  • BW_API_BASE_URL
  • BW_IDENTITY_URL
  • BW_ALLOWED_DIRECTORIES

Security Notes

The server demonstrates robust security practices. It includes extensive input validation using Zod schemas, command allowlisting, and safe command execution (`child_process.spawn` with `shell: false`) to prevent command injection. API endpoints are validated against an allowlist, and API parameters are sanitized. File path operations are highly secured with a multi-layered `validateFilePath` function that prevents path traversal, Unicode bypasses, and enforces an allowlist of allowed directories. Critical credentials are retrieved from environment variables. A strong warning emphasizes that the server is designed for local use only and must never be exposed publicly, shifting responsibility for secure deployment and AI data exposure to the user.

Similar Servers

Stats

Interest Score55
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars102
Forks8
Last Update2025-12-09

Tags

Password ManagerAI AssistantSecurityVault ManagementOrganization Administration